aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2019-03-10GUI: Allow GUI background colors other than black in Classic Theme (#1526)Lothar Serra Mari
GUI: Allow GUI background colors other than black in Classic Theme
2019-03-03GRAPHICS: Fix dstFormat check in Surface::convertToCameron Cawley
2019-03-02GRAPHICS: Support converting to 3Bpp surfacesCameron Cawley
2018-12-25GRAPHICS: Add a function to load TrueType fonts from fonts.datCameron Cawley
2018-12-23GRAPHICS: MACGUI: Make use of Common::String::format (#1454)Cameron Cawley
2018-12-09GLK: Standardizing uint vs uint32 usagePaul Gilbert
2018-12-08GRAPHICS: Add convertToInPlace method to ManagedSurfacePaul Gilbert
2018-11-14GRAPHICS: Add deltax optional parameter to Font drawString U32String versionPaul Gilbert
2018-11-14KYRA: implement SJIS features required for EOB II FM-Townsathrxx
- low res font drawing for intro and outro texts - fat print mode for ingame texts
2018-10-24SURFACESDL: Respect filtering setting when performing aspect ratio correctionThierry Crozat
2018-09-08GRAPHICS: Simplify trig usage in primitivesDavid Fioramonti
Combined if statements and simplified trig. cos(atan2(y,x)) = x / sqrt(x^2 + y^2) and sin(atan2(y,x)) = y / sqrt(x^2 + y^2).
2018-08-18COMMON: Move new_strdup to common/str.cppCameron Cawley
2018-08-18GRAPHICS: Fix incorrect maximum length passed to strlcpyColin Snover
2018-08-18GRAPHICS: Remove use of nonstandard strdup API & fix mismatched malloc/deleteColin Snover
2018-08-17JANITORIAL: Removing trailing spaces after int castsPaul Gilbert
2018-08-05GRAPHICS: MACGUI: fixed mem leak in MacTextAndrei Prykhodko
2018-08-03GRAPHICS: Improve check to test if text fits in the target surfaceBastien Bouclet
When rendering text, especially truetype fonts, we would use the next character avance metric to check if the character fits in the target surface. This commit changes it to use the bounding box metric. The bounding box represents the actual pixels that will be touched when drawing the character. This fixes an issue noticed on the main menu of Myst ME where the last character of the string "OPTIONEN" would not be rendered despite there being enough room to render it. More precisely, this ensures that calling Font::getBoundingBox for a string, and then passing a surface exactly the size of the returned bounding box to the draw function actually renders all the characters.
2018-08-03GRAPHICS: Set thumbnail to nullptr when loading the thumbnail is skippedDavid Fioramonti
Since Graphics::loadThumbnail can return successfully when a thumbnail is skipped the caller may want to check to the see that the thumbnail is not null before using it. Setting it to null is just defensive in case the caller didn't do so. If the user tries to use the thumbnail in setThumbnail then it will just show a black screen for the thumbnail rather than crashing if they have not set the thumbnail to null.
2018-08-02COMMON: Fix kerning issue in wordWrapText.Ľubomír Remák
2018-07-30GRAPHICS: MACGUI: fixed memory leaks in MacTextWindowAndrei Prykhodko
2018-07-29GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to ↵Andrei Prykhodko
disable cursor handler
2018-07-29GRAPHICS: MACGUI: fixed SIGSEGV when ptr to menu in MacTextWindow is NULLAndrei Prykhodko
2018-07-26GRAPHICS: MACGUI: fixed restoring screenAndrei Prykhodko
2018-07-26GRAPHICS: MACGUI: added field initializationAndrei Prykhodko
2018-07-26GRAPHICS: MACGUI: fixed memory leakAndrei Prykhodko
2018-07-23GRAPHICS: MACGUI: Restore screen on exiting from menuEugene Sandulenko
2018-07-22GRAPHICS: MACGUI: fixes for menu parser from win exeAndrei Prykhodko
2018-07-22GRAPHICS: MACGUI: added unicode submenu renderingAndrei Prykhodko
2018-07-22GRAPHICS: MACGUI: fixed engine unpausing after releasing mouseAndrei Prykhodko
2018-07-22GRAPHICS: MACMENU: added missing field initializationAndrei Prykhodko
2018-07-21GRAPHICS: MACGUI: Fix color searchingEugene Sandulenko
2018-07-21GRAPHICS: MACGUI: Fix compilationEugene Sandulenko
2018-07-21GRAPHICS: MACMENU: added menu parser from Win32 PE executableAndrei Prykhodko
2018-07-21GRAPHICS: MACMENU: added partial unicode supportAndrei Prykhodko
It misses renderSubmenu impl and accelerator rendering
2018-07-20GRAPHICS: MACGUI: moved engine ptr, pause callback to private sectionAndrei Prykhodko
2018-07-20GRAPHICS: MACGUI: added initialization of engine ptrAndrei Prykhodko
2018-07-18GRAPHICS: MACGUI: added WMModalMenuModeAndrei Prykhodko
2018-07-12GRAPHICS: MACGUI: Do not use hardcoded colorsEugene Sandulenko
2018-07-11GRAPHICS: MACGUI: Added isMenuActive() helper methodEugene Sandulenko
2018-07-11GRAPHICS: MACMENU: Calculate menu bounds after adding static itemsEugene Sandulenko
2018-07-11GRAPHICS: MACGUI: Made autohiding menu reentrableEugene Sandulenko
2018-07-11GRAPHICS: MACGUI: Implemented autohide menusEugene Sandulenko
2018-07-11GRAPHICS: MACGUI: Added possibility to specify WM behaviourEugene Sandulenko
2018-07-08GRAPHICS: fixed creating cursor group from some old executablesAndrei Prykhodko
2018-07-03GFX: Use degree conversion common math funcsDavid Fioramonti
2018-06-03GRAPHICS: Remove BOM at start of larryscale filesThierry Crozat
Note that larryScale_generated.cpp still contains UTF-8 characters, but they are all in comments, so hopefully they will not cause problems.
2018-06-03Merge pull request #1141 from DanielSWolf/larryscaleThierry Crozat
SCI: High-quality "LarryScale" cel scaler for LSL7
2018-04-22JANITORIAL: Fix formattingAdrian Frühwirth
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-04-15JANITORIAL: Fix whitespaceAdrian Frühwirth