Commit Graph

1724 Commits

Author SHA1 Message Date
Eugene Sandulenko
bbac0f1eea Implement FR#862150: "GUI: Show subtitles/speech options only for speech games"
Add generic per-game GUI options support along the way ;)

svn-id: r41275
2009-06-06 17:58:08 +00:00
Eugene Sandulenko
f6d06085d5 Fix item selection on filtered out list in launcher
svn-id: r41271
2009-06-06 17:54:59 +00:00
Eugene Sandulenko
020450465d Fix font size in EditTextWidget on screen resolution change.
svn-id: r41270
2009-06-06 17:54:43 +00:00
Eugene Sandulenko
f66da82f03 Improvements to laucher dialog
- Made quicksearch turned off in the launcher game list
- Turn ListWidget into CommandSender
- Turn quicksearch off in launcher game list
- Connect laucher list widget with search box so search is initiated by typing

svn-id: r41269
2009-06-06 17:54:28 +00:00
Eugene Sandulenko
5fc047dddf Implement FR#1970293: "LAUNCHER: Add "quick search" input field like in iTunes"
svn-id: r41268
2009-06-06 17:54:08 +00:00
Eugene Sandulenko
dcc90445f6 Add to launcher not yet functional search widget.
Make EditableWidget CommandSender

svn-id: r41267
2009-06-06 17:53:25 +00:00
Eugene Sandulenko
b0db1b5ed0 Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".
- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties

svn-id: r41266
2009-06-06 17:52:44 +00:00
Eugene Sandulenko
b0f7f2e8d4 Implement widget property "textalign". Added it to all theme layouts
svn-id: r41265
2009-06-06 17:51:41 +00:00
Eugene Sandulenko
b49d23b898 Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
2009-06-06 17:50:30 +00:00
Eugene Sandulenko
f2547eb62c Implement FR#2707442: "GUI: Improve Mass Add dialog"
svn-id: r41263
2009-06-06 17:49:59 +00:00
Eugene Sandulenko
41505a00d0 Improved look of popup widget, buttons, checkbox and tab widget
svn-id: r41262
2009-06-06 17:49:09 +00:00
Eugene Sandulenko
a3b6b0efb5 Make PopUp widget look more balanced
svn-id: r41261
2009-06-06 17:48:46 +00:00
Eugene Sandulenko
974f47bbba Implement FR#1522626: "GUI: Friendlier "Add Game" session"
svn-id: r41236
2009-06-06 17:37:15 +00:00
Eugene Sandulenko
74c16b0072 Add Mute control to all themes
svn-id: r41235
2009-06-06 17:36:58 +00:00
Eugene Sandulenko
c295f524b2 Implement feature request : "GUI: Mute option"
svn-id: r41233
2009-06-06 17:36:06 +00:00
Jody Northup
56e5920bba Corrected cursor display errors introduced by revision 41204, reimplemented 16-bit cursor support in a less hacky, but still temporary way.
svn-id: r41209
2009-06-06 01:16:04 +00:00
Jody Northup
d65bbe1d7a Fixes ScummEngine_v70he::setDefaultCursor to work in 16-bit, using a temporary hack.
svn-id: r41204
2009-06-05 23:59:40 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
eb92554db9 Fix bug : "GUI: Glitch when closing menu after hovering on option"
svn-id: r40702
2009-05-18 21:02:52 +00:00
Johannes Schickel
049618ce15 Fix all occurrences of AdLib spelling:
- credits
- options dialog

svn-id: r40538
2009-05-13 21:15:12 +00:00
Eugene Sandulenko
923d26d9fb Enable Audio options for a game when OPL driver is overridden.
svn-id: r40532
2009-05-13 21:02:03 +00:00
Johannes Schickel
68c7aa7ff1 Fix invalid pop up widget selection, when no "opl_driver" setting is present.
svn-id: r40506
2009-05-12 19:36:09 +00:00
Johannes Schickel
4f0768b909 - Add support for selecting the OPL emulator being used (config entry: "opl_driver")
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes

svn-id: r40496
2009-05-12 18:42:44 +00:00
Eugene Sandulenko
938db170f3 Sync with STXes
svn-id: r40494
2009-05-12 17:48:58 +00:00
Willem Jan Palenstijn
3b9f21be80 Use lowercase form for quickselect in ListWidget.
This matches POSIX strcasecmp and MSVC stricmp behaviour.

svn-id: r40467
2009-05-11 20:53:28 +00:00
Max Horn
95a4b26efe Turned fixed-size lists of debugger/console commands and variables into more flexible data structures
svn-id: r40458
2009-05-11 18:02:27 +00:00
Eugene Sandulenko
665e472ef0 Keymapper:
- Introduced new OSystem method getHardwareKeySet() with default implementation
- Moved global keymap creation to base/main.cpp
- Moved GUI keymap creation to gui/GuiManager.cpp
- Added various safeguard checks to various keymapper methods

Now it is really possible to add keymapper to all backends.

svn-id: r40439
2009-05-10 22:05:04 +00:00
Eugene Sandulenko
87fdc5d544 Original GSoC'08 keymapper now works.
Plans:
  - Make remap dialog less ugly
  - Port dialog to other resolutions and classic theme
  - Stop polluting config namespaces with keymap
  - Improve automapper
  - Add support to the engines and backends

svn-id: r40404
2009-05-09 22:36:57 +00:00
Eugene Sandulenko
bb03043b16 More debug info in the error messages when GUI layout is wrong.
svn-id: r40371
2009-05-07 20:56:33 +00:00
Eugene Sandulenko
8c60930aaa Part of patch : "GSOC09: Upd copyright add about line, fix MSVC warnings"
svn-id: r39995
2009-04-18 21:18:23 +00:00
Eugene Sandulenko
e246c0d94f Patch : "Typo fixes to README and comments"
svn-id: r39993
2009-04-18 21:12:32 +00:00
Vicent Marti
8fe3735f69 Fixed bug (Enabled button not drawn correctly) and other similar cases.
Fixed background shading weirdness when opening many dialogs on top of each other.
Fixed some modal dialogs not redrawing properly when closed.

svn-id: r39938
2009-04-11 17:12:17 +00:00
Max Horn
0c8ffc80fd GUI: Fixed nasty typo
svn-id: r39913
2009-04-10 14:06:21 +00:00
Max Horn
9d4c917f59 GUI: Rewrote the dirty rect handling code. Previously it was possible that the dirty rect list got clobbered by many rects containg other rects in the list. Also got rid of some obsolete params to addDirtyRect as well as the obsolete return value
svn-id: r39909
2009-04-09 17:07:38 +00:00
Max Horn
21ebc88b00 GUI: Commited fix for bug in ThemeParser::parserCallback_defaults (at least I think this is the correct fix, somebody should review this)
svn-id: r39812
2009-04-03 15:12:46 +00:00
Vicent Marti
95a8c28dd5 Fixed bug where screen wasn't automatically updated when changing theme, unless you moved the mouse.
svn-id: r39706
2009-03-27 12:04:43 +00:00
Vicent Marti
053b7b8a9b Theme selection dialog now automatically selects the currently active theme. Fixes bug .
svn-id: r39703
2009-03-26 20:24:16 +00:00
Max Horn
e5e1615280 MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int
svn-id: r39702
2009-03-26 13:52:43 +00:00
Filippos Karapetis
bd240eb60a Added myself to the MADE engine credits
svn-id: r39684
2009-03-25 10:49:52 +00:00
Henry Bush
5681531bbd Sync
svn-id: r39458
2009-03-16 21:45:21 +00:00
Johannes Schickel
77d5d3093a Fix small cursor for modern theme.
svn-id: r39426
2009-03-15 18:29:47 +00:00
Vicent Marti
9e54b1c963 Fixed bug (Game name overwrites scroll bar).
svn-id: r39335
2009-03-11 20:39:31 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.

This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.

Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.

svn-id: r39279
2009-03-09 22:26:02 +00:00
Willem Jan Palenstijn
68490c5c1e Move Greg Frieger from Tinsel to SCI in credits as intended by r39179
svn-id: r39220
2009-03-08 12:13:10 +00:00
Max Horn
63eda8cf3c Added Greg and myself to SCI engine credis
svn-id: r39179
2009-03-07 06:57:59 +00:00
Max Lingua
188d8f4414 Removed the defined(__PLAYSTATION2__) case to re-enable extra paths for PS2.
svn-id: r39144
2009-03-06 00:28:39 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Johannes Schickel
7270c87919 Fix bug "GUI: Debug console glitch".
svn-id: r39128
2009-03-04 12:28:23 +00:00
Max Horn
5422e81718 Make the file browser bigger in 1x mode
svn-id: r39077
2009-03-02 18:04:44 +00:00
Lars Persson
7176a61a85 Small UI updated with smaller HELP dialog to fit a 320x200 screen. The help text does not fit though.
svn-id: r38848
2009-02-24 18:51:42 +00:00
Vicent Marti
e7ee119603 Fixed regression in Options menu and disabled Save/Load buttons.
svn-id: r38524
2009-02-19 00:37:34 +00:00
Vicent Marti
ad4f3fb410 Last minute fix (enabling/disabling widgets mid-frame).
svn-id: r38520
2009-02-19 00:17:08 +00:00
Oystein Eftevaag
fc34cb3bd3 When adding games from a directory the user had no permissions to, instead of exiting with an error we'll (for normal adds) show an error message and (for mass adds) just continue in the list.
svn-id: r38448
2009-02-17 21:02:47 +00:00
Eugene Sandulenko
e5def6fbea Add SCI team to credits
svn-id: r38441
2009-02-17 19:57:29 +00:00
Willem Jan Palenstijn
26f45be083 properly (re)select game after adding/editing domain name in launcher
svn-id: r38313
2009-02-15 22:07:19 +00:00
Oystein Eftevaag
5b86801553 Merged revisions 36329, 38212, 38226and 38234 from branch-0-13-0 to trunk: iPhone backend updates
svn-id: r38240
2009-02-15 13:58:15 +00:00
Vicent Marti
fe6854d5b8 Fixed bug (weird looking game load dialog).
svn-id: r36313
2009-02-13 20:01:50 +00:00
Max Horn
2844c22136 Fix GUI themes zip files
svn-id: r36287
2009-02-13 00:00:36 +00:00
Lars Persson
adbc453163 Fixed working Keys button in in game options dialog
Fixed key mappings dialog layout

svn-id: r36285
2009-02-12 22:05:07 +00:00
Max Horn
4942ce18f1 Patch : Remove clem's name from forum design, following his request
svn-id: r36272
2009-02-11 23:00:31 +00:00
Vicent Marti
341873c9d3 Third attemp at fixing release-critical . Also fixes regression reported in .
svn-id: r36227
2009-02-07 00:23:53 +00:00
Vicent Marti
108d4cfbd0 Reverted previous commit.
svn-id: r36226
2009-02-06 23:28:08 +00:00
Vicent Marti
30189f09d9 Removed special case when redrawing the dialog stack. Fixes bug and several lesser graphical glitches with classic theme.
svn-id: r36225
2009-02-06 22:16:04 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
de7c89e381 Some work on the 'special debug levels' aka 'engine debug levels' code
svn-id: r36139
2009-01-30 04:42:30 +00:00
Johannes Schickel
8ff3f14e29 Fix for bug "MAC: Cannot add games in the launcher in fullscreen mode".
svn-id: r36036
2009-01-24 16:27:52 +00:00
Max Horn
5556fc7f72 Changed Graphics::ImageDecoder to allow custom PixelFormats
svn-id: r36026
2009-01-23 23:50:54 +00:00
Max Horn
14c5bbbccf Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
svn-id: r36020
2009-01-23 04:36:18 +00:00
Max Horn
cc1efb9137 Fix buggy images in GUI when switching overlay mode (e.g. on Mac OS X when toggline full screen and windowed mode)
svn-id: r36001
2009-01-22 18:45:06 +00:00
Max Horn
abc06ca18e Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
svn-id: r35993
2009-01-22 04:35:10 +00:00
Max Horn
487f4eafb0 Updated theme version to 0.4
svn-id: r35914
2009-01-18 20:05:24 +00:00
Max Horn
0dc90f51f9 Updated theme .zip files and default theme
svn-id: r35913
2009-01-18 20:01:12 +00:00
Max Horn
0469cf7498 Updated credits list with retired members
svn-id: r35911
2009-01-18 18:52:59 +00:00
Max Horn
2c59a54432 cleanup
svn-id: r35899
2009-01-18 14:48:24 +00:00
Max Horn
c9e97bf6f9 GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ThemeParser
svn-id: r35898
2009-01-18 14:48:00 +00:00
Max Horn
2bbbfdbee2 GUI: Removed ThemeEngine::getTabSpacing() and getTabPadding(); removed some dead code
svn-id: r35896
2009-01-18 14:45:23 +00:00
Max Horn
5e1cf1e166 GUI: Renamed Globals.TabLabelWidth to Globals.PopUpWidget.labelWidth (that's what it really is); changed PopUpWidget to use that value directly
svn-id: r35895
2009-01-18 14:42:26 +00:00
Max Horn
20dad9e967 Merged gui/ThemeData.cpp into ThemeEngine.cpp
svn-id: r35881
2009-01-17 17:13:04 +00:00
Max Horn
42d4ddf934 Removed unused & incomplete widget caching code
svn-id: r35880
2009-01-17 16:57:50 +00:00
Max Horn
7d3c94a9ca Added some comments to ThemeLayoutStacked::reflowLayoutH/V
svn-id: r35868
2009-01-14 21:16:21 +00:00
Max Horn
d34a952e5b Renamed various ThemeLayout methods for clarity; removed unused setSpacing method, and moved _spacing to class ThemeLayoutStacked
svn-id: r35867
2009-01-14 20:58:41 +00:00
Jordi Vilalta Prat
bb82b0be97 Handle the sound font clearing button in the game specific options
svn-id: r35864
2009-01-14 18:17:19 +00:00
Jordi Vilalta Prat
ab82db8f86 Use the current palette size for the theme mouse cursor instead of using the maximum (fixes a valgrind warning)
svn-id: r35857
2009-01-14 02:44:09 +00:00
Torbjörn Andersson
cfdb824535 Fixed bug ("GUI: Cannot quit in the launcher's load dialog"). I thought
I would have to do more than this to fix it, but it seems to be enough.

svn-id: r35840
2009-01-12 19:56:08 +00:00
Eugene Sandulenko
83972e2001 Merge in Virtual Keybpard & KeyMapper branch,
- Merge is perfromed in order to not let rotting the code
- Makefile modifications were avoided

Stuff to resolve:
- Circular dependency of common/vkeybd from graphics/
- Make it compilable (?)
- Add some keyboards
- Decide on the key bindings

svn-id: r35813
2009-01-11 00:20:27 +00:00
Torbjörn Andersson
20638a0f97 Moved some stuff from the EditGameDialog constructor to its open() method to
avoid uninitialised variables. (This is similar to some bugs that were fixed
earlier today.)

svn-id: r35811
2009-01-10 23:38:30 +00:00
Eugene Sandulenko
b4eb116f65 Update Joachim's role as requested by him.
svn-id: r35809
2009-01-10 23:13:43 +00:00
Willem Jan Palenstijn
0ab01c756a open browser dialog before manipulating it (fixes assert when pressing 'add game')
svn-id: r35807
2009-01-10 22:31:15 +00:00
Vicent Marti
d638ddd3d6 Fixed release critical bug . All transparent buttons should now properly refresh their text when changed between redrawing frames. This includes the launcher "Add game" button and the options "subtitle mode" button.
svn-id: r35789
2009-01-08 18:09:13 +00:00
Johannes Schickel
23f23d7491 Fixed revertion to "Add game" button string after a "Mass add" was processed.
svn-id: r35788
2009-01-08 17:08:24 +00:00
Max Horn
e668574d88 Tweak gui/ThemeData.* to not produce errors on certain system like Haiku (at least I hope this will work :)
svn-id: r35743
2009-01-05 19:54:10 +00:00
Johannes Schickel
ec631ba7f1 - Prevented full theme search when "builtin" theme was specified
- Only do a recursive search for themes with depth 1 in '.'

svn-id: r35706
2009-01-03 16:24:10 +00:00
Max Horn
6a7e4e3c15 Fix compilation on Mac OS X; tiny simplification
svn-id: r35688
2009-01-02 22:29:13 +00:00
Johannes Schickel
3558cf0e5e Cleanup.
svn-id: r35687
2009-01-02 22:16:33 +00:00
Johannes Schickel
95074af35c Fixed crash when returning to launcher from a 640x480 game running with a non 1x scaler.
svn-id: r35686
2009-01-02 22:10:00 +00:00
Johannes Schickel
1d2c446395 - Moved theme listing code from GuiManager to ThemeEngine
- Only show builtin theme in theme list if GUI_ENABLE_BUILTIN_THEME is defined
- Introduced _themeFile to ThemeEngine again and changed _themeId to store the basename of the theme

svn-id: r35684
2009-01-02 21:24:13 +00:00
Johannes Schickel
6fd559b4f6 - Fixed --gui-theme command line description
- Added --list-themes command line command to list available GUI themes

svn-id: r35681
2009-01-02 20:21:21 +00:00
Johannes Schickel
1b0f945471 - Added support selection of themes via a basename again (This should fix bugs "GUI: Theme selection oddities and regressions" and "GUI: theme detection")
- Changed default value to "scummmodern" instead of "scummmodern.zip" for "gui_theme"
- Moved theme listing code from ThemeBrowser to GuiManager

svn-id: r35680
2009-01-02 20:03:45 +00:00
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Johannes Schickel
4ec7876972 Reverted the handling of mouse move events, now the slider widget should be highlighted correctly again.
svn-id: r35667
2009-01-02 03:03:06 +00:00
Johannes Schickel
1b41a49fc5 Modified the way button highlights are processed when a widget is in dragging mode. This allows for example unhighlighting of a button when the user clicked on it but moved the mouse away.
svn-id: r35666
2009-01-02 02:48:06 +00:00
Max Horn
8260944260 GUI: Redraw screen ASAP if the theme was changed
svn-id: r35665
2009-01-02 01:36:38 +00:00
Max Horn
903f52cff8 GUI: Create the _themeArchive once and then keep it; also do not reload theme bitmaps needlessly
svn-id: r35663
2009-01-02 01:32:40 +00:00
Johannes Schickel
e7bf64744b Got rid of GuiManager::clearDragWidget instead handle it via a new widget flag WIDGET_IGNORE_DRAG.
svn-id: r35662
2009-01-02 01:31:46 +00:00
Max Horn
e6b9a3e476 GUI: Fix the recent regression where starting games directly (bypassing the launcher) would result in a black screen; also reinit the theme (which each time causes the full XML data to be parsed) less often
svn-id: r35661
2009-01-02 01:23:17 +00:00
Torbjörn Andersson
685f1f985f Fixed a typo in a comment, plus some slight re-wording.
svn-id: r35655
2009-01-01 22:15:21 +00:00
Max Horn
3851bda05f cleanup
svn-id: r35654
2009-01-01 21:52:15 +00:00
Max Horn
97e9b28c8a Revamping the handling of GUI themes a bit:
* Moved the code which handles fallback to the built-in theme from ThemeEngine to GuiManager
* Changed ThemeEngine::init() to only init&load the theme; no more messing with the overlay
* Commented to a somewhat obscure line in the GuiManager event loop (taking eriktorbjorn's original commit message for that change as comment text)
* Cleaned up the way the Dialog constructor ensures that the current Theme is correctly setup
* Got rid of varios members of ThemeEngine
* Changed ThemeEngine members _screen and _backBuffer from Surface pointers to just plain Surfaces
* Changed ThemeEngine::loadFontFromArchive to use _themeArchive instead of creating an Archive from scratch
* Renamed ThemeEngine::getThemeFileName() to getThemeId() (and some associated tweaks)
* Lots of further cleanup and tweaks

svn-id: r35653
2009-01-01 21:41:55 +00:00
Max Horn
c62efbcab3 Added two FIXMEs to global options dialog, related to theme selection
svn-id: r35650
2009-01-01 17:02:45 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Jordi Vilalta Prat
05d3633eb3 Restore the text background of pop-up widgets to fix the glitch on classic theme when changing the option with the mouse wheel
svn-id: r35647
2009-01-01 08:14:43 +00:00
Max Horn
167a9cb767 ThemeEngine:
* more cleanup, esp. of Doxygen comments
* completely got rid of ImageMan, instead use the same Common::Archive to load bitmaps and XML data from

svn-id: r35636
2008-12-31 15:07:30 +00:00
Max Horn
693b9df098 cleanup
svn-id: r35635
2008-12-31 15:03:17 +00:00
Filippos Karapetis
587a691b12 Proper fix: Readded the const keyword, together with the missing data type in ThemeEngine.h
svn-id: r35634
2008-12-31 14:54:30 +00:00
Filippos Karapetis
9f0a401047 Removed "const" keyword from kDrawDataDefaults. MSVC complains that "'const' static/global data initialized with compiler generated default constructor fills the object with zeros", in ThemeEngine.h line 123
svn-id: r35632
2008-12-31 14:37:22 +00:00
Max Horn
be73014f67 ThemeEngine changes:
* removed lots of dead code / methods
* fixed bad Doxygen comments (they were attached to the wrong member variables)
* some cleanup

svn-id: r35631
2008-12-31 14:10:23 +00:00
Vicent Marti
a4f2be4638 Fix for ""LAUNCHER: "(Mass) Add" buttons + built-in GUI = buggy"" (bug ID 2472185)
svn-id: r35617
2008-12-29 20:33:09 +00:00
Vicent Marti
49976794c4 Updated Theme Package generator to work with Python 2.6-3.0 (push Python forward!)
svn-id: r35613
2008-12-29 16:22:52 +00:00
Vicent Marti
e432dad215 Changed PSP graphic modes to use low resolution themes (possible fix for bug ID 2458134)
svn-id: r35612
2008-12-29 16:17:51 +00:00
Kostas Nakos
25ac7c7fb0 1) Add the KeysDialog layout to the modern theme. 2) Improve somewhat the layout of the KeysDialog
svn-id: r35592
2008-12-28 20:15:00 +00:00
Torbjörn Andersson
ab2297e28b Made the F6 and F5 (SCUMM only) menus fit in 320x200. I'd appreciate if someone
who's more familiar with this could look at my changes, in case I messed up.

svn-id: r35589
2008-12-28 16:53:57 +00:00
Max Horn
c5cabc7b2a Renamed some stuff
svn-id: r35574
2008-12-27 16:09:08 +00:00
Max Horn
1d099c0d40 GuiManager::runLoop: do not call OSystem::quit() when receiving EVENT_QUIT, just return to the caller instead
svn-id: r35573
2008-12-27 16:07:10 +00:00
Max Horn
f26f85ee96 GUI: Added Widget::setVisible convenience wrapper
svn-id: r35572
2008-12-27 14:36:28 +00:00
Max Horn
69f4b7a383 Got rid of ThemeLayout::getDialogData; added some comments, asserts; moved getParentW & getParentH to class ThemeLayoutStacked
svn-id: r35571
2008-12-27 14:30:30 +00:00
Jordi Vilalta Prat
d18d2d72a8 Fix for the SliderWidget glitch when showing very small values (and potentially for other small widgets)
svn-id: r35557
2008-12-26 12:15:51 +00:00
Max Horn
751df013e1 If more than 8 items have to be resized in a stacked theme layout, abort with an error (instead of silently trashing the stack)
svn-id: r35549
2008-12-26 01:13:08 +00:00
Max Horn
131cb5a05a Merged ThemeLayoutHorizontal and ThemeLayoutVertical into a new class ThemeLayoutStacked (suggestions for a better name are welcome); stored padding data in a Common::Rect
svn-id: r35548
2008-12-26 01:08:49 +00:00
Max Horn
c59f5919a2 ThemeLayout::getParentW was calling getHeight instead of getWidth by mistake (though this didn't seem to cause any problems anywhere... ?)
svn-id: r35547
2008-12-26 00:57:30 +00:00
Max Horn
c9105aa58f Fix for bug : GUI: Crash in GMM when changing scale factor
svn-id: r35546
2008-12-26 00:43:52 +00:00
Max Horn
c3aec16033 Some 'cleanup' of Gui::ThemeLayout
svn-id: r35545
2008-12-26 00:26:34 +00:00
Max Horn
6510226216 Renamed NewGui to GuiManager
svn-id: r35544
2008-12-25 23:55:36 +00:00
Jordi Vilalta Prat
bce76931d3 Added valueToBarWidth to calculate SliderWidget's bar width like it was done before (as discussed with LordHoto)
svn-id: r35519
2008-12-24 01:11:58 +00:00
Max Horn
1c238fe1e1 Removed Ender from SCUMM credits (matching other retired team members, like ludde and yazor)
svn-id: r35517
2008-12-24 00:18:46 +00:00
Johannes Schickel
ff45c8aa65 Added FIXME in ThemeEngine::drawSlider.
svn-id: r35515
2008-12-24 00:05:42 +00:00
Jordi Vilalta Prat
604b8f08b6 Modify the PopUpWidget selection by using the mouse wheel
svn-id: r35514
2008-12-23 23:47:16 +00:00
Jordi Vilalta Prat
f75893a294 Modify the SliderWidget value by using the mouse wheel
svn-id: r35513
2008-12-23 23:36:38 +00:00
Jordi Vilalta Prat
d1530fcf18 Tweaked the Modern theme colors to make it look more like it did in the old renderer
svn-id: r35490
2008-12-22 18:34:43 +00:00
Jordi Vilalta Prat
382a46ffc4 Changed the game chooser to make the game candidates not editable and selectable by pressing enter
svn-id: r35489
2008-12-22 15:40:11 +00:00
Jordi Vilalta Prat
b1999a2a16 Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
2008-12-22 11:22:15 +00:00
Jordi Vilalta Prat
2ec51ef358 Allow the disabled state of the popup widget to be themed
svn-id: r35480
2008-12-22 10:31:01 +00:00
Lars Persson
a56af219d9 Added KeyConfiguration dialog to classic theme(320 and normal). Updated KeysDialog to follow xml syntax properly.
svn-id: r35416
2008-12-17 21:19:46 +00:00
Lars Persson
4e2565ca1f Set SMALL SCREEN DEVICE settings in ::open function with new UI framework
svn-id: r35404
2008-12-16 22:54:38 +00:00
Eugene Sandulenko
8b60af5330 Add Tucker engine to credits
svn-id: r35361
2008-12-14 14:19:23 +00:00
Jordi Vilalta Prat
b66a9d4e03 Added Groovie credits
svn-id: r35219
2008-12-03 15:04:15 +00:00
Max Horn
46482b4de8 News update: Ender stepping down as project lead
svn-id: r35202
2008-12-01 21:50:34 +00:00
Max Horn
b25257d4eb Added Cyx to SCUMM credits
svn-id: r35169
2008-11-28 11:56:08 +00:00
Max Horn
a28b531ed0 Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
svn-id: r35139
2008-11-21 12:17:35 +00:00