aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.cpp
AgeCommit message (Collapse)Author
2015-11-09GUI: Use after freeBertrand Augereau
2015-11-09GUI: strncat needs a destination C-stringBertrand Augereau
2015-11-07GUI: Removed 64k limit on built-in theme XML sizeEugene Sandulenko
2014-06-09GRAPHICS: Allow client code to specify TTF render mode.Johannes Schickel
This allows clients to use the default FreeType2 render mode instead of light. We really only use light as default because that's what looks best with the font we use in our GUI right now (which is the same reason why formerly light was always used in non-monochrome mode).
2014-02-28IMAGE: Move all ImageDecoders to image/Matthew Hoops
2013-11-14GUI: Fix for potential bad cursor palette access in warning case.Joel Teichroeb
Previously, if the colorsFound exceeded the maximum number of cursor colors, a bad access to the cursor palette buffer could be performed before the warning was emitted. This reordering avoids that.
2013-08-22Merge pull request #361 from rundfunk47/guiimprovementsEugene Sandulenko
GUI: Various GUI Improvements
2013-08-19GUI: Clear dirty rects when initializing ThemeEngine.Johannes Schickel
This avoids nasty invalid writes to the overlay when the overlay is being resized.
2013-08-16GRAPHICS: Added changes and improved code from inisider/scummvm (partial text)Narek Mailian
Includes code from https://github.com/inisider/scummvm/ , which has been squashed and bugfixed
2013-08-08GRAPHICS: Allow VectorRenderer and ThemeEngine to init with 4BPPNarek Mailian
2013-08-08GUI: Change name of GUI-renderers to remove "16-bit"Narek Mailian
2013-08-08GUI: Allow GUI cursor creation to work with abitrary 2/4Bpp formats.Johannes Schickel
2013-08-03GUI: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03GUI: Prefer getBasePtr instead of direct Surface::pixels access.Johannes Schickel
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-08-12Merge pull request #260 from lordhoto/new-chooser.Johannes Schickel
New save/load chooser Conflicts: gui/saveload.cpp
2012-08-09GRAPHICS: Add a DPI parameter to loadTTFFont.Johannes Schickel
Will be used by WME.
2012-06-29GUI: Allow the user to switch between list and thumbnail based load chooser.Johannes Schickel
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-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-05-03GUI: Implemented pressed state for buttonsOleksiy Kurochko
2012-03-25GUI: Move predictive dialog to common guiOleksiy Kurochko
2012-03-20GRAPHICS: Rewrite ImageDecoder to have an improved APIMatthew Hoops
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-02-03GUI: Put bitmap items in the on-screen draw queue when doing buffering.Johannes Schickel
This fixes bug #3482461 "GUI: X image on clear buttons might be vanishing". I am afraid I can't really tell why this fixes the bug though. This is a backport of a small part of MaximRussia's changes to the queueing code. So thanks to him for this fix.
2012-01-29GUI: Fix compilation with --disable-translation.Johannes Schickel
2012-01-29GUI: Fix anti-aliased font drawing of checkbox/radio button texts.Johannes Schickel
Formerly the text background was not restored thus every time it got redrawn the text got thicker.
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-29GUI: Add support for loading TTF files with ISO-8859-1 charset.Johannes Schickel
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-07GUI: Simplify font loading a bit more.Johannes Schickel
2012-01-06GUI: Do an case-insensitive filename comparison.Johannes Schickel
Should be a bit safer, in case there's files with different cases, which match by chance.
2012-01-06GUI: Slight cleanup for font/image loading.Johannes Schickel
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-10-24GUI: Added icon to clear button. Reverted PNG supportEugene Sandulenko
2011-10-23GUI: Replaced search icon with a better looking one.Eugene Sandulenko
Icons are by Yusuke Kamiyamane. http://p.yusukekamiyamane.com/
2011-10-23GUI: Add support for PNG images in themesEugene Sandulenko
2011-10-19GUI: Added debug ouput for determining loaded themeEugene Sandulenko
2011-10-18BADA: Misc changes merged from appstore releaseChris Warren-Smith
2011-07-01GRAPHICS: Rename NewFont to BdfFont.Johannes Schickel
2011-07-01GRAPHICS: Move NewFont code to a separate file.Johannes Schickel
2011-06-06GRAPHICS: Move genLocalizedFontFilename() to FontManager classThierry Crozat
It was defined in ThemeEngine class , but I moved it to make it possible to use localized font in other places.
2011-06-04COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPaletteMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-07GUI: Allow .zip files with case differing from ".zip" as theme files too.Johannes Schickel
Formerly our code used "hasSuffix" to check for a ".zip" suffix. Since hasSuffix does a case-sensitive match that would not work, in case the file was called "scummmodern.ZIP" instead of "scummmodern.zip" for example. To fix that I am using a case-insensitive matchString instead now.
2011-05-05GUI: Clean up localized font filename generation.Johannes Schickel
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-26GUI: Fix warning on systems where char is unsignedMax Horn
2011-04-24GUI: Add basic validity check to ThemeEngine::themeConfigParseHeader ↵Littleboy
(workaround for #3103051) When loading a corrupted zip, the data returned for THEMERC will be garbage, which will cause an assert in isspace() when trying to trim the data. This checks that the first character of the header is in the range [0;127] and bails out if not.