aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.cpp
AgeCommit message (Collapse)Author
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-02-20GUI: Fix mingw-w64 build errorsWillem Jan Palenstijn
2012-02-20GUI: Implement AAed tabsWillem Jan Palenstijn
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-20GUI: Add AA dialog corners on alpha overlaysWillem Jan Palenstijn
2012-02-20GUI: Minor cleanupWillem Jan Palenstijn
2012-02-20GUI: Speed up alpha blending with black for classic dialog backgroundsWillem Jan Palenstijn
2012-02-20GUI: Keep dst alpha unchanged when blending coloursWillem Jan Palenstijn
2012-02-20GUI: Rewrite AA rounded square rendererWillem Jan Palenstijn
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.
2011-12-29GRAPHICS: Crash fix for bug #3466536 ("Assertion on MIDI gain slider").D G Turner
This fixes the crash, but the Midi Gain slider (and probably any other slider bar in modern theme) still distorts the left corner shape when the slider thumb is at very small values...
2011-12-14GUI: Implement dithering for tabs and round squaresEugene Sandulenko
2011-12-10GRAPHICS: Fix compiler warnings.Alyssa Milburn
2011-12-10GUI: Refactor gradient calculation into separate methodEugene Sandulenko
2011-12-10GUI: Move _gradientBytes to VectorRendererSpecEugene Sandulenko
2011-12-10GUI: Implemented color dithering for backgroundEugene Sandulenko
2011-12-07GUI: Improved pop up and scrollbar arrows lookMaximRussia
Previous triangle drawing was all wrong, rewrote it from the scratch. Added padding to drawsteps in stx files
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-11-14COMMON: Remove some double-underscore defines (reserved)Willem Jan Palenstijn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-08-25GUI: Fixed bug #2505686: "GUI: minor artifacts in rounded corners"Eugene Sandulenko
It is practically not possible to get rid of those completely due to rounding errors with 16-bit surface. svn-id: r52367
2010-03-18Commit salty-horse's patch for VectorRendererSpec.cpp, which fixes the use ↵Johannes Schickel
of invalid C++. svn-id: r48291
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-07-30Fixed missing clearing of the low bit of the alpha mask in the "dim" screen ↵Johannes Schickel
shading function. svn-id: r42935
2009-07-30Fix bug #2829737: "GUI: Wrong background colours on dialog screens (IRIX)".Johannes Schickel
svn-id: r42934
2009-07-16Fixed bug 2820514 ("Help dialog causes crash")Vicent Marti
svn-id: r42537
2009-07-16Formatting.Johannes Schickel
svn-id: r42530
2009-07-16Fixed issue with beveled shapes being drawn outside their shapes. Possible ↵Vicent Marti
regressions. svn-id: r42529
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-06Silence warnings. Const correctnessEugene Sandulenko
svn-id: r40347
2009-03-11Fixed bug #2619802 (Game name overwrites scroll bar).Vicent Marti
svn-id: r39335
2009-02-18Honour alpha bits in applyScreenShading() (used in "add game", "edit game" ↵Joost Peters
and "options" dialogs). svn-id: r38478
2009-02-17Fixed bug #2609755 (GUI memory corruption).Vicent Marti
svn-id: r38447
2009-02-16Change formatting to match our code guidelines.Johannes Schickel
svn-id: r38382
2009-02-16Cleanup.Johannes Schickel
svn-id: r38381
2009-02-16Removed obsolete FIXME.Johannes Schickel
svn-id: r38380
2009-02-16Fixed VectorRenderSpec for no fancy theme!Lars Persson
svn-id: r38377
2009-02-13GUI: Fixed long-standing bug in calcGradient (gradients look a bit better now)Max Horn
svn-id: r36311
2009-02-13cleanupMax Horn
svn-id: r36309
2009-02-13Rewrote VectorRendererSpec & VectorRendererAA to use a ↵Max Horn
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-12GUI renderer: some cleanup; added comment on sqrt implementation (on my ↵Max Horn
system, plain sqrt is 50x faster -- on highest optimization levels, otherwise it is something like 200x) svn-id: r36277
2009-02-01Silenced MSVC warning (MSVC is being silly here...)Filippos Karapetis
svn-id: r36185
2009-02-01Merged r36175 from branch-0-13-0:Marcus Comstedt
Fixed alpha blending in the UI dialogs by adding alpha computation to the blendPixelPtr() function. To minimize impact, pre-multiplied alpha is assumed, meaning that the blending of the R, G and B components is the same both with and without hardware alpha. svn-id: r36177
2009-01-30Got rid of VectorRenderer::surfacePitch() & ↵Max Horn
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-30Removed unused area convolution code from VectorRendererMax Horn
svn-id: r36148
2009-01-26error out when no renderer was created due to unknown/unsupported PixelFormatJoost Peters
svn-id: r36074
2009-01-22Got rid of several occurrences of gBitFormatMax Horn
svn-id: r35995
2008-12-26Fix for the SliderWidget glitch when showing very small values (and ↵Jordi Vilalta Prat
potentially for other small widgets) svn-id: r35557