aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
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.
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
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-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-11GRAPHICS: Remove unused variableWillem Jan Palenstijn
2012-02-09GRAPHICS: Switch to integer based JPEG IDCTBastien Bouclet
Based on public domain code, and explanations from : http://halicery.com/jpeg/idct.html Thanks.
2012-02-09GRAPHICS: Add support for JPEG files using a restart intervalBastien Bouclet
Patch by Scott and clone2727
2012-02-02GRAPHICS: Obtain pointer to dst surface after bounds checks in TTF renderer.Johannes Schickel
This should really make sure we are not drawing outside the surface bounds.
2012-02-02GRAPHICS: Use monochrome font hinter for TTF's monochrome loading.Johannes Schickel
2012-01-29GRAPHICS/GUI: Implement charset mapping for TTF fonts.Johannes Schickel
The charsets used by the translations now need to have a "$(name).cp" file, which contains an charset index => unicode mapping. Otherwise create_translations will fail.
2012-01-29GRAPHICS/GUI: Implement kerning support for Font.Johannes Schickel
This adapts the related graphics code, which is the generic Font API and the TTF font implementation. It furthermore adapts the GUI to properly take care of kerning in text input widgets.
2012-01-29GRAPHICS: Add a TTF font class using FreeType2.Johannes Schickel
2012-01-07GRAPHICS: Silence a false positive warning in MSVCFilippos Karapetis
2012-01-07GRAPHICS: Let FontManager::setFont accept an "const BdfFont *".Johannes Schickel
As the documentation points out this method currently only works for BDF fonts, thus it is safer to let it actually just accept such.
2012-01-07GUI: Rework how the default localized font is managed.Johannes Schickel
Now we set the default localized font to the "text_default" font of the currently active theme and default to the big GUI font in case none is specified properly.
2012-01-07GRAPHICS: Slight formatting fix.Johannes Schickel
2012-01-06GRAPHICS: Whops. Fix misformatting introduced with 243de59.Johannes Schickel
2012-01-06GRAPHICS: Properly return 0 for late BDF cache loading fails.Johannes Schickel
2012-01-06GRAPHICS: Slight cleanup in BDF code.Johannes Schickel
2012-01-06GRAPHICS: Slight formatting fixes in jpeg.cpp.Johannes Schickel
2012-01-06GRAPHICS: Rework BDF font code.Johannes Schickel
2012-01-05GRAPHICS: The PNG decoder is not used by our GUI.Johannes Schickel
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-19GRAPHICS: Fix PICT lines with large pitchesMatthew Hoops
2011-12-14GUI: Implement dithering for tabs and round squaresEugene Sandulenko
2011-12-12Merge remote branch 'upstream/master' into pegasusMatthew Hoops
Conflicts: video/qt_decoder.cpp
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-21ALL: Remove unnecessary forward declarations.Christoph Mallon
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-14GRAPHICS: Comment unused variablesEugene Sandulenko
2011-10-27GRAPHICS: Add a Surface wrapper for drawThickLineMatthew Hoops
2011-10-27GRAPHICS: Make drawThickLine take a thickness in both x and y directionsMatthew Hoops
2011-10-07GRAPHICS: Fix PICT buffer overflowMatthew Hoops
2011-10-07GRAPHICS: Add support for true 32bpp DirectBits imagesMatthew Hoops
2011-10-07GRAPHICS: Add support for multiple CompressedQuickTime callsMatthew Hoops
2011-10-07GRAPHICS: Properly parse the CompressQuickTime headerMatthew Hoops
2011-10-07GRAPHICS: Rewrite PictDecoder's opcode handlingMatthew Hoops
In preparation for adding support for multiple CompressedQuickTime opcodes
2011-11-14COMMON: Remove some double-underscore defines (reserved)Willem Jan Palenstijn
2011-10-23GUI: Add support for PNG images in themesEugene Sandulenko
2011-09-06GRAPHICS: Remove dithering code.Johannes Schickel
The code is not used anymore and neither the Mohawk developers, who expressed that they might need dithering for some games, nor DrMcCoy, who wrote it, need this code anymore. In the worst case if anyone needs it again, we can revert this commit.
2011-08-23GRAPHICS: Formatting.Johannes Schickel
2011-08-23GRAPHICS: Display warning in case the SJIS.FNT version does not match.Johannes Schickel
2011-08-22GRAPHICS: Fix indentationSven Hesse
2011-08-21BADA: Fixup indentation using tabs in lieu of space charsChris Warren-Smith
2011-08-21BADA: Code formatting and style changes following reviewChris Warren-Smith
2011-08-21BADA: Prevent assertion failure when allocating zero bytesChris Warren-Smith