aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.cpp
AgeCommit message (Collapse)Author
2009-01-18GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ↵Max Horn
ThemeParser svn-id: r35898
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-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-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-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-02GUI: Create the _themeArchive once and then keep it; also do not reload ↵Max Horn
theme bitmaps needlessly svn-id: r35663
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-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-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-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-26Fix for the SliderWidget glitch when showing very small values (and ↵Jordi Vilalta Prat
potentially for other small widgets) svn-id: r35557
2008-12-24Added FIXME in ThemeEngine::drawSlider.Johannes Schickel
svn-id: r35515
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-21Added ArchiveMember::getDisplayName() method; changed ↵Max Horn
ArchiveMember::getName() to always return a name compatible with Archive::openFile() svn-id: r35139
2008-11-20Fixed ZipArchive/FSDirectory creation.Johannes Schickel
svn-id: r35133
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-10Include required headerMax Horn
svn-id: r34985
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-11-09Removed many unnecessary #includesMax Horn
svn-id: r34959
2008-11-08Thou shalst never use the 'using' keyword in a header file, lest the wrath ↵Max Horn
of ye fingolfin will crush your sorrow bones to dust... *grrr* ;) svn-id: r34937
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-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
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-11-03Fix commentMax Horn
svn-id: r34880
2008-11-03Documented & cleaned up ThemeEngine::createCursorMax Horn
svn-id: r34879
2008-11-03Instead of allocating (and leaking, in case of an error) a 64k table with at ↵Max Horn
most 256 entries, use a HashMap svn-id: r34878
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-22Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML.Kari Salminen
svn-id: r34839
2008-10-22Committed updated version of my patch #2184529 "SearchSet: Get rid of ↵Johannes Schickel
SharedPtr usage". svn-id: r34837
2008-10-18Fixed: Invisible debugger console text in Classic theme.Vicent Marti
svn-id: r34816
2008-10-18ImageManager: Added support for generic archives (zips and folders).Vicent Marti
Theme Font Loading: Added support for generic archives. ThemeEngine: Removed dependency on Common::File and File::AddDefaultPath for image and font loading. svn-id: r34815
2008-10-18Fixed: "GUI: Crash in Debugger" (ID: 2169419)Vicent Marti
svn-id: r34814
2008-10-11Fixed yet another typoMax Horn
svn-id: r34775
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-10-11Some cleanup (in particular: do not convert String -> char * -> String ↵Max Horn
needlessly) & code unification (thanks to Common::Archive, regular files and those in .zip files can both be accessed via Common::File) svn-id: r34772
2008-10-10Fixed typo.Torbjörn Andersson
svn-id: r34765
2008-10-09Fixed warning when loading themes contained inside a folder.Vicent Marti
svn-id: r34763