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
Johannes Schickel
15ff9380b5
GUI: Formatting fixes in the PredictiveDialog code.
2012-03-29 01:50:00 +02:00
D G Turner
371bc1ddc1
GUI: Fix for WinCE compile failure after predictive dialog changes.
...
This is probably due to a collision with WinCE toolchain system define,
so changing the enum from all capitalised to Camel Case constant style.
2012-03-25 23:29:19 +01:00
D G Turner
8b1a01b12d
GUI: Corrected fix for NDS compile failure...
...
Header needed to be in global, not GUI namespace.
2012-03-25 20:23:16 +01:00
Filippos Karapetis
570237ea51
GUI: Remove leftover code for the global dithering checkbox
2012-03-25 22:18:35 +03:00
D G Turner
9e93b8306d
GUI: Fix for NDS compile failure after predictive dialog changes.
2012-03-25 20:15:53 +01:00
Filippos Karapetis
346c1fe461
GUI: Change the undithering checkbox to be an engine-specific option
2012-03-25 18:51:23 +03:00
Paweł Kołodziejski
94081bfbfd
GUI: convert bitmap to make compatible
2012-03-25 12:44:20 +02:00
Oleksiy Kurochko
ec32ccb6d6
GUI: Move predictive dialog to common gui
2012-03-25 12:21:38 +03:00
Eugene Sandulenko
9b2471aeee
Merge pull request #211 from lordhoto/game-gui-options-v2
...
GUI: Game gui options
2012-03-25 01:38:46 -07:00
Thierry Crozat
5ae9c96fed
I18N: Update Czech translation from patch #3508096
2012-03-23 20:17:14 +00:00
Matthew Hoops
426c81a7a7
GRAPHICS: Rewrite ImageDecoder to have an improved API
...
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-03-20 01:06:47 +01:00
Filippos Karapetis
c84cd8dee8
GUI: Add per-engine and per-game options
2012-03-19 20:32:34 +01:00
Eugene Sandulenko
34198fda35
Merge pull request #203 from fingolfin/guio-cleanup
...
COMMON: GuiOptions cleanup
2012-03-17 03:51:27 -07:00
Eugene Sandulenko
56252909f5
Merge pull request #202 from tsoliman/keymapper-nonkey-inputs
...
KEYMAPPER: Add Gesture Support
2012-03-17 03:46:46 -07:00
Thierry Crozat
03be03bb47
I18N: Update Basque translation from patch #3499452
2012-03-14 20:02:17 +00:00
Christoph Mallon
e40ba4c135
JANITORIAL: Simply use *x instead of *x.get() on smart pointers.
2012-03-13 15:43:59 +01:00
Christoph Mallon
75efdd2d84
JANITORIAL: Replace (x ? false : true) by !(x).
2012-03-13 15:43:36 +01:00
Thierry Crozat
d2d31de8cb
I18N: Update translation data file
2012-03-11 13:21:42 +00:00
Thierry Crozat
e08ab4e8aa
CREDITS: Add credits for Basque translation
2012-03-11 13:21:42 +00:00
Thierry Crozat
7cb82f5e12
I18N: Regenerate translations data file
2012-03-07 22:16:58 +00:00
Tarek Soliman
d12f21b31d
KEYMAPPER: Map non-key custom input events
...
This also makes the keymapper be in charge of keymapping logic
2012-03-02 20:48:50 -06:00
Max Horn
92d219715f
COMMON: Replace OptionsDialog::renderType2GUIO by API in rendermode.h
2012-02-29 11:43:21 +01:00
Max Horn
215b41b244
COMMON: Move RenderMode and GUIOptions functionality into separate files
2012-02-26 15:19:31 +01:00
Johannes Schickel
73df649fd6
GUI: Let edit text widgets use a non-bold (aka normal) font.
...
This change was done per request of _sev.
2012-02-25 18:52:47 +01:00
Torbjörn Andersson
6b17507b76
GUI: Fix "clear" buttons after theme switch (bug #3482459 )
...
Because the "clear" buttons are very different between themes (in
the Modern theme they have a graphical symbol, while in the Classic
theme they have a letter), they have to be removed and re-added
when reflowing the layout. This is patterned after how the
LauncherDialog class handles the larger changes in layout.
Removing widgets from a tab turned out to be trickier than I first
thought, so I had to move the removeWidget() method from Dialog to
GuiObject.
2012-02-24 22:20:50 +01:00
athrxx
3b574466fa
COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modes
...
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-24 18:09:38 +01:00