Johannes Schickel
91196e5375
GUI: Also disable the switch-to-list button in the choosers, when the grid one isn't available.
2012-07-24 23:25:10 +02:00
Johannes Schickel
89b638128f
GUI: Rename LoadChooserThumbnailed to SaveLoadChooserGrid.
2012-07-24 23:24:17 +02:00
Johannes Schickel
90eb773c5d
GUI: Implement saving in the grid based save/load chooser.
2012-07-24 23:23:06 +02:00
Johannes Schickel
e37c0be0d9
GUI: Fix missing button background in grid based chooser.
...
Now the thumbnail button and the descriptions are sub widgets of the
container widget.
2012-07-09 02:19:58 +02:00
Johannes Schickel
0cf00ddfe2
GUI: Make container widget a bit more container like.
...
Now it is possible to add sub widgets to a ContainerWidget and allow for these
to get events too.
2012-07-09 02:18:22 +02:00
Johannes Schickel
049e61b445
GUI: Fix small memory leak in grid based load chooser.
2012-07-01 17:17:04 +02:00
Johannes Schickel
3256081b2b
GUI: Add page display to grid based load chooser.
2012-07-01 16:49:07 +02:00
Johannes Schickel
bd3d5fb8ff
GUI: Clean up save load chooser selection code.
2012-07-01 16:49:07 +02:00
Johannes Schickel
236db5ed87
GUI: Automatically switch to list based save/load chooser when changing resolution below 640x400.
2012-07-01 16:49:07 +02:00
Johannes Schickel
1c389e5510
GUI: Only use grid load dialog for 640x400 or bigger.
...
Formerly it was enabled for everything above 320x200, but resolutions below
640x400 feature not enough space.
2012-07-01 15:43:20 +02:00
Johannes Schickel
10bfb82d3b
GUI: Use a slightly bigger vertical spacing in the thumbnail load chooser.
2012-06-29 16:16:36 +02:00
Johannes Schickel
c1426f783d
GUI: Use a black rect when no thumbnail is available in the thumbnail load chooser.
2012-06-29 16:16:28 +02:00
Johannes Schickel
e2056bdfd9
GUI: Remember last save/load chooser selection.
2012-06-29 16:09:59 +02:00
Johannes Schickel
37fd9b7384
GUI: Fix memory leaks in LoadChooserThumbnailed::destroyButtons.
...
GuiObject::removeWidget only removes the widget from the widget list, but
doesn't delete it. Oops.
2012-06-29 15:55:46 +02:00
Johannes Schickel
d3e5763276
GUI: Allow the user to switch between list and thumbnail based load chooser.
2012-06-29 15:52:56 +02:00
Johannes Schickel
7860c5bfc9
GUI: Only update save list when the dialog opens in thumbnail load chooser.
2012-06-29 15:00:56 +02:00
Johannes Schickel
0db0b650e2
GUI: Fix copy&paste error affecting vertical spacing in thumbnail load chooser.
2012-06-29 14:58:33 +02:00
Johannes Schickel
0b5b58829c
GUI: Don't distribute vertical space between buttons in the thumbnail load chooser.
2012-06-29 14:57:54 +02:00
Johannes Schickel
d7db655c5b
GUI: Show additional meta data in the thumbnail load chooser via tooltip.
2012-06-20 03:42:32 +02:00
Johannes Schickel
80ae9d7d34
GUI: Allow tooltips to be changed after widget creation.
2012-06-20 03:31:50 +02:00
Johannes Schickel
72ea449431
GUI: Hook up the new load chooser for > 320x200 and engines which support thumbnails.
2012-06-15 23:03:18 +02:00
Johannes Schickel
b4882ce6bd
GUI: Implement a new load chooser, which displays a list of thumbnails.
2012-06-15 23:03:18 +02:00
Johannes Schickel
1aa5200bb8
GUI: Create an interface for save/load dialogs.
2012-06-15 23:03:02 +02:00
Johannes Schickel
62c66cdb9c
GUI: Fix include guard of saveload.h.
2012-06-14 03:17:33 +02:00
Johannes Schickel
e866dfd406
GUI: Refactor engine plugin access out of SaveLoadChooserImpl into SaveLoadChooser.
2012-06-14 03:13:49 +02:00
Johannes Schickel
27b8b7e9b6
GUI: Hide save/load chooser implementation.
2012-06-14 03:01:11 +02:00
Johannes Schickel
84ed361370
GUI: Remove unused SaveLoadChooser::setList.
2012-06-14 02:59:52 +02:00
Johannes Schickel
cebbc11dac
GUI: Allow Surfaces with abitrary RGB pixel formats to be used in PicButtonWidget and GraphicsWidget.
...
Only 1Bpp aka paletted surfaces are not supported.
2012-06-13 04:48:34 +02:00
Johannes Schickel
d5eb3e3c06
GUI: Allow querying of the pixel format used by ThemeEngine.
2012-06-13 04:32:11 +02:00
Johannes Schickel
13f9349457
GUI: Take advantage of Surface::fillRect in GraphicsWidget::setGfx.
2012-06-12 04:18:59 +02:00
Johannes Schickel
49fafb48a7
GUI: Refactor default savegame description creation.
...
Formerly the GMM, AGI and SCI duplicated the logic for USE_SAVEGAME_TIMESTAMP.
Now I added a method to SaveLoadChooser instead, which takes care of this. This
might not be the best placement of such a functionality, thus I added a TODO
which talks about moving it to a better place.
2012-06-10 05:04:59 +02:00
Johannes Schickel
7c5cf1b400
GUI: Add helper to SaveLoadChooser, which uses the currently active target.
...
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
15046a7529
GUI: Get rid of SaveLoadChooser::setSaveMode.
...
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Johannes Schickel
a401f0a19e
ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
...
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.
Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Thierry Crozat
792d1e6f6a
I18N: Regenerate translation data file
2012-05-27 21:02:25 +01:00
Oleksiy Kurochko
97065c95e6
GUI: Fix bug with button pressed state
2012-05-07 09:54:32 +03:00
Johannes Schickel
0c312f8753
GUI: Remove unecessary ";".
2012-05-03 18:43:09 +02:00
Oleksiy Kurochko
24a45beceb
GUI: Use pressed state in predictive dialog in keyboard mode.
...
This adds more visual feedback to the user.
2012-05-03 19:32:34 +03:00
Oleksiy Kurochko
e6c317a922
GUI: Implemented pressed state for buttons
2012-05-03 19:32:08 +03:00
Thierry Crozat
7332bc7475
I18N: Regenerate translations data file
2012-04-18 23:36:24 +01:00
Thierry Crozat
93f1586be8
I18N: Add translations for the Loom FM Towns proficiency level
...
Those are the official French, Spanish and Italian translations from the
DOS versions of the game (thanks to Simsaw for providing them).
2012-04-17 19:36:06 +01:00
Martin Böhm
0df36e3a73
GUI: Fixed scrollbar button highlighting and positioning.
...
Fixes bug #3493324 .
2012-03-29 18:43:08 +02:00
Johannes Schickel
b8065a4392
GUI: Move "I18N" tagged comment to matching strings.
...
The strings are not marked for translation, so I am not sure why the comments
are tagged with I18N though.
2012-03-29 02:23:44 +02:00
Johannes Schickel
388e04bb6d
GUI: Add TODO/FIXME to PredictiveDialog::handleTickle.
2012-03-29 02:12:32 +02:00
Johannes Schickel
a7ee1dc42b
GUI: Remove unnecessary goto in PredictiveDialog code.
2012-03-29 02:08:09 +02:00
Johannes Schickel
6ed2d15c44
GUI: Take advantage of Common::String::empty.
2012-03-29 02:07:02 +02:00
Johannes Schickel
7414544121
GUI: Constify some parameters/methods in PredictiveDialog.
2012-03-29 02:05:45 +02:00
Johannes Schickel
988c3fd6c5
GUI: Make some static strings in PredictiveDialog static + const.
2012-03-29 02:00:25 +02:00
Johannes Schickel
02e77dd7b2
GUI: Don't typedef Common::String in PredictiveDialog code.
2012-03-29 01:53:09 +02:00
Johannes Schickel
f3a19ea6aa
GUI: Get rid of "using namespace Common" in predictivedialog.cpp.
2012-03-29 01:50:52 +02:00