aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
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
2008-12-29Fix for ""LAUNCHER: "(Mass) Add" buttons + built-in GUI = buggy"" (bug ID ↵Vicent Marti
2472185) svn-id: r35617
2008-12-29Updated Theme Package generator to work with Python 2.6-3.0 (push Python ↵Vicent Marti
forward!) svn-id: r35613
2008-12-29Changed PSP graphic modes to use low resolution themes (possible fix for bug ↵Vicent Marti
ID 2458134) svn-id: r35612
2008-12-281) Add the KeysDialog layout to the modern theme. 2) Improve somewhat the ↵Kostas Nakos
layout of the KeysDialog svn-id: r35592
2008-12-28Made the F6 and F5 (SCUMM only) menus fit in 320x200. I'd appreciate if someoneTorbjörn Andersson
who's more familiar with this could look at my changes, in case I messed up. svn-id: r35589
2008-12-27Renamed some stuffMax Horn
svn-id: r35574
2008-12-27GuiManager::runLoop: do not call OSystem::quit() when receiving EVENT_QUIT, ↵Max Horn
just return to the caller instead svn-id: r35573
2008-12-27GUI: Added Widget::setVisible convenience wrapperMax Horn
svn-id: r35572
2008-12-27Got rid of ThemeLayout::getDialogData; added some comments, asserts; moved ↵Max Horn
getParentW & getParentH to class ThemeLayoutStacked svn-id: r35571
2008-12-26Fix for the SliderWidget glitch when showing very small values (and ↵Jordi Vilalta Prat
potentially for other small widgets) svn-id: r35557
2008-12-26If more than 8 items have to be resized in a stacked theme layout, abort ↵Max Horn
with an error (instead of silently trashing the stack) svn-id: r35549
2008-12-26Merged ThemeLayoutHorizontal and ThemeLayoutVertical into a new class ↵Max Horn
ThemeLayoutStacked (suggestions for a better name are welcome); stored padding data in a Common::Rect svn-id: r35548
2008-12-26ThemeLayout::getParentW was calling getHeight instead of getWidth by mistake ↵Max Horn
(though this didn't seem to cause any problems anywhere... ?) svn-id: r35547
2008-12-26Fix for bug #2210082: GUI: Crash in GMM when changing scale factorMax Horn
svn-id: r35546
2008-12-26Some 'cleanup' of Gui::ThemeLayoutMax Horn
svn-id: r35545
2008-12-25Renamed NewGui to GuiManagerMax Horn
svn-id: r35544
2008-12-24Added valueToBarWidth to calculate SliderWidget's bar width like it was done ↵Jordi Vilalta Prat
before (as discussed with LordHoto) svn-id: r35519
2008-12-24Removed Ender from SCUMM credits (matching other retired team members, like ↵Max Horn
ludde and yazor) svn-id: r35517
2008-12-24Added FIXME in ThemeEngine::drawSlider.Johannes Schickel
svn-id: r35515
2008-12-23Modify the PopUpWidget selection by using the mouse wheelJordi Vilalta Prat
svn-id: r35514
2008-12-23Modify the SliderWidget value by using the mouse wheelJordi Vilalta Prat
svn-id: r35513
2008-12-22Tweaked the Modern theme colors to make it look more like it did in the old ↵Jordi Vilalta Prat
renderer svn-id: r35490
2008-12-22Changed the game chooser to make the game candidates not editable and ↵Jordi Vilalta Prat
selectable by pressing enter svn-id: r35489
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-12-22Allow the disabled state of the popup widget to be themedJordi Vilalta Prat
svn-id: r35480
2008-12-17Added KeyConfiguration dialog to classic theme(320 and normal). Updated ↵Lars Persson
KeysDialog to follow xml syntax properly. svn-id: r35416
2008-12-16Set SMALL SCREEN DEVICE settings in ::open function with new UI frameworkLars Persson
svn-id: r35404
2008-12-14Add Tucker engine to creditsEugene Sandulenko
svn-id: r35361
2008-12-03Added Groovie creditsJordi Vilalta Prat
svn-id: r35219
2008-12-01News update: Ender stepping down as project leadMax Horn
svn-id: r35202
2008-11-28Added Cyx to SCUMM creditsMax Horn
svn-id: r35169
2008-11-21Added ArchiveMember::getDisplayName() method; changed ↵Max Horn
ArchiveMember::getName() to always return a name compatible with Archive::openFile() svn-id: r35139
2008-11-21GUI: Simplify ThemeBrowser codeMax Horn
svn-id: r35138
2008-11-20Fixed ZipArchive/FSDirectory creation.Johannes Schickel
svn-id: r35133
2008-11-20GUI: Reduce space used by creditsMax Horn
svn-id: r35127
2008-11-13Moved binary theme parser to tools folder.Vicent Marti
svn-id: r35049