aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2019-10-07GRAPHICS: Fix modern theme tab widgets being 2px too tallBastien Bouclet
This was noticeable in the graphics tab of the options dialog when scrolling down. The widgets would be partially drawn on top of the tabs.
2019-10-07GRAPHICS: Vector renderer clipping rect related cleanupsBastien Bouclet
Selecting whether a clipping variant of a draw call needs to be used is no longer the responsibility to the caller. The clipping rect is now part of the state of the renderer. Also fix some of the draw calls to better apply the clipping rect.
2019-10-05GRAPHICS: MACGUI: Fix Possible Out of Bounds Read with Trailing AmpersandD G Turner
Since the ampersand is used as an escape character, it is repeated when it actually appears in the string. Unfortunately, this requires a one character lookahead which could result in reading beyond the string if this ampersand is the last character (which would be malformed, but possible). To avoid an out of bounds read, this is now qualified by the string length. Trailing ampersands will now be ignored without issue.
2019-10-05GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned WarningsD G Turner
2019-10-04GRAPHICS: MACGUI: Add possibility to setup engine redraw callbackEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Implement enforcing built-in fontsEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Add possibility to pass borders as a surfaceEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Fix action id processing from the PE exe menusEugene Sandulenko
2019-10-04GRAPHICS: Properly process && in PE exe menusEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Enhande printMenu outputEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Properly process action menu ids from PE exeEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Remove extra debug outputEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Unify MacMenuItem and MacMenuSubItemEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Implement Windows-style shortcut underliningEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Process Windows menu shortcutsEugene Sandulenko
2019-10-04GRAPHICS: MACGUI: Support grayed out menu items in PE exeEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Refactor some codeEugene Sandulenko
2019-10-03GRPAHICS: MACGUI: Avoid overdrawEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Implement hovering out of menus behaviourEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Fix nested menus parsingEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Fix nested menus command processingEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Fix menu re-entranceEugene Sandulenko
2019-10-03GRAPHICS: Further Fix for MSVC Warnings in Nine Patch CodeD G Turner
2019-10-03GRAPHICS: Add Missing Switch Default Case in PixelFormat HeaderD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-02GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned WarningsD G Turner
2019-10-03GRAPHICS: MACGUI: Correctly render highlights for the open submenusEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Close nested submenus on hoverEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Implement nested submenu navigationEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Finish implementation for nested submenus drawingEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Unify submenu dimension calculationsEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Render nested submenusEugene Sandulenko
2019-10-02GRAPHHICS: MACGUI: Fix crash on submenu renderingEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Fix and simplify nested submenu readingEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Fix debug menu printingEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Added debug printout for MacMenuEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Read nested submenus from PE exesEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Render submenus recursivelyEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Take submenu arrow indicator width into accountEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Change notion of bbox computation to submenusEugene Sandulenko
2019-10-01GRAPHICS: MACGUI: Further work on nested submenusEugene Sandulenko
2019-10-01GRAPHICS: MACGUI: Code for drawing nested submenu arrowsEugene Sandulenko
2019-09-30GRAPHICS: Add Default Constructor for Cursor StructureD G Turner
This has a similar issue to the Palette structure and thus this will avoid possible unstable uninitialized bugs which could be very hard to track down or replicate.
2019-09-30GRAPHICS: Add Default Constructor For Palette StructureD G Turner
This is used for outPalette in sci/graphics/palette32 code without calling through the nominal constructor which leaves the various fields _possibly_ uninitialised and thus triggers various compiler warnings. Adding a default constructor fixes the root cause.
2019-09-29GRAPHICS: MACGUI: Load border padding directly from the 9-patchEugene Sandulenko
2019-09-29GRAPHICS: Fix padding calculation for 9-patch imagesEugene Sandulenko
2019-09-29GRAPHICS: MACGUI: Fixed stack smashingEugene Sandulenko
2019-09-29GRAPHICS: Allow 256-byte palettes to 9-patchEugene Sandulenko
2019-09-29GRAPHICS: Added more debug output to 9-patchEugene Sandulenko
2019-09-29GRAPHICS: MACGUI: Added safaguards to border blittingEugene Sandulenko
2019-09-29GRAPHICS: Fix NinePatch palette length.Eugene Sandulenko
Byte did not allow to have 256 color palettes.