aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-23Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵Max Horn
(const); same for Archive::openFile svn-id: r36020
2009-01-22Fix buggy images in GUI when switching overlay mode (e.g. on Mac OS X when ↵Max Horn
toggline full screen and windowed mode) svn-id: r36001
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-18Updated theme version to 0.4Max Horn
svn-id: r35914
2009-01-18Updated theme .zip files and default themeMax Horn
svn-id: r35913
2009-01-18Updated credits list with retired membersMax Horn
svn-id: r35911
2009-01-18cleanupMax Horn
svn-id: r35899
2009-01-18GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ↵Max Horn
ThemeParser svn-id: r35898
2009-01-18GUI: Removed ThemeEngine::getTabSpacing() and getTabPadding(); removed some ↵Max Horn
dead code svn-id: r35896
2009-01-18GUI: Renamed Globals.TabLabelWidth to Globals.PopUpWidget.labelWidth (that's ↵Max Horn
what it really is); changed PopUpWidget to use that value directly svn-id: r35895
2009-01-17Merged gui/ThemeData.cpp into ThemeEngine.cppMax Horn
svn-id: r35881
2009-01-17Removed unused & incomplete widget caching codeMax Horn
svn-id: r35880
2009-01-14Added some comments to ThemeLayoutStacked::reflowLayoutH/VMax Horn
svn-id: r35868
2009-01-14Renamed various ThemeLayout methods for clarity; removed unused setSpacing ↵Max Horn
method, and moved _spacing to class ThemeLayoutStacked svn-id: r35867
2009-01-14Handle the sound font clearing button in the game specific optionsJordi Vilalta Prat
svn-id: r35864
2009-01-14Use the current palette size for the theme mouse cursor instead of using the ↵Jordi Vilalta Prat
maximum (fixes a valgrind warning) svn-id: r35857
2009-01-12Fixed bug #2500168 ("GUI: Cannot quit in the launcher's load dialog"). I thoughtTorbjörn Andersson
I would have to do more than this to fix it, but it seems to be enough. svn-id: r35840
2009-01-11Merge in Virtual Keybpard & KeyMapper branch,Eugene Sandulenko
- 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-10Moved some stuff from the EditGameDialog constructor to its open() method toTorbjörn Andersson
avoid uninitialised variables. (This is similar to some bugs that were fixed earlier today.) svn-id: r35811
2009-01-10Update Joachim's role as requested by him.Eugene Sandulenko
svn-id: r35809
2009-01-10open browser dialog before manipulating it (fixes assert when pressing 'add ↵Willem Jan Palenstijn
game') svn-id: r35807
2009-01-08Fixed release critical bug #2472185. All transparent buttons should now ↵Vicent Marti
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-08Fixed revertion to "Add game" button string after a "Mass add" was processed.Johannes Schickel
svn-id: r35788
2009-01-05Tweak gui/ThemeData.* to not produce errors on certain system like Haiku (at ↵Max Horn
least I hope this will work :) svn-id: r35743
2009-01-03- Prevented full theme search when "builtin" theme was specifiedJohannes Schickel
- Only do a recursive search for themes with depth 1 in '.' svn-id: r35706
2009-01-02Fix compilation on Mac OS X; tiny simplificationMax Horn
svn-id: r35688
2009-01-02Cleanup.Johannes Schickel
svn-id: r35687
2009-01-02Fixed crash when returning to launcher from a 640x480 game running with a ↵Johannes Schickel
non 1x scaler. svn-id: r35686
2009-01-02- Moved theme listing code from GuiManager to ThemeEngineJohannes Schickel
- 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- Fixed --gui-theme command line descriptionJohannes Schickel
- Added --list-themes command line command to list available GUI themes svn-id: r35681
2009-01-02- Added support selection of themes via a basename again (This should fix ↵Johannes Schickel
bugs #2473213 "GUI: Theme selection oddities and regressions" and #2219605 "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-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2009-01-02Reverted the handling of mouse move events, now the slider widget should be ↵Johannes Schickel
highlighted correctly again. svn-id: r35667
2009-01-02Modified the way button highlights are processed when a widget is in ↵Johannes Schickel
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-02GUI: Redraw screen ASAP if the theme was changedMax Horn
svn-id: r35665
2009-01-02GUI: Create the _themeArchive once and then keep it; also do not reload ↵Max Horn
theme bitmaps needlessly svn-id: r35663
2009-01-02Got rid of GuiManager::clearDragWidget instead handle it via a new widget ↵Johannes Schickel
flag WIDGET_IGNORE_DRAG. svn-id: r35662
2009-01-02GUI: Fix the recent regression where starting games directly (bypassing the ↵Max Horn
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-01Fixed a typo in a comment, plus some slight re-wording.Torbjörn Andersson
svn-id: r35655
2009-01-01cleanupMax Horn
svn-id: r35654
2009-01-01Revamping the handling of GUI themes a bit:Max Horn
* 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-01Added two FIXMEs to global options dialog, related to theme selectionMax Horn
svn-id: r35650
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2009-01-01Restore the text background of pop-up widgets to fix the glitch on classic ↵Jordi Vilalta Prat
theme when changing the option with the mouse wheel svn-id: r35647
2008-12-31ThemeEngine:Max Horn
* 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-31cleanupMax Horn
svn-id: r35635
2008-12-31Proper fix: Readded the const keyword, together with the missing data type ↵Filippos Karapetis
in ThemeEngine.h svn-id: r35634
2008-12-31Removed "const" keyword from kDrawDataDefaults. MSVC complains that "'const' ↵Filippos Karapetis
static/global data initialized with compiler generated default constructor fills the object with zeros", in ThemeEngine.h line 123 svn-id: r35632
2008-12-31ThemeEngine changes:Max Horn
* removed lots of dead code / methods * fixed bad Doxygen comments (they were attached to the wrong member variables) * some cleanup svn-id: r35631