Willem Jan Palenstijn
66d3def0e5
GUI: Implement AAed tabs
...
The stroke effect isn't properly implemented yet since it isn't used
in the modern theme.
There are slight bleeding colours around the corners of the
tab_background when its corners overlap with the corners of the
underlying dialog. These are hard to avoid because the underlying dialog
destroys the background that we should be blending these corners with.
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
19cb2dc7e7
GUI: Add AA dialog corners on alpha overlays
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
905f9591ab
GUI: Speed up alpha blending with black for classic dialog backgrounds
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
2957321903
GUI: Rewrite AA rounded square renderer
...
This fixes bleeding of colours between different regions.
It also turns 'bevel' into an option that turns the stroke into a bevel,
and implements antialiased gradient-fills.
2012-02-20 22:17:28 +01:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Eugene Sandulenko
9d3eb2ebd7
GUI: Refactor gradient calculation into separate method
2011-12-10 11:51:10 +00:00
Eugene Sandulenko
1dbc41d411
GUI: Move _gradientBytes to VectorRendererSpec
2011-12-10 11:51:10 +00:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02: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
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
dcc2caf6d0
Misc performance fixes.
...
svn-id: r34398
2008-09-07 09:43:10 +00:00
Max Horn
6893418942
Fixing some compiler warnings
...
svn-id: r34341
2008-09-05 11:32:23 +00:00
Max Horn
83cc4e1c92
Use memcpy instead of hand-rolled colorCopy (on many systems, memcpy is hand-optimized asm or even a compiler built-in and *way* faster than any C code you could roll yourself -- it's way faster on my system, too)
...
svn-id: r34238
2008-09-01 12:41:46 +00:00
Vicent Marti
b53220d2cc
Split VectorRenderer interface from custom vector renderers.
...
svn-id: r34226
2008-08-31 13:51:48 +00:00