Filippos Karapetis
614de0d761
GRAPHICS: Remove trailing whitespace
2014-10-28 15:38:50 +02:00
Einar Johan Trøan Sømåen
0593c2eab2
GRAPHICS: Fix some Doxygen comments that seem wrong.
2014-08-29 03:26:48 +02:00
Narek Mailian
5c00dbbd2a
GRAPHICS: Add support for Soft Shadows with rounded squares
2013-08-16 20:54:08 +02:00
Narek Mailian
887a99e211
GRAPHICS: Added changes and improved code from inisider/scummvm (partial text)
...
Includes code from https://github.com/inisider/scummvm/ , which has been
squashed and bugfixed
2013-08-16 20:54:08 +02:00
Johannes Schickel
5111746911
GRAPHICS: Take advantage of Surface::getPixels.
2013-08-03 04:02:49 +02:00
Johannes Schickel
affb7c3cb3
GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Eugene Sandulenko
1dbc41d411
GUI: Move _gradientBytes to VectorRendererSpec
2011-12-10 11:51:10 +00:00
MaximRussia
ad4471f70c
GUI: Improved pop up and scrollbar arrows look
...
Previous triangle drawing was all wrong, rewrote it from the scratch.
Added padding to drawsteps in stx files
2011-12-07 14:04:10 +00:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
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