aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeParser.cpp
AgeCommit message (Collapse)Author
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
2008-08-10Bitmap cursor loading from XML files.Vicent Marti
svn-id: r33760
2008-08-09Added support for image loading/blitting.Vicent Marti
Added support for loading theme files. (Make sure to grab the sample theme "scummodern.zip" from the gui/themes/ directory to try it out) Misc fixes. svn-id: r33718
2008-08-09Fixed 1.000.000 Valgrind warnings.Vicent Marti
svn-id: r33711
2008-08-08Resolution-dependence in XML files.Vicent Marti
G1X scaler GUI now loads. Added layout for the launcher menu. MILESTONE: All core GUI dialogs/widgets working on G2x/G3x MILESTONE: Completely removed old Evaluator/Parser. Improved layout expanding again. Improved XML parser. Several bugfixes. svn-id: r33704
2008-08-07SCUMM general and options dialog.Vicent Marti
Misc fixes. svn-id: r33692
2008-08-07Misc text drawing improvements.Vicent Marti
Added carets/text edit widgets. svn-id: r33684
2008-08-07Game Options menu parsing.Vicent Marti
Added support for importing layouts inside other layouts. Misc bugfixes. svn-id: r33676
2008-08-06Added support for customized background dimming on dialogs.Vicent Marti
Bugfix: Popup widgets were dimming the background. svn-id: r33663
2008-08-06Cleanup on default theme.Vicent Marti
Added support for Widget Type Declaration (makes XML much cleaner). svn-id: r33661
2008-08-06Options menu fully parsed. Needs tweaking.Vicent Marti
svn-id: r33657
2008-08-05Options menu layout parsing, featuring the brand new FATPOPUPS.Vicent Marti
svn-id: r33651
2008-08-05Look, the launcher is rendered with the new layout parser.Vicent Marti
svn-id: r33641
2008-08-05Massive refactoring on the layout parsing API.Vicent Marti
Added support for layout spacings. Fixed bug in theme conversion python script. svn-id: r33630
2008-08-04Layout parsing. Work in progress. Looks like a GUI!Vicent Marti
svn-id: r33616
2008-08-04Theme layout parsing. Work in progress.Vicent Marti
svn-id: r33613
2008-08-02Added basic support for inner shadows.Vicent Marti
Made sliders look pretty much like the current GUI. svn-id: r33548
2008-08-01Theme Layout parsing, WIP.Vicent Marti
svn-id: r33494
2008-08-01Support for XML layout with unspecified keys.Vicent Marti
XML Layout parsing. WIP. svn-id: r33488
2008-07-31Silencing a compiler warning by adding a newline at the end of the fileSven Hesse
svn-id: r33481