Commit Graph

2491 Commits

Author SHA1 Message Date
Thierry Crozat
037cdaefac I18N: Regenerate translations data file 2012-08-15 21:35:28 +01:00
Alyssa Milburn
c9f3d83c9e GUI: Fix out-of-bounds in new chooser. 2012-08-14 23:48:24 +02:00
Johannes Schickel
fee19db7ee GUI: Make normal disabled color of the modern theme darker.
This should fix bug #3395057 "GUI: Font-Background Color Contrast Problem in Modern Theme".
At the very least it will improve the contrast.
2012-08-12 19:38:57 +02:00
Johannes Schickel
da790e112c GUI: Create the builtin theme from scummclassic again.
The old builtin one actually was based on a unpublished version, which failed
with the current code. Oops.
2012-08-12 15:18:09 +02:00
Johannes Schickel
9ba145419f GUI: Mark parts of the grid based chooser layout code as HACK. 2012-08-12 15:16:27 +02:00
Johannes Schickel
7ea7a8ae7e I18N: Update POTFILES and rebuild the translations. 2012-08-12 14:58:16 +02:00
Johannes Schickel
e7cd238809 GUI: Remove left-over code from theme based fill color in thumbnail display. 2012-08-12 14:56:20 +02:00
Johannes Schickel
4f7c65af0e Merge pull request #260 from lordhoto/new-chooser.
New save/load chooser

Conflicts:
	gui/saveload.cpp
2012-08-12 14:49:28 +02:00
D G Turner
ab3b052c6f GUI: Fix possible un-initialised variable usage in SaveLoadChooser.
This was reported by valgrind, while looking at a different issue.
2012-08-12 00:19:44 +01:00
Johannes Schickel
b4196e48b1 GRAPHICS: Add a DPI parameter to loadTTFFont.
Will be used by WME.
2012-08-09 03:13:00 +02:00
Johannes Schickel
71daae7bbc GUI: Use "OK" instead of "Ok" in SavenameDialog. 2012-07-25 17:21:36 +02:00
Johannes Schickel
7d51907405 GUI: Add possibility to disable the grid based chooser via DISABLE_SAVELOADCHOOSER_GRID. 2012-07-24 23:49:50 +02:00
Johannes Schickel
ca225cc7e0 GUI: Strip a trailing whitespace. 2012-07-24 23:34:35 +02:00
Johannes Schickel
f006eddac5 GUI: Let SaveLoadChooser::getResultString return a const reference. 2012-07-24 23:32:17 +02:00
Johannes Schickel
bab992ab98 GUI: Remove unecessary explicit GUI namespace uses. 2012-07-24 23:27:59 +02:00
Johannes Schickel
8e791896b8 GUI: Remove an unnecessary empty line. 2012-07-24 23:26:47 +02:00
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
Willem Jan Palenstijn
b5feb0dcc7 CREDITS: Update dreamweb team 2012-07-20 21:56:54 +02:00
Eugene Sandulenko
6d18bddbb5 CREDITS: Credits for original sources 2012-07-20 14:52:39 -04:00
Thierry Crozat
093a48989a I18N: Regenerate translations data file 2012-07-15 14:13:33 +01:00
Thierry Crozat
856f932617 I18N: Regenerate translations data file 2012-07-13 21:47:17 +01:00
Thierry Crozat
1153133627 I18N: Regenerate translations data file 2012-07-09 12:40:38 +01: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
Thierry Crozat
d2db9c1253 I18N: Regenerate translations data file 2012-07-08 22:58:06 +01:00
Eugene Sandulenko
a4b0c0e2db I18N: Updated translations.dat 2012-07-08 22:26:08 +03:00
Thierry Crozat
2675311f25 I18N: Regenerate translations data file 2012-07-08 12:39:46 +01:00
Thierry Crozat
8b55dcf531 I18N: Regenerate translations data file 2012-07-07 01:26:25 +01:00
Einar Johan Trøan Sømåen
097c619551 CREDITS: Drop my middle initial to stay within the size-limit for AUTHORS, and add handle. 2012-07-04 02:27:39 +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
Thierry Crozat
c19df60092 I18N: Update German translation
One of the string was left untranslated in the last update. This adds
the translation for that string (provided by Lightkey).
2012-07-01 00:40:07 +01:00
Thierry Crozat
33c67caed1 I18N: Regenerate translation data file 2012-06-30 12:20:17 +01: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
Thierry Crozat
f8b8bd8c9b I18N: Update Hungarian translation from patch #3537638 2012-06-25 22:45:41 +01:00
Thierry Crozat
314f76503f I18N: Regenerate translations data file 2012-06-24 18:00:21 +01:00
Matthew Hoops
91efe792d5 Merge remote branch 'upstream/master' into pegasus 2012-06-24 09:37:53 -04: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
Matthew Hoops
625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +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
Matthew Hoops
e67ba769b3 Merge remote branch 'upstream/master' into pegasus 2012-05-28 17:00:50 -04:00
Thierry Crozat
792d1e6f6a I18N: Regenerate translation data file 2012-05-27 21:02:25 +01:00
Matthew Hoops
f1f6a82cd5 Merge remote branch 'upstream/master' into pegasus 2012-05-25 00:35:38 -04:00
Oleksiy Kurochko
97065c95e6 GUI: Fix bug with button pressed state 2012-05-07 09:54:32 +03:00
Matthew Hoops
e80d622fa5 Merge remote branch 'upstream/master' into pegasus 2012-05-04 23:32:29 -04: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
Matthew Hoops
9971e74c4c Merge remote branch 'upstream/master' into pegasus
Conflicts:
	base/plugins.cpp
	configure
2012-04-19 08:16:24 -04: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
Matthew Hoops
b6374a3103 Merge remote branch 'upstream/master' into pegasus 2012-04-02 10:07:45 -04: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
1e8eea4268 CREDITS: Add pegasus 2012-03-21 14:55:12 -04: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
Johannes Schickel
442bcb7d3e ALL: Fix some signed/unsigned comparison warnings. 2012-02-22 20:20:55 +01:00
athrxx
d9c05f7121 COMMON: add gui options for rendering modes
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-21 21:48:35 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Tarek Soliman
aa42d78658 KEYMAPPER: Remove automapping dead code 2012-02-21 08:20:40 -06:00
Willem Jan Palenstijn
2957321903 GUI: Rewrite AA rounded square renderer
This fixes bleeding of colours between different regions.
It also turns 'bevel' into an option that turns the stroke into a bevel,
and implements antialiased gradient-fills.
2012-02-20 22:17:28 +01:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman
3f6d549b0e KEYMAPPER: Move F7 and F8 handling to DefaultEventMapper 2012-02-20 06:49:22 -06:00
Thierry Crozat
f89bfcc3b6 I18N: Regenerate translations data file 2012-02-19 12:16:36 +00:00
Eugene Sandulenko
1030212aa2 I18N: Regenerate translations.dat 2012-02-16 13:10:27 +02:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Tarek Soliman
5cf932198e KEYMAPPER: Fix Action ctor args in most keymaps 2012-02-13 23:24:59 -06:00
Tarek Soliman
da4b03139d KEYMAPPER: Added Toggle FullScreen action 2012-02-04 19:53:57 -06:00
Johannes Schickel
8b172f0cef GUI: Put bitmap items in the on-screen draw queue when doing buffering.
This fixes bug #3482461 "GUI: X image on clear buttons might be vanishing".

I am afraid I can't really tell why this fixes the bug though.

This is a backport of a small part of MaximRussia's changes to the queueing
code. So thanks to him for this fix.
2012-02-03 19:15:09 +01:00
Eugene Sandulenko
2d6fda8c85 CREDITS: Added Daniel Balsom which is a stupid overlook 2012-01-31 21:32:17 +02:00
Johannes Schickel
453eeb496c GUI: Work around bug #3481395.
The bug in question is: "LAUNCHER: Can't quit from unsupported game dialog".
2012-01-30 23:00:16 +01:00
Thierry Crozat
88829b7ea3 I18N: Regenerate translations data file 2012-01-29 21:40:34 +00:00
Johannes Schickel
f41bc8bd98 GUI: Slight formatting fix. 2012-01-29 21:17:01 +01:00
Johannes Schickel
6895ea9ea1 GUI: Fix compilation with --disable-translation. 2012-01-29 19:18:36 +01:00
Johannes Schickel
00cc48f83d GUI: Add GNU FreeFont TTFs for use with our modern theme. 2012-01-29 16:26:20 +01:00
Johannes Schickel
b0dfd08ff9 GUI: Fix anti-aliased font drawing of checkbox/radio button texts.
Formerly the text background was not restored thus every time it got redrawn
the text got thicker.
2012-01-29 16:26:20 +01:00
Johannes Schickel
f63df3bf7b GRAPHICS/GUI: Implement charset mapping for TTF fonts.
The charsets used by the translations now need to have a "$(name).cp" file,
which contains an charset index => unicode mapping. Otherwise
create_translations will fail.
2012-01-29 16:26:20 +01:00
Johannes Schickel
9f3fbe1bd7 GRAPHICS/GUI: Implement kerning support for Font.
This adapts the related graphics code, which is the generic Font API and the
TTF font implementation.

It furthermore adapts the GUI to properly take care of kerning in text input
widgets.
2012-01-29 16:26:20 +01:00
Johannes Schickel
d21ae1aa40 GUI: Add support for loading TTF files with ISO-8859-1 charset. 2012-01-29 16:26:20 +01:00
Klaus Reimer
9ee0526541 CREDITS: Added Tom Frost as contributor to WebOS port. 2012-01-28 11:19:39 +01:00
Max Horn
f57b66e984 MACOSX: Replace use of a 10.4 only API by one available since 10.0 2012-01-14 20:13:50 +01:00
Matthew Hoops
e72201c6cc GUI: Make eraser.bmp a Windows v3 bitmap
We don't have proper support for v4 bitmaps
2012-01-08 20:40:27 -05:00
Tarek Soliman
37d77253cf KEYMAPPER: Add failsafe code for popping into Keymapper itself
Thanks LordHoto
2012-01-07 22:08:57 -06:00
Tarek Soliman
73160e54b4 KEYMAPPER: Only push/pop the gui keymap once per gui session
The removes a bit of waste when gui dialogs are opened.
Multiple gui keymaps were being pushed.
2012-01-07 20:48:49 -06:00
Johannes Schickel
050b8e3360 GUI: Rework how the default localized font is managed.
Now we set the default localized font to the "text_default" font of the
currently active theme and default to the big GUI font in case none is
specified properly.
2012-01-07 01:03:07 +01:00
Johannes Schickel
0d3e79cf77 GUI: Simplify font loading a bit more. 2012-01-07 00:35:26 +01:00
Johannes Schickel
47edab71e8 GUI: Do an case-insensitive filename comparison.
Should be a bit safer, in case there's files with different cases, which match
by chance.
2012-01-06 22:27:26 +01:00
Johannes Schickel
4531f0173e GUI: Slight cleanup for font/image loading. 2012-01-06 22:24:12 +01:00
Johannes Schickel
08b6f28d54 GRAPHICS: Rework BDF font code. 2012-01-06 15:38:29 +01:00
Thierry Crozat
654ff1ecb9 I18N: Regenerate translations data file 2012-01-03 21:20:53 +00:00
Strangerke
e2ded73d92 MISC: This is year 2012 2012-01-01 11:49:41 +01:00
Tarek Soliman
366a942a3a KEYMAPPER: Simplify calling getKeymap 2011-12-30 13:03:39 -06:00
Johannes Schickel
4a30fa8845 GUI: Update translation files. 2011-12-26 15:26:56 +01:00
Johannes Schickel
95cabb0ffd SCUMM: Add a difficulty selection dialog for Loom FM-Towns.
It is in spirit of the DOS version's selection dialog, but it has the
description above the buttons instead of below it.
2011-12-26 15:25:41 +01:00
Tarek Soliman
be0f8407b6 GUI: Handle adding clear buttons that don't exist in layouts
The buttons in the keymapper are dynamically generated and don't exist in
the layout; They have no name.
2011-12-13 08:37:18 -06:00
Tarek Soliman
c6e001a1f5 GUI: Move addClearButton() from options.cpp to widget.cpp
This is so it can be used outside options.cpp
2011-12-13 08:36:41 -06:00
Strangerke
82acd32853 CREDITS: Mark Cyx as retired 2011-12-12 22:04:09 +01:00
Alyssa Milburn
b017c9317b GUI: Fix and regenerate theme files for y==400 case. 2011-12-07 16:09:11 +01:00
Eugene Sandulenko
330916b356 GUI: Regenerated theme files for new arrow look 2011-12-07 14:04:31 +00:00
MaximRussia
ad4471f70c GUI: Improved pop up and scrollbar arrows look
Previous triangle drawing was all wrong, rewrote it from the scratch.
Added padding to drawsteps in stx files
2011-12-07 14:04:10 +00:00
Johannes Schickel
2362a3f689 GUI: Add new line to error string in debugger. 2011-12-05 23:00:34 +01:00
Johannes Schickel
bc0d9bd3a7 GUI: Simplify boolean parsing in our debugger. 2011-12-05 23:00:34 +01:00
Filippos Karapetis
f0fc910d28 COMMON: Fix styling 2011-12-05 21:24:36 +02:00
Filippos Karapetis
411892d848 COMMON: Handle boolean types in the debugger 2011-12-05 20:32:08 +02:00
Thierry Crozat
6fd2c58ee3 I18N: Update Swedish translation from patch #3443449 2011-11-27 21:20:55 +00:00
Thierry Crozat
f5e945c7d1 I18N: Update Hungarian translation from patch #3440606 2011-11-22 23:20:55 +00:00
Thierry Crozat
bc4397bf3e I18N: Update Czech translation from patch #3440467 2011-11-20 22:39:18 +00:00
Johannes Schickel
d206f591c9 GUI: Update translations by using "make update-translations". 2011-11-20 05:22:04 +01:00
Paul Gilbert
b0611f3189 M4: Removed the M4/MADS engine from trunk 2011-11-20 12:14:10 +11:00
Johannes Schickel
e8ee551e99 GUI: Disable speech volume slider in subtitle only mode. 2011-11-18 00:33:30 +01:00
Eugene Sandulenko
5420ad7619 Merge pull request #114 from tsoliman/keymapper2
KEYMAPPER: Keymapper improvements 2
2011-11-17 14:22:48 -08:00
Torbjörn Andersson
877d22652f CREDITS: Mark whoozle as retired
He announced on scummvm-devel that he's leaving.
2011-11-17 20:28:38 +01:00
Alyssa Milburn
8f60377097 CREDITS: Add myself for Composer. 2011-11-17 17:00:58 +01:00
Tarek Soliman
6523454db5 KEYMAPPER: Put the gui keymap pushing/popping back in GuiManager::runLoop
This because theoretically the GUI could be run without a dialog.
This also fixes the situations where the GUI keymap gets popped more times than pushed.

Thanks sev
2011-10-31 22:59:55 -05:00
Tarek Soliman
56b5c0ea9f KEYMAPPER: Make sure GuiManager only pops gui keymaps 2011-10-27 10:46:23 -05:00
Tarek Soliman
a5082ffa5d KEYMAPPER: Skip GUI keymap when displaying active keymap in keymapper dialog
This fixes a problem where opening the keymapper dialog would cause the current game
keymap to be displayed as the active keymap but then changing the keymap selection
back to it would cause the GUI keymap to be displayed as the active one. The GUI keymap
was indeed at the top of the stack but that's not the desired effect.

Also move the pushing and popping of the keymap to Dialog::Open/Close
Also constantify the GUI keymap name
2011-10-27 10:46:22 -05:00
Johannes Schickel
7022cdc82b GUI: Slight formatting fix. 2011-10-27 01:02:25 +02:00
Johannes Schickel
19be349a71 GUI: Fix search clear button when switching themes or resolution.
This only fixes the clear button of the launcher's search. For the other clear
buttons this is would be a bit more work since they are embedded in tabs.
2011-10-25 16:20:40 +02:00
Eugene Sandulenko
b2a2f76dd9 LAUNCHER: Fix MIDI override setting 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
724e6cb638 GUI: Show empty savepath as 'Default', not 'None' 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
fe4495cac0 LAUNCHER: Turned erase icon white 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
5a68e40054 GUI: Refactor clear buttons 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
2b6c2da831 GUI: Added clear button to paths 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
202cce30b3 LAUNCHER: Improved clear soundfont button 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
d99e855606 LAUNCHER: benefit from PicButton being derivative of Button 2011-10-25 14:56:04 +01:00
Eugene Sandulenko
b0fe2bbaf9 GUI: Made PicButtonWidget derivative of ButtonWidget 2011-10-25 14:56:04 +01:00
Eugene Sandulenko
25766500c0 LAUNCHER: Do not show clear image in classic theme 2011-10-25 14:56:03 +01:00
Thierry Crozat
e2e01dcd35 I18N: Regenerate translations data file 2011-10-24 20:59:09 +01:00
Johannes Schickel
c087f917dd GUI: Fix missing audio drivers in Edit Game dialog.
This is a regression from 77c65648b1.

Formerly the code used strtok to check for any audio related GUIO flag to be
present in _guioptions. Since strtok tokenizes the string this won't really
work. I changed it to use strpbrk, which searches a string for any character
from a set of characters (in our case flags). The code should now have the
same semantics as of before the above mentioned commit.

This also gets rid of copying the gui options into a char array and a strncpy
call.
2011-10-24 20:43:10 +02:00
Strangerke
9912d7b856 GUI: Add GUIO EGA Dithering option
This will be used to disable the EGA dithering option
2011-10-24 16:51:18 +02:00
Strangerke
9256652fcf GUI: in order to play it safe, re-enable the aspect checkbox if the gui options don't contain GUIO_NOASPECT.
Thanks lordHoto for pointing it
2011-10-24 13:36:52 +02:00
Eugene Sandulenko
5b3b73c523 GUI: Added icon to clear button. Reverted PNG support 2011-10-24 05:18:49 +01:00
Eugene Sandulenko
59474ca128 GUI: Replaced search icon with a better looking one.
Icons are by Yusuke Kamiyamane. http://p.yusukekamiyamane.com/
2011-10-23 23:44:14 +01:00
Eugene Sandulenko
4c08fccf58 GUI: Add support for PNG images in themes 2011-10-23 23:44:14 +01:00
Eugene Sandulenko
f1165b0b6e LAUNCHER: Do not show MIDI and MT32 tabs if game does not have MIDI 2011-10-23 23:44:14 +01:00
Strangerke
cfa42fee80 LAUNCHER: Add GUIO_NOASPECT to SCUMM engine 2011-10-23 21:45:02 +02:00
Johannes Schickel
3a196478c6 ALL: Reduce assignment of "" to Common::String.
When clearing an existant object clear() should be used.

When constructing objects (or using default values for parameters) the
constructor of String without any argument should be used.

This changes only a few instances I noticed while looking over some recent
commit logs.
2011-10-23 20:04:03 +02:00
Eugene Sandulenko
77c65648b1 AD: Swtich GUI options to a char array.
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.

Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
2011-10-23 17:53:13 +01:00
Thierry Crozat
2efcee5288 I18N: Regenerate translations data file 2011-10-23 15:25:49 +01:00
Eugene Sandulenko
2dea24a835 I18N: Regenerate translations.dat 2011-10-19 13:48:02 +01:00