aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.h
AgeCommit message (Collapse)Author
2009-04-09GUI: Rewrote the dirty rect handling code. Previously it was possible that ↵Max Horn
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-02-07Third attemp at fixing release-critical #2472185. Also fixes regression ↵Vicent Marti
reported in #2555710. svn-id: r36227
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-18Updated theme version to 0.4Max Horn
svn-id: r35914
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-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-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-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-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-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-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
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-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-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-11-12GUI: Blitting the full screen to the backbuffer (or vice versa) can be done ↵Max Horn
with a single memcpy, which is a bit faster than using _vectorRenderer->blitSurface svn-id: r35029
2008-11-12Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵Max Horn
GUI::ThemeEngine::TextAlignVertical svn-id: r35023
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-11-09minor tweaksMax Horn
svn-id: r34961
2008-11-09Partially merge classes Theme and ThemeEngine (saves another couple KB), ↵Max Horn
somebody (Tanoku?) should do a proper merge svn-id: r34951
2008-11-08Pushing down some header depsMax Horn
svn-id: r34936
2008-11-08Moved some internal stuff from ThemeEngine.h to ThemeEngine.cppMax Horn
svn-id: r34935
2008-11-04Some cleanup / handle the case where the themepath is neither pointing to a ↵Max Horn
dir nor to a .zip file svn-id: r34897
2008-11-04Reordered initialization lists to kill a ton of warnings.Nicola Mettifogo
svn-id: r34892
2008-10-29Store names for renderer configuration in config file instead of integers.Johannes Schickel
svn-id: r34867
2008-10-29Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to ↵Johannes Schickel
strip functionallity in theme renderer uneeded by small devices. svn-id: r34864
2008-10-29Bugfix: Dirty rectangle out of range when blitting into the overlay.Vicent Marti
svn-id: r34862
2008-10-12Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a ↵Max Horn
single getEvaluator() method svn-id: r34789
2008-10-12Don't force inline on big funcs if you don't have to (in this case, it added ↵Max Horn
24k to the binary size for no good reason) svn-id: r34783
2008-10-11GUI ThemeEngine changes:Max Horn
- removed unused typedefs - fixed some typos - got rid of pointless parser() method - unified theme XML loading code for Zip files and regular directories svn-id: r34774
2008-09-20Added global ingame menu definitions to theme files.Vicent Marti
svn-id: r34608
2008-09-05Fixing some compiler warningsMax Horn
svn-id: r34341
2008-09-02Massive refactoring/cleanup on the theme engine/parser.Vicent Marti
svn-id: r34285