aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeParser.cpp
AgeCommit message (Collapse)Author
2016-08-24GUI: Implemented centering of dialog backgroundEugene Sandulenko
2016-08-24GUI: Added possibility to specify scale mode for AlphaBitmapsEugene Sandulenko
2016-08-24GUI: Plug NinePatch bitmaps into parserEugene Sandulenko
2016-08-24GUI: Implemented more modes to autoscaleEugene Sandulenko
2016-08-24GUI: Implemented alphabitmap autoscaleEugene Sandulenko
2016-08-24GUI: Added new alphabitmap image typeEugene Sandulenko
2013-04-24GUI: Plug memory leak. CID 1003572Eugene Sandulenko
2013-04-21GUI: Fix previous commitEugene Sandulenko
2013-04-21GUI: Add sanity check to config format. CID 1004153Eugene Sandulenko
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-01-29GUI: Add support for loading TTF files with ISO-8859-1 charset.Johannes Schickel
2011-12-07GUI: Improved pop up and scrollbar arrows lookMaximRussia
Previous triangle drawing was all wrong, rewrote it from the scratch. Added padding to drawsteps in stx files
2011-11-14COMMON: Remove some double-underscore defines (reserved)Willem Jan Palenstijn
2011-06-17GUI: fix uninitialized varathrxx
(caused rendering glitches when compiling with MSVC)
2011-06-17COMMON: Make use of Common::parseBoolMax Horn
2011-06-06COMMON: Remove vfprintf call from XML parserMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-24GUI: Make the ThemeParser less dumbdhewg
Instead of running into assert()s due to dumb parser decisions, use 'less than' and 'greater than' width/height conditions on the 'resolution' tags. Seems better than listing >9000 different android resolutions.
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-10-15COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::StringMax Horn
Almost all places where we used XMLParser::parseIntegerKey were using it like this: XMLParser::parseIntegerKey(str.c_str(), ...) Since this makes the code harder to read, I overloaded the method to also accept Commmon::String directly. Also removed all .c_str() invocations where necessary. svn-id: r53479
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-07-16Cleanup.Torbjörn Andersson
svn-id: r50925
2010-06-15GUI: Implement tooltips. FR #2821513.Eugene Sandulenko
FR #2821513: "GUI: add tooltips". Added tooltips for Add Game button, clear field buttons and couple other. Current problem: Only first call correctly restores text. I could not find where restore information gets lost. svn-id: r49774
2010-03-20Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).Johannes Schickel
svn-id: r48310
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-08-10Rename 'font_color' attribute for 'text' draw step to 'text_color'.Johannes Schickel
svn-id: r43206
2009-08-10Made font color configuration independend from font style configuration.Johannes Schickel
svn-id: r43205
2009-06-28GUI: Replaced ThemeParser::_drawFunction hashmap by a static function ↵Max Horn
getDrawingFunctionCallback which maps strings to draw funcs svn-id: r41931
2009-06-06Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".Eugene Sandulenko
- Split out label from PopUp widget - Aligned every widget on all layouts so GUI becomes to look nice again - Moved textHAlign to layout properties svn-id: r41266
2009-06-06Implement widget property "textalign". Added it to all theme layoutsEugene Sandulenko
svn-id: r41265
2009-04-03GUI: Commited fix for bug in ThemeParser::parserCallback_defaults (at least ↵Max Horn
I think this is the correct fix, somebody should review this) svn-id: r39812
2009-01-18GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ↵Max Horn
ThemeParser svn-id: r35898
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
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-09Got rid of some more 'using' usagesMax Horn
svn-id: r34960
2008-11-09Removed many unnecessary #includesMax Horn
svn-id: r34959
2008-11-08Pushing down some header depsMax Horn
svn-id: r34936
2008-10-14Fixed: Parser crash when adding an XML layout with an unhandled type.Vicent Marti
svn-id: r34801
2008-10-12Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a ↵Max Horn
single getEvaluator() method svn-id: r34789
2008-09-02Massive refactoring/cleanup on the theme engine/parser.Vicent Marti
svn-id: r34285
2008-08-15Tons of misc. GFX fixes.Vicent Marti
svn-id: r33911
2008-08-15Deprecated support for "direction" layout keys.Vicent Marti
svn-id: r33904
2008-08-14Added Classic Theme - WIP (yes, it's working).Vicent Marti
Added Builtin theme back. Added Python script to automatically build themes. svn-id: r33868
2008-08-13Finished GUI layout in g1x.Vicent Marti
svn-id: r33818
2008-08-10Bugfix: Selection background too short when scrollbar not present.Vicent Marti
Bugfix: Vector renderer drawstep for bitmap blitting. Added bitmap GFX for checkboxes. svn-id: r33771