Commit Graph

2567 Commits

Author SHA1 Message Date
tcarey
af87e49f9e GUI: Update Roland GS description in MT-32 tab
Clarified the Roland GS settings. The current description is only partially accurate and confusing at best.
2013-05-11 19:20:38 +03:00
Thierry Crozat
4b387fae7a I18N: Fix missing quote in Ukrainian translation 2013-05-08 19:20:12 +01:00
Thierry Crozat
206e6613de I18N: Regenerate translations data file 2013-05-08 19:06:29 +01:00
Eugene Sandulenko
6d1e456c05 I18N: Updated translations.dat 2013-05-05 23:28:20 +03:00
Jordi Vilalta Prat
52838980fc I18N: Update Catalan translation 2013-05-05 14:31:31 +02:00
Thierry Crozat
83be4f7ebd I18N: Regenerate translations data file 2013-04-29 22:03:19 +01:00
Thierry Crozat
1108d202f9 I18N: Regenerate translations data file 2013-04-28 13:43:06 +01:00
Thierry Crozat
29cfadebe9 I18N: Update French translation 2013-04-26 23:57:00 +01:00
Thierry Crozat
08b2f90bd6 I18N: Update Hungarian translation (from patch #3611796) 2013-04-26 23:57:00 +01:00
Thierry Crozat
048d24660b I18N: Update Galician translation (from patch #3611744) 2013-04-24 18:50:19 +01:00
Einar Johan Trøan Sømåen
de1c0dd1f8 I18N: Update Norwegian (Bokmål)-translation 2013-04-24 14:07:29 +02:00
Eugene Sandulenko
c471a4120b GUI: Plug memory leak. CID 1003572 2013-04-24 01:19:03 +03:00
Eugene Sandulenko
92780a3320 GUI: Fix memory leak. CID 1003569 2013-04-24 01:16:31 +03:00
Eugene Sandulenko
d878779453 GUI: Fix previous commit 2013-04-21 16:49:48 +03:00
Eugene Sandulenko
b40430bc4b GUI: Add sanity check to config format. CID 1004153 2013-04-21 14:27:30 +03:00
Johannes Schickel
a41457e224 GUI: Always try to show as many entries as possible in ListWidget.
In case there were less items in the list than on a page, it was possible
that a "scrollTo" call scrolled items out of the view even though all could
be displayed. This caused odd behavior in the load dialog in T7G. There
the list contains 10 entries. In case the last one was loaded via the dialog,
the next time it was brought up again it showed the 9th entry at the top
of the view and effectively hiding all the others. It furthermore did not
show the scroll bar because all entries would have fit onto one page.

To prevent this odd behavior, a boundary check has been added to all places
where the scroll position is set. This has been taken from "scrollToCurrent"
which already tried to prevent this.

This fixes the second issue described in bug #3610960
"T7G - savegame glitches".
2013-04-16 23:25:04 +02:00
Thierry Crozat
fa7f1adf03 OSX: Fix memory leaks 2013-04-09 22:52:14 +01:00
Thierry Crozat
f1d59de3d5 OSX: Allow user to display hidden files in the browser dialog 2013-03-17 18:14:21 +00:00
Eugene Sandulenko
4c16ba6636 CREDITS: Added NoiZe 2013-03-04 10:54:02 +02:00
Strangerke
203aead811 HOPKINS: Update credits 2013-02-27 22:27:48 +01:00
Thierry Crozat
862c831511 I18N: Update Hungarian translation from patch #3604064 2013-02-16 18:07:38 +00:00
Thierry Crozat
a75f0b0693 I18N: Update translations from source code
This adds the translation strings from the pegasus engine.
2013-02-07 23:15:26 +00:00
Thierry Crozat
977eb2876c I18N: Update Czech translation from patch #3603683 2013-02-07 23:11:07 +00:00
Thierry Crozat
84bea855b4 I18N: Update Hungarian translation from patch #3603156 2013-02-04 13:28:14 +00:00
Thierry Crozat
a1c3a8c542 CREDITS: Fix display of credits with non ISO-8859-1 charsets
The credits.pl script now prints both the ASCII and ISO-8859-1 strings
in the credits.dat file when they are different. The About dialog then
chooses either one or the other depending on the current charset
used. This fixes bug #3539986
2013-02-04 13:17:18 +00:00
Thierry Crozat
ad0fccc0bb I18N: Update translation files from source code 2013-02-03 00:11:40 +00:00
Johannes Schickel
7dc15bc070 GUI: Center Launcher.Version in all themes.
Now that we actually use the textalign field of Launcher.Version the version
would be left aligned by default. This looks odd for the classic theme and
the low resolution version of the modern theme and is contrary to the old
"default" value, so I decided to center the string explicitly again.
2013-02-03 00:46:51 +01:00
Johannes Schickel
1115c2b323 GUI: Fix text alignment for the version in the launcher.
Formerly in LauncherDialog::reflowLayout an incorrect way to query the acutal
text alignment was used for the static text widget used for the ScummVM
version.
2013-02-03 00:43:32 +01:00
Johannes Schickel
d0e9ef7dc1 Merge pull request #306 from lordhoto/filechooser-hidden
GUI: Allow user to display hidden files in the browser dialog.
2013-01-28 07:14:40 -08:00
Johannes Schickel
0a3e00b307 GUI: Allow user to display hidden files in the browser dialog.
This implements feature request #3600774 "File browser: show hidden files".
2013-01-27 19:13:44 +01:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Johannes Schickel
94edb3409f Merge branch 'eriktorbjorn-fluidsynth-settings'
This is a manual merge of a slightly adapted pull request #296.
The changes made are:
- Each time the theme format changes, the version was increased
- default.inc has been regenerated in the same commit as the theme changes
2013-01-26 14:00:04 +01:00
Torbjörn Andersson
e4a77aff06 GUI: Move the FluidSynth reset button from Misc tab to bottom
This should make it clearer that Reset applies to all of the
FluidSynth settings, not just the Misc tab.
2013-01-26 13:53:43 +01:00
Torbjörn Andersson
10724365aa GUI: Misc FluidSynth-related cleanups. 2013-01-26 13:52:36 +01:00
Torbjörn Andersson
c780df5175 GUI: Add "Reset" button to FluidSynth settings dialog
This resets the FluidSynth settings to their default values.
2013-01-26 13:52:32 +01:00
Torbjörn Andersson
45c1296021 GUI: Swap Reverb and Chorus tabs in FluidSynth settings
Again, this is to be more like Qsynth.
2013-01-26 13:36:39 +01:00
Torbjörn Andersson
a188a43da6 GUI: Make the FluidSynth settings dialog a bit more like Qsynth
To help people familiar with Qsynth (I'm not, but it seems to be
one of the more polished FluidSynth front ends), use the same
presentation and terminology for the FluidSynth settings.

More to follow.
2013-01-26 13:36:39 +01:00
Torbjörn Andersson
681f81211f FLUIDSYNTH: Add separate dialog for FluidSynth settings
I don't really understand what these parameters do, or what the
sensible values are, so for now the sliders are limited only by
the allowed (or, in one case, "safe") values.
2013-01-26 13:36:37 +01:00
Strangerke
88add32e3b JANITORIAL: Update copyright year 2013-01-02 18:32:15 +01:00
Filippos Karapetis
2c51ae98c7 TOLTECS: Add credits for toltecs 2013-01-02 17:35:19 +02:00
Filippos Karapetis
3eae0e61e7 GUI: Improve the description of the Roland GS mode checkbox 2013-01-02 13:07:19 +02:00
Torbjörn Andersson
5b09c1c8e3 GUI: Don't allow changing disabled popup widgets with mouse wheel
This was another inconsistency between changing the widget by
clicking and changing it with the mouse wheel. Hopefully the last
one, though.
2012-12-27 10:37:02 +01:00
Torbjörn Andersson
ba182faeaf GUI: Notify when popup widget changes by mousewheel
This is consistent with the notification when the widget changes by
clicking. As far as I can tell, that notification was added shortly
before mouse wheel handling was added. It missing from the mouse
wheel handler was presumably just an oversight.
2012-12-27 10:30:52 +01:00
Torbjörn Andersson
85beaf6fed GUI: Change value by one on mouse wheel, not by one pixel
On file-grained sliders, changing the value by one pixel was
unpredictable because it wouldn't change by the same amount every
time. (And of course, some values were not possible to set.)

On course-grained sliders, changing the value by one pixel would
sometimes not change it at all, causing the slider to seem stuck.

Now the slider can be set to any value.
2012-12-27 10:13:48 +01:00
Torbjörn Andersson
61b25b9707 GUI: Redraw the popup widget when a the selection changes
Otherwise, it will look like the value hasn't changed until the
widget is redrawn for other reasons, e.g. by mouse-over.

Incidentally, does anyone know why handleMouseDown() calls
sendCommand() when the selection changes, while handleMouseWheel()
does not?
2012-12-27 02:21:24 +01:00
Thierry Crozat
3de9303394 I18N: Update Hungarian translation from patch #3598125 2012-12-23 00:13:37 +00:00
Torbjörn Andersson
7661379f3e JANITORIAL: Indent with tabs instead of spaces 2012-12-20 07:55:08 +01:00
Thierry Crozat
ebaa3fb671 CREDITS: Adding credits for Belarusian translation 2012-12-13 23:51:44 +00:00
Thierry Crozat
a468a2a57e I18N: Adding Belarusian translation from patch #3595284 2012-12-13 23:51:43 +00:00
Johannes Schickel
b0ba4b01a4 COMMON: Add wrapper for isprint.
This is done in the spirit of 658080deed.
2012-12-13 21:08:47 +01:00
Thierry Crozat
8e09661e24 I18N: Updating Finnish translation 2012-12-01 18:05:11 +00:00
Thierry Crozat
de9d715206 CREDITS: Adding catnose in credits for Finnish translation 2012-12-01 18:03:40 +00:00
Thierry Crozat
a5f0ef14a6 I18N: Regenerate translations data file 2012-12-01 17:26:57 +00:00
Thierry Crozat
5de0d081b7 OSX: Add missing include for NSURL
This fixes compilation on older systems (apparently on newer
systems it was already included indirectly).
2012-11-18 01:29:09 +00:00
Max Horn
a49f55878a OSX: Improve native OS X browser dialog
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-11-18 01:29:08 +00:00
Johannes Schickel
0052ef2802 GUI: Check for screen changes in the saveload chooser selection code. 2012-10-28 21:44:05 +01:00
Eugene Sandulenko
ca256a23b3 I18N: Regenerate translations.dat 2012-10-18 22:09:50 +03:00
Johannes Schickel
c2971374cd Merge pull request #257 from lordhoto/graphics-conversion
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-10-08 14:18:33 -07:00
Thierry Crozat
53a53294af CREDITS: Mark Lothar Serra Mari as retired 2012-10-08 20:34:05 +01:00
Johannes Schickel
9942b5ab60 GUI: Support for page restoring for non-continuous save lists in the grid chooser. 2012-09-26 16:14:18 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel
40fb004509 GUI: Fix maximum page number calculation in grid chooser.
This avoids a off by one error in some cases.
2012-09-26 02:59:32 +02:00
Johannes Schickel
bc1743b225 GUI: Save/restore last scroll position in the list save/load dialog.
This should give a better user experience, since the user will not have to
scroll back to where he was when he used the dialog last.

Thanks to wjp for suggesting this.
2012-09-26 02:59:32 +02:00
Johannes Schickel
66fb399227 GUI: Save/restore the last used page in the grid save/load dialog.
This allows opening the dialog on (nearly) the same page again as when it was
closed. Sadly due to the different number of entries in the save and load
version this is not always exactly the same page as before. Same goes for
resolution changes.

Thanks to wjp for suggesting this.
2012-09-26 02:59:31 +02:00
Strangerke
be9c9e59b7 TONY: Add credits for Tony 2012-09-25 23:07:43 +02:00
Matthew Hoops
d5ed8b1901 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
2012-09-12 20:18:13 -04:00
Willem Jan Palenstijn
952a41abe2 CREDITS: Reshuffle special thanks 2012-09-06 17:47:48 +02:00
Willem Jan Palenstijn
1ea69b53ce CREDITS: Minor tweaks 2012-09-06 17:19:22 +02:00
Einar Johan Trøan Sømåen
3513f3870d CREDITS: Thank Jan Nedoma (Mnemonic) for sources/assistance with WME. 2012-09-06 16:53:01 +02:00
Einar Johan Trøan Sømåen
f607112da0 CREDITS: Add myself to credits for the Wintermute-engine 2012-09-06 16:47:33 +02:00
Matthew Hoops
790a74ab9d Merge remote branch 'upstream/master' into pegasus 2012-08-31 21:58:58 -04:00
Johannes Schickel
a1e56adad8 GUI: Use in-place Surface conversion in widget code. 2012-08-28 02:28:17 +02:00
Jordi Vilalta Prat
e96249a105 I18N: Update translation data file. 2012-08-27 15:57:29 +02:00
Thierry Crozat
b8e10e4785 I18N: Update translation data file 2012-08-27 11:45:33 +01:00
Thierry Crozat
333a05c5b1 CREDITS: Add credits for Galician translation 2012-08-27 11:45:32 +01:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
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