Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-09 | Rewrote Common::List iterator code to ensure const correctness is preserved. | Max Horn | |
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-02-15 | Merged revisions 36329, 38212, 38226and 38234 from branch-0-13-0 to trunk: ↵ | Oystein Eftevaag | |
iPhone backend updates svn-id: r38240 | |||
2009-02-07 | Third attemp at fixing release-critical #2472185. Also fixes regression ↵ | Vicent Marti | |
reported in #2555710. svn-id: r36227 | |||
2009-01-23 | Changed Graphics::ImageDecoder to allow custom PixelFormats | Max Horn | |
svn-id: r36026 | |||
2009-01-23 | Renamed Archive::openFile to createReadStreamForMember | Max Horn | |
svn-id: r36021 | |||
2009-01-23 | Renamed ArchiveMember::open -> createReadStream, and made it a cv member ↵ | Max Horn | |
(const); same for Archive::openFile svn-id: r36020 | |||
2009-01-22 | Fix 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-22 | Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵ | Max Horn | |
into methods, and added an operator== svn-id: r35993 | |||
2009-01-18 | GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ↵ | Max Horn | |
ThemeParser svn-id: r35898 | |||
2009-01-17 | Merged gui/ThemeData.cpp into ThemeEngine.cpp | Max Horn | |
svn-id: r35881 | |||
2009-01-17 | Removed unused & incomplete widget caching code | Max Horn | |
svn-id: r35880 | |||
2009-01-14 | Use 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-08 | Fixed 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 specified | Johannes Schickel | |
- Only do a recursive search for themes with depth 1 in '.' svn-id: r35706 | |||
2009-01-02 | Fix compilation on Mac OS X; tiny simplification | Max Horn | |
svn-id: r35688 | |||
2009-01-02 | Cleanup. | Johannes Schickel | |
svn-id: r35687 | |||
2009-01-02 | - Moved theme listing code from GuiManager to ThemeEngine | Johannes 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 | GUI: Create the _themeArchive once and then keep it; also do not reload ↵ | Max Horn | |
theme bitmaps needlessly svn-id: r35663 | |||
2009-01-02 | GUI: 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-01 | cleanup | Max Horn | |
svn-id: r35654 | |||
2009-01-01 | Revamping 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-01 | Whoa! Removing trailing spaces. | Eugene Sandulenko | |
svn-id: r35648 | |||
2009-01-01 | Restore 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-31 | ThemeEngine: | 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-31 | ThemeEngine 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-29 | Fix for ""LAUNCHER: "(Mass) Add" buttons + built-in GUI = buggy"" (bug ID ↵ | Vicent Marti | |
2472185) svn-id: r35617 | |||
2008-12-26 | Fix for the SliderWidget glitch when showing very small values (and ↵ | Jordi Vilalta Prat | |
potentially for other small widgets) svn-id: r35557 | |||
2008-12-24 | Added FIXME in ThemeEngine::drawSlider. | Johannes Schickel | |
svn-id: r35515 | |||
2008-12-22 | Fixed indentation and removed whitespaces at the end of line | Jordi Vilalta Prat | |
svn-id: r35481 | |||
2008-12-22 | Allow the disabled state of the popup widget to be themed | Jordi Vilalta Prat | |
svn-id: r35480 | |||
2008-11-21 | Added ArchiveMember::getDisplayName() method; changed ↵ | Max Horn | |
ArchiveMember::getName() to always return a name compatible with Archive::openFile() svn-id: r35139 | |||
2008-11-20 | Fixed ZipArchive/FSDirectory creation. | Johannes Schickel | |
svn-id: r35133 | |||
2008-11-12 | GUI: 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-12 | Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵ | Max Horn | |
GUI::ThemeEngine::TextAlignVertical svn-id: r35023 | |||
2008-11-10 | Include required header | Max Horn | |
svn-id: r34985 | |||
2008-11-10 | Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine. | Vicent Marti | |
Massive cleanup. svn-id: r34983 | |||
2008-11-09 | Removed many unnecessary #includes | Max Horn | |
svn-id: r34959 | |||
2008-11-08 | Thou 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-08 | Pushing down some header deps | Max Horn | |
svn-id: r34936 | |||
2008-11-08 | Moved some internal stuff from ThemeEngine.h to ThemeEngine.cpp | Max Horn | |
svn-id: r34935 | |||
2008-11-06 | Got 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-04 | Some 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-04 | Reordered initialization lists to kill a ton of warnings. | Nicola Mettifogo | |
svn-id: r34892 | |||
2008-11-03 | Fix comment | Max Horn | |
svn-id: r34880 | |||
2008-11-03 | Documented & cleaned up ThemeEngine::createCursor | Max Horn | |
svn-id: r34879 | |||
2008-11-03 | Instead 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-29 | Store names for renderer configuration in config file instead of integers. | Johannes Schickel | |
svn-id: r34867 | |||
2008-10-29 | Committed 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-22 | Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML. | Kari Salminen | |
svn-id: r34839 | |||
2008-10-22 | Committed updated version of my patch #2184529 "SearchSet: Get rid of ↵ | Johannes Schickel | |
SharedPtr usage". svn-id: r34837 |