Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +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
Johannes Schickel
b8d2c41cdd
Remove VECTOR_RENDERER_FORMAT check and related documentation.
...
svn-id: r38405
2009-02-17 12:20:40 +00:00
Max Horn
a351648358
Rewrote VectorRendererSpec & VectorRendererAA to use a Graphics::PixelFormat, instead of relying on color masks -> should fix bug #2537212 , possibly at a slow down on low-end systems (a regression which we certainly could resolve, though). Note: I left the PixelType template param in on purpose, in case we want one day to compile in both 16 and 32 bit pixel support simultaneously
...
svn-id: r36288
2009-02-13 00:03:13 +00:00
Max Horn
e354c4b4f2
Got rid of VectorRenderer::surfacePitch() & VectorRenderer::bytesPerPixel(): the latter was not used, for the former it is silly to go through a virtual method to compute that value; all in all, this code performs too many unnecessary divisions ;)
...
svn-id: r36151
2009-01-30 16:18:58 +00:00
Max Horn
f465abb75d
Removed unused area convolution code from VectorRenderer
...
svn-id: r36148
2009-01-30 15:43:45 +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
Nicola Mettifogo
33b6bc4215
Reordered initialization lists to kill a ton of warnings.
...
svn-id: r34892
2008-11-04 05:29:53 +00:00
Johannes Schickel
d8a76a6b59
Typo.
...
svn-id: r34866
2008-10-29 20:05:59 +00:00
Johannes Schickel
ebcb486191
Enable gui renderer for all bit depths we support currently.
...
svn-id: r34865
2008-10-29 20:02:56 +00:00
Johannes Schickel
98b0c4b33c
Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to strip functionallity in theme renderer uneeded by small devices.
...
svn-id: r34864
2008-10-29 19:48:15 +00:00
Max Horn
ca53370157
Fix some in-line doxygen comments to document the correct member(s); also fixed some typos
...
svn-id: r34781
2008-10-12 21:56:03 +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
b53220d2cc
Split VectorRenderer interface from custom vector renderers.
...
svn-id: r34226
2008-08-31 13:51:48 +00:00
Vicent Marti
7c213ab110
Tons of misc. GFX fixes.
...
svn-id: r33911
2008-08-15 19:10:37 +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
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
52f3551587
Bugfix: Several text-drawing issues.
...
Bugfix: Overlapping text in text edit dialogs.
svn-id: r33768
2008-08-10 18:56:10 +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
1ea3301a8a
SCUMM save/load dialog.
...
Expanded documentation.
Added support for sub-blitting in the vector renderer.
svn-id: r33697
2008-08-08 10:37:58 +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
c5980b6211
Screen/dialog dimming.
...
svn-id: r33532
2008-08-02 16:23:58 +00:00
Vicent Marti
7cb23c76a2
Improved looks on the Modern theme in the new GUI.
...
Added support for including externally the default theme in the code.
Added Modern theme as a separate XML file in the themes/ dir.
Added "makedeftheme.py" script to convert XML themes into include files.
svn-id: r33528
2008-08-02 15:15:32 +00:00
Vicent Marti
01b7d26956
Replicating the trunk GUI theme. WIP.
...
svn-id: r33508
2008-08-01 21:51:30 +00:00
Vicent Marti
e8d1527746
Convolution filters for the vector renderer. Pretty cool.
...
svn-id: r33319
2008-07-26 22:58:02 +00:00
Vicent Marti
49b4df308f
Fixed triangle drawing. A bit.
...
svn-id: r33268
2008-07-25 00:59:53 +00:00
Vicent Marti
7f0aa32d51
Improved text handling.
...
Fixed About dialog scroll-out text.
svn-id: r33257
2008-07-23 22:32:00 +00:00
Vicent Marti
b5086559b8
Font rendering overhaul. Work in progress.
...
svn-id: r33247
2008-07-23 16:38:39 +00:00
Vicent Marti
c7b624d91e
Bugfix: Rounded squares at low resolutions were not drawn.
...
Cleanup.
svn-id: r33179
2008-07-21 19:42:35 +00:00
Vicent Marti
89a21f1613
Valgrind fix: Invalid read/write while restoring background
...
svn-id: r33166
2008-07-21 09:53:06 +00:00
Vicent Marti
9aa07d206e
Rendering pipeline. Broken WIP.
...
svn-id: r33152
2008-07-20 21:47:28 +00:00
Vicent Marti
6214815e6e
Finished tabs drawing.
...
Added support for dynamic parameters in the Vector Renderer.
svn-id: r33088
2008-07-17 08:36:16 +00:00
Vicent Marti
47119ee8b1
Tab widget / tab drawing for the renderer. Improved text handling.
...
svn-id: r33076
2008-07-15 18:53:22 +00:00
Vicent Marti
b44b37d4ca
More widgets.
...
svn-id: r33071
2008-07-15 10:50:31 +00:00
Vicent Marti
4cb2b8c3c4
Improved support for graphics positioning.
...
More widgets.
New triangle drawing function.
svn-id: r33027
2008-07-13 10:50:57 +00:00
Vicent Marti
4539cdf218
- Better support for relative positions in Vector Renderer.
...
- More widgets.
svn-id: r33016
2008-07-12 18:17:11 +00:00
Vicent Marti
a90be07c3e
Support for Vertical text alignement.
...
svn-id: r32995
2008-07-10 20:36:02 +00:00
Vicent Marti
e0aad7f4be
Bugfix: Delayed loading of fonts
...
svn-id: r32993
2008-07-10 16:37:45 +00:00
Vicent Marti
ccf9368c53
Added support for Text Steps in the Vector Renderer.
...
svn-id: r32991
2008-07-10 15:50:44 +00:00
Vicent Marti
92ef8dd750
Rendering pipeline. Bugfixes / debug widgets.
...
svn-id: r32946
2008-07-07 18:37:22 +00:00
Vicent Marti
9b7faedb0d
Bug fixes for "judgement day" (yay).
...
svn-id: r32932
2008-07-06 21:38:26 +00:00
Vicent Marti
96f2d9ca18
Memory leaks.
...
Bug fixes.
svn-id: r32908
2008-07-04 20:05:30 +00:00
Vicent Marti
8240e5b96d
Rendering pipeline. WIP.
...
(I see working buttons)
svn-id: r32898
2008-07-03 19:42:04 +00:00
Vicent Marti
48fd843e75
Rendering pipeline. WIP.
...
svn-id: r32882
2008-07-03 10:26:55 +00:00
Vicent Marti
d385c34dd0
InterfaceManager functionality translated into a Theme subclass "ThemeRenderer" to easen integration with the current GUI.
...
svn-id: r32876
2008-07-02 18:11:41 +00:00
Vicent Marti
f1173f52a2
Changes to rendering pipeline. WIP.
...
svn-id: r32837
2008-06-29 12:08:53 +00:00
Vicent Marti
42036e7fd3
Expanded parser.
...
Added regex support for Common::String
Changed drawstep state saving.
svn-id: r32729
2008-06-18 00:15:21 +00:00