Commit Graph

2700 Commits

Author SHA1 Message Date
Zerophase
5df3c14eba GUI: Fix tab cycling when total tabs increase.
Tab cycling ignores tab width, and slides correctly for larger tab counts.
2014-04-01 07:28:57 -05:00
Zerophase
80d34a8a7c GUI: Add Tab cycling to TabWidget
Tab and Shift-Tab can now cycle between each Tab of the Edit Game menu.
2014-04-01 07:28:48 -05:00
Thierry Crozat
3f88d60ad9 I18N: Update translation data file 2014-03-09 21:52:31 +00:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
f5dfe6725a GUI: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
uruk
f6c14408a3 AVALANCHE: Repair rest of the credits. 2014-01-15 16:23:02 +01:00
Marcus Comstedt
9957965257 GUI: Fix menu layout for low-res classic theme
Since clipping is now in place for strings, having text widgets which
are 4 pixels high will no longer work.  Remade the layout to set better
heights, and remove some spacing instead.
2014-01-11 17:48:34 +01:00
Willem Jan Palenstijn
5686d606f0 BUILD: Support libedit readline wrapper
This is used in Mac OS X. Thanks to waltervn for pointing this out and
testing.
2014-01-02 01:04:24 +01:00
Eugene Sandulenko
ae6efb09b7 JANITORIAL: Update copyright year 2014-01-01 12:44:08 +02:00
Johannes Schickel
fe7f28bf6c GUI: Do not draw text outside edit rect in EditableWidget. 2013-11-24 01:15:27 +01:00
Johannes Schickel
b487c1fc38 GUI: Fix undrawing caret glitch when the edit text is inversed.
This is prominently visible in the list based save/load chooser since the
edit string is drawn on a special green background there. When the caret is
at the end of the edit string this would result in the green color missing
at the place of the (undrawn) caret. To avoid this we simply draw a fake
space now.
2013-11-24 00:38:47 +01:00
Johannes Schickel
95f07fd405 GUI: Document EditableWidget::getEditRect. 2013-11-24 00:20:29 +01:00
Johannes Schickel
3be846cfd7 GUI: Draw caret over the whole height of the edit rect.
This improves the look of the editable widgets.
2013-11-24 00:15:48 +01:00
Johannes Schickel
bb4a730a88 GUI: Fix out-of-bounds check in EditableWidget::drawCaret.
The line "y + editRect.height() + 2" is not included in drawing anymore. Thus
it is allowed to equal EditableWidget::_h.
2013-11-24 00:15:48 +01:00
Johannes Schickel
aaad08c9fe GUI: Fix character redrawing behind caret in EditTextWidgets.
This fixes an ugly y position change when the caret is moved to a character in
an edit text widget.
2013-11-24 00:15:48 +01:00
Johannes Schickel
e036aa76da GUI: Fix EditTextWidget::getEditRect's returned height. 2013-11-24 00:15:48 +01:00
Johannes Schickel
129e891a87 GUI: Fix ListWidget::getEditRect's returned height. 2013-11-24 00:15:47 +01:00
Joel Teichroeb
51dceaf165 GUI: Use Common::String for console history, to ensure buffer safety.
Previously, if the user enters a command that is more than 256
characters, it will overflow the history buffer.

By using a Common::String, this is not possible.
2013-11-14 15:23:01 +00:00
Joel Teichroeb
0ccc918940 GUI: Fix for potential bad cursor palette access in warning case.
Previously, if the colorsFound exceeded the maximum number of
cursor colors, a bad access to the cursor palette buffer could be
performed before the warning was emitted. This reordering avoids
that.
2013-11-14 15:11:16 +00:00
Eugene Sandulenko
aa2a6d7445 GUI: Skip useless assignment. CID 1002117 2013-11-03 01:28:03 +02:00
Thierry Crozat
0d20acf8de CREDITS: Add credits for game translations 2013-10-30 21:56:39 +00:00
Johannes Schickel
f20471d962 Merge pull request #408 from lordhoto/opengl-replacement
OpenGL revamp
2013-10-20 06:20:46 -07:00
Johannes Schickel
fa90f9797c GUI: Check for screen change whenever an event is polled.
This should *hopefully* really fix all GUI crashes when resizing with OpenGL.
2013-10-19 22:18:22 +02:00
Willem Jan Palenstijn
a532c7729f Merge branch 'zvision'
This merges pull request 395 for the ZVision engine developed during
GSoC2013.
2013-10-17 23:00:00 +02:00
Willem Jan Palenstijn
1771162242 Merge branch 'avalanche'
This merges pull request 399 for the Avalanche engine developed during
GSoC2013.
2013-10-17 22:33:15 +02:00
RichieSams
7a97c992de ZVISION: Use credits.pl to update AUTHORS and credits.h 2013-10-14 19:02:18 -05:00
Strangerke
7b11be0a92 AVALANCHE: Fix savegame patterns 2013-10-07 22:26:33 +02:00
uruk
77c10447c3 AVALANCHE: Repair credits.h 2013-10-07 10:04:53 +02:00
Matthew Hoops
303261482d CREDITS: Add Keith for some pegasus patches 2013-10-06 22:41:30 -04:00
uruk
fed8546444 AVALANCHE: Update credit files. 2013-10-06 01:20:20 +02:00
Johannes Schickel
023fedef48 GUI: Do not return current input on cancel in PredictiveDialog.
Returning the currently displayed input when you click cancel is confusing
behavior in my eyes.
2013-10-02 00:16:59 +02:00
Johannes Schickel
225a823555 GUI: Initialize PredictiveDialog::_predictiveResult.
This fixes garbage output when canceling the predictive dialog in AGI when
nothing was entered.
2013-10-02 00:16:59 +02:00
Johannes Schickel
6ace85a84d GUI: Clean up calloc use in PredictiveDialog.
Instead of manually multiplying the entry count with the entry size we simply
use both parameters of calloc as intended now.
2013-10-02 00:16:59 +02:00
Johannes Schickel
45e7ba130e GUI: Fix compilation with clang and C++11.
newDictLine is allocated with calloc in line 856 thus there is no need to
initialize any entry.
2013-10-02 00:16:59 +02:00
Eugene Sandulenko
054ef1f1cd GUI: Fix compiler warning 2013-09-30 14:36:59 +03:00
D G Turner
62d07700b3 GUI: Fix missing initializers for ListWidget. CID 1002259. 2013-09-30 04:53:17 +01:00
Eugene Sandulenko
4c2dc5fb3f RECORDER: Fix warning 2013-09-09 00:46:03 +03:00
Eugene Sandulenko
8a340007ea Merge pull request #361 from rundfunk47/guiimprovements
GUI: Various GUI Improvements
2013-08-22 05:31:23 -07:00
Narek Mailian
94792d2063 THEME: Add back entry for color when hovering over button 2013-08-22 12:01:27 +02:00
Strangerke
69aef2a55a MORTEVIELLE: Add credits 2013-08-20 23:14:54 +02:00
Filippos Karapetis
1f89b4e902 CREDITS: Add credits for The Neverhood engine 2013-08-20 19:48:33 +03:00
Johannes Schickel
74a056e746 GUI: Clear dirty rects when initializing ThemeEngine.
This avoids nasty invalid writes to the overlay when the overlay is being
resized.
2013-08-19 00:06:46 +02:00
Narek Mailian
6fa3c7751f GRAPHICS: Gradient blending on borders of rounded squares 2013-08-16 20:54:10 +02:00
Narek Mailian
5c00dbbd2a GRAPHICS: Add support for Soft Shadows with rounded squares 2013-08-16 20:54:08 +02:00
Narek Mailian
887a99e211 GRAPHICS: Added changes and improved code from inisider/scummvm (partial text)
Includes code from https://github.com/inisider/scummvm/ , which has been
squashed and bugfixed
2013-08-16 20:54:08 +02:00
D G Turner
01a1e63786 GUI: Add code to default theme generation to reduce string length.
The additional code skips the extraneous spaces after the end of an
XML close brace (>) reducing the string literal by 3106 characters,
thus bringing it within the limit for C++ string literals.

Have regenerated the default.inc from scummclassic with this change.
2013-08-16 06:57:40 +01:00
D G Turner
49ea7cd1fd GUI: Add too long string literal warning code to theme generation tool.
This has the same effect as clang's -Woverlength-strings warning of
string literals longer than C++ compilers are specified to work with.
2013-08-16 06:54:54 +01:00
Johannes Schickel
818d3981e3 Merge pull request #377 from lordhoto/config-manager-cleanup
Config Manager Cleanup
2013-08-12 14:30:22 -07:00
Eugene Sandulenko
81e1d0963f Merge pull request #359 from rundfunk47/32bitguioverlay
GUI: Add option to render GUI in 32-bits
2013-08-12 05:27:44 -07:00
Thierry Crozat
f125dce608 GUI: Initialise _hotkey in ButtonWidget constructor
One of the two ButtonWidget constructor did not initialise _hotkey
when given a non-null value. This caused valgrind to report an
access to uninitialised variable in Dialog::handleKeyDown().
2013-08-10 23:26:53 +01:00
Narek Mailian
1f1d35bd3d GRAPHICS: Allow VectorRenderer and ThemeEngine to init with 4BPP 2013-08-08 08:35:08 +02:00
Narek Mailian
f545a2f08f GUI: Change name of GUI-renderers to remove "16-bit" 2013-08-08 08:35:08 +02:00
Johannes Schickel
969a33a32d GUI: Allow GUI cursor creation to work with abitrary 2/4Bpp formats. 2013-08-08 08:35:07 +02:00
Johannes Schickel
11eb168582 GUI: Use Domain::const_iterator in EventRecorder code when possible. 2013-08-08 03:12:02 +02:00
Johannes Schickel
b1bd9322a1 GUI: Take advantage of Surface::getPixels. 2013-08-03 04:02:50 +02:00
Johannes Schickel
103e926c07 GUI: Prefer getBasePtr instead of direct Surface::pixels access. 2013-08-03 04:02:48 +02:00
Eugene Sandulenko
2c812ade01 Merge pull request #353 from clone2727/eventrec_timer_fix
ALL: Don't use EventRecorder at all when not compiled in
2013-07-18 08:15:28 -07:00
Johannes Schickel
6a1112f98f GUI: Mark some intentional fall throughs in switches.
All of these are for handling kCloseCmd.
2013-07-15 13:44:24 +02:00
Johannes Schickel
ddcfdf5329 GUI: Allow the event recorder dialog to be closed.
This is a regression from 6e4217e1ba.

setResult does not automatically close the dialog. However,
Dialog::handleCommand will close the dialog when kCloseCmd is received.
2013-07-15 13:40:59 +02:00
Sven Hesse
5e835ef915 RECORDER: Fix indenting 2013-07-14 19:04:09 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Eugene Sandulenko
6e4217e1ba RECORDER: Fix CID 1046887. Missing break in switch 2013-07-14 19:35:17 +03:00
Eugene Sandulenko
54d0eef6f2 RECORDER: Fix CID 1046882. Uninitalized variables 2013-07-14 19:30:35 +03:00
Eugene Sandulenko
9efff8f350 RECORDER: Rename class variables in accoudance with our code style 2013-07-14 19:27:13 +03:00
Eugene Sandulenko
6751a385a8 RECORDER: Fix CID 1046883. Uninitialized variables 2013-07-14 19:24:47 +03:00
Eugene Sandulenko
51046d0ce7 RECORDER: Fix CID 1046881. Unused value 2013-07-14 19:22:53 +03:00
Eugene Sandulenko
e3a11085a9 RECORDER: Fix CID 1046888. Wrong check. 2013-07-14 19:20:06 +03:00
Eugene Sandulenko
977038e847 RECORDER: Rename class variable in accoudance with our code style. 2013-07-14 19:16:01 +03:00
Eugene Sandulenko
c1397788f2 RECORDER: Fix CID 1046884. Uninitialized class variables. 2013-07-14 19:14:00 +03:00
Matthew Hoops
4a7e4e5b22 ALL: Don't use EventRecorder at all when not compiled in 2013-07-06 23:54:45 -04:00
Johannes Schickel
be61cb669a Merge pull request #350 from chrisws/tizen_port_1_6_0a
TIZEN: bada port updated to tizen

Conflicts:
	backends/platform/tizen/system.cpp
2013-07-04 23:33:02 +02:00
Johannes Schickel
8d6aa77769 GUI: Cleanup EventRecorder::getSurface.
Formerly the function created a SDL_Surface by hand. Instead now it uses
SDL_CreateRGBSurface (which is used in the SDL backend anyway and yields
the same results).

This should fix PS3 port compilation.
2013-07-04 15:43:17 +02:00
Eugene Sandulenko
baafae672f RECORDER: Fix crash at startup 2013-07-04 15:23:56 +03:00
Eugene Sandulenko
49210a803a Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Chris Warren-Smith
be399188c4 TIZEN: bada port updated to tizen 2013-07-03 07:04:11 +10:00
Johannes Schickel
0e5bcd207b Merge pull request #332 from bluegr/roland_gs_cleanup
SCUMM: iMuse - Clean-up of Roland GS code (updated)
2013-06-01 19:40:27 -07:00
Matthew Hoops
eeeccd4b1f GUI: Fix the spelling of some variable/class names 2013-05-26 15:52:31 -04:00
Matthew Hoops
f15a38558b GUI: Add missing include for IBAction
Hopefully will fix compilation on older Mac versions
2013-05-26 15:39:19 -04:00
Alyssa Milburn
efc374fc43 Merge pull request #307 from criezy/filebrowser-hidden-osx
OSX: Allow user to display hidden files in the browser dialog.
2013-05-26 12:04:52 -07:00
Thierry Crozat
958c297efc I18N: Regenerate translations data file 2013-05-22 20:27:14 +01:00
Thierry Crozat
dd97907fb0 I18N: Regenerate translations data file 2013-05-17 20:05:11 +01:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Thierry Crozat
658b597556 I18N: Regenerate translations data file 2013-05-13 20:45:40 +01:00
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