Eugene Sandulenko
01f9006ee7
GUI: Implement tooltips. FR #2821513 .
...
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-06-15 10:52:35 +00:00
Johannes Schickel
38b2b3c04f
Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
...
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Johannes Schickel
d8b2baee97
Rename 'font_color' attribute for 'text' draw step to 'text_color'.
...
svn-id: r43206
2009-08-10 14:05:14 +00:00
Johannes Schickel
f812d0e7b7
Made font color configuration independend from font style configuration.
...
svn-id: r43205
2009-08-10 13:46:17 +00:00
Max Horn
a882a6f467
GUI: Replaced ThemeParser::_drawFunction hashmap by a static function getDrawingFunctionCallback which maps strings to draw funcs
...
svn-id: r41931
2009-06-28 19:57:27 +00:00
Eugene Sandulenko
b0db1b5ed0
Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".
...
- 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-06 17:52:44 +00:00
Eugene Sandulenko
b0f7f2e8d4
Implement widget property "textalign". Added it to all theme layouts
...
svn-id: r41265
2009-06-06 17:51:41 +00:00
Max Horn
21ebc88b00
GUI: Commited fix for bug in ThemeParser::parserCallback_defaults (at least I think this is the correct fix, somebody should review this)
...
svn-id: r39812
2009-04-03 15:12:46 +00:00
Max Horn
c9e97bf6f9
GUI: Some cleanup and renaming; moved some parsing code from ThemeEngine to ThemeParser
...
svn-id: r35898
2009-01-18 14:48:00 +00:00
Johannes Schickel
690b88f982
Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
...
svn-id: r35668
2009-01-02 03:21:40 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Max Horn
c0f82d3518
Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with GUI::ThemeEngine::TextAlignVertical
...
svn-id: r35023
2008-11-12 14:30:16 +00:00
Vicent Marti
b98f89c7f0
Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
...
Massive cleanup.
svn-id: r34983
2008-11-10 11:24:55 +00:00
Max Horn
1ad8e59c12
minor tweaks
...
svn-id: r34961
2008-11-09 15:59:14 +00:00
Max Horn
53d530af37
Got rid of some more 'using' usages
...
svn-id: r34960
2008-11-09 15:22:36 +00:00
Max Horn
f5b70114ca
Removed many unnecessary #includes
...
svn-id: r34959
2008-11-09 15:14:01 +00:00
Max Horn
0508fec8a8
Pushing down some header deps
...
svn-id: r34936
2008-11-08 01:30:32 +00:00
Vicent Marti
820a45d851
Fixed: Parser crash when adding an XML layout with an unhandled type.
...
svn-id: r34801
2008-10-14 17:29:48 +00:00
Max Horn
4a56e0d9c1
Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a single getEvaluator() method
...
svn-id: r34789
2008-10-12 22:25:35 +00:00
Vicent Marti
dcc72fe29e
Massive refactoring/cleanup on the theme engine/parser.
...
svn-id: r34285
2008-09-02 17:51:08 +00:00
Vicent Marti
7c213ab110
Tons of misc. GFX fixes.
...
svn-id: r33911
2008-08-15 19:10:37 +00:00
Vicent Marti
784c1114cc
Deprecated support for "direction" layout keys.
...
svn-id: r33904
2008-08-15 16:44:44 +00:00
Vicent Marti
8eaa982c41
Added Classic Theme - WIP (yes, it's working).
...
Added Builtin theme back.
Added Python script to automatically build themes.
svn-id: r33868
2008-08-14 18:43:27 +00:00
Vicent Marti
0bf2187039
Finished GUI layout in g1x.
...
svn-id: r33818
2008-08-13 10:42:01 +00:00
Vicent Marti
a4b3434af9
Bugfix: Selection background too short when scrollbar not present.
...
Bugfix: Vector renderer drawstep for bitmap blitting.
Added bitmap GFX for checkboxes.
svn-id: r33771
2008-08-10 22:03:00 +00:00
Vicent Marti
8a31616f46
Bitmap cursor loading from XML files.
...
svn-id: r33760
2008-08-10 17:22:12 +00:00
Vicent Marti
103a4f6681
Added support for image loading/blitting.
...
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-09 18:34:16 +00:00
Vicent Marti
ea69217a13
Fixed 1.000.000 Valgrind warnings.
...
svn-id: r33711
2008-08-09 14:15:34 +00:00
Vicent Marti
dab1fa0942
Resolution-dependence in XML files.
...
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-08 18:30:16 +00:00
Vicent Marti
39c28e434b
SCUMM general and options dialog.
...
Misc fixes.
svn-id: r33692
2008-08-07 23:23:21 +00:00
Vicent Marti
7c132d340a
Misc text drawing improvements.
...
Added carets/text edit widgets.
svn-id: r33684
2008-08-07 18:42:47 +00:00
Vicent Marti
21989844a9
Game Options menu parsing.
...
Added support for importing layouts inside other layouts.
Misc bugfixes.
svn-id: r33676
2008-08-07 10:53:33 +00:00
Vicent Marti
8cb26074bd
Added support for customized background dimming on dialogs.
...
Bugfix: Popup widgets were dimming the background.
svn-id: r33663
2008-08-06 15:06:22 +00:00
Vicent Marti
bd0cdd0f74
Cleanup on default theme.
...
Added support for Widget Type Declaration (makes XML much cleaner).
svn-id: r33661
2008-08-06 14:28:37 +00:00
Vicent Marti
ef7a14dbe2
Options menu fully parsed. Needs tweaking.
...
svn-id: r33657
2008-08-06 10:50:28 +00:00
Vicent Marti
4256c35791
Options menu layout parsing, featuring the brand new FATPOPUPS.
...
svn-id: r33651
2008-08-05 23:58:45 +00:00
Vicent Marti
eb3d163439
Look, the launcher is rendered with the new layout parser.
...
svn-id: r33641
2008-08-05 16:23:17 +00:00
Vicent Marti
70ef503434
Massive refactoring on the layout parsing API.
...
Added support for layout spacings.
Fixed bug in theme conversion python script.
svn-id: r33630
2008-08-05 09:54:36 +00:00
Vicent Marti
dd46f8305e
Layout parsing. Work in progress. Looks like a GUI!
...
svn-id: r33616
2008-08-04 17:44:18 +00:00
Vicent Marti
85c36885f5
Theme layout parsing. Work in progress.
...
svn-id: r33613
2008-08-04 16:59:55 +00:00
Vicent Marti
a3f85956ff
Added basic support for inner shadows.
...
Made sliders look pretty much like the current GUI.
svn-id: r33548
2008-08-02 22:11:57 +00:00
Vicent Marti
a15ebfb73a
Theme Layout parsing, WIP.
...
svn-id: r33494
2008-08-01 15:45:02 +00:00
Vicent Marti
9bd3b07647
Support for XML layout with unspecified keys.
...
XML Layout parsing. WIP.
svn-id: r33488
2008-08-01 10:18:47 +00:00
Sven Hesse
169c4442d1
Silencing a compiler warning by adding a newline at the end of the file
...
svn-id: r33481
2008-07-31 20:37:34 +00:00
Vicent Marti
e8278c4c68
GUI Layout parsing. Work in progress.
...
svn-id: r33475
2008-07-31 17:23:38 +00:00
Vicent Marti
e7959952bb
Rewrote most of the XML parser class.
...
Added support for defining the XML layout when parsing, allows for safer parsing.
Updated all the documentation regarding the usage of the XMLParser class.
svn-id: r33447
2008-07-30 13:33:32 +00:00
Vicent Marti
4135134aea
Text renderin overhaul finished.
...
svn-id: r33251
2008-07-23 17:57:11 +00:00
Vicent Marti
b5086559b8
Font rendering overhaul. Work in progress.
...
svn-id: r33247
2008-07-23 16:38:39 +00:00
Vicent Marti
0883615a23
Cleanup.
...
Massive documentation update. (zzzzz)
svn-id: r33177
2008-07-21 19:15:59 +00:00