Commit Graph
3567 Commits
Author SHA1 Message Date
Eugene Sandulenko 3ae526dfed GRAPHICS: MACGUI: Added support for Unicode fonts in menu 2019-10-18 00:20:54 +02:00
Eugene Sandulenko 23a9ce1880 GRAPHICS: MACGUI: Fix crash when clicking on the top window 2019-10-17 09:27:38 +02:00
Eugene Sandulenko 6100de0b3a GRAPHICS: MACGUI: Add possibility to set WM mode right away
This lets us to not load mac fonts when the built-in mode in enforced
2019-10-17 01:42:44 +02:00
Eugene Sandulenko 695ba47063 GRAPHICS: MACGUI: Added possibility to create read only text windows 2019-10-15 23:58:00 +02:00
Eugene Sandulenko b8e7f45760 GRAPHICS: MACGUI: Fix window deletion 2019-10-15 19:07:18 +02:00
Eugene Sandulenko 5acaaed860 GRAPHICS: MACGUI: Crash-proof window management. 2019-10-14 21:31:25 +02:00
D G Turner edf310c894 GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings 2019-10-14 03:29:15 +01:00
Eugene Sandulenko e3888d51f4 GRAPHICS: MACGUI: Fix menu width when there is a submenu 2019-10-13 23:48:42 +02:00
Eugene Sandulenko df93f8a658 GRAPHICS: MACGUI: Process tab symbol in Windows menus 2019-10-13 23:48:42 +02:00
Marisa-Chan 288ea5783e GRAPHICS: MACGUI: Fix assertion if shortcut in menu element is a last symbol 2019-10-13 15:29:25 +02:00
Bastien Bouclet 191059b060 GRAPHICS: Fix drawing rounded rectangle borders for the non AA renderer
The check for the clipping rect was in the non-clip version of the method,
and was using values not in screen-space.
2019-10-08 20:54:50 +02:00
Bastien Bouclet eabb81829f GRAPHICS: Fix modern theme tab widgets being 2px too tall
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-07 22:18:27 +02:00
Bastien Bouclet 1d764bd787 GRAPHICS: Vector renderer clipping rect related cleanups
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-07 21:47:42 +02:00
D G Turner 3911b56444 GRAPHICS: MACGUI: Fix Possible Out of Bounds Read with Trailing Ampersand
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-05 00:38:40 +01:00
D G Turner 452b380976 GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings 2019-10-05 00:31:11 +01:00
Eugene Sandulenko c17800cfc4 GRAPHICS: MACGUI: Add possibility to setup engine redraw callback 2019-10-04 22:32:24 +02:00
Eugene Sandulenko 94e543c5c8 GRAPHICS: MACGUI: Implement enforcing built-in fonts 2019-10-04 20:22:59 +02:00
Eugene Sandulenko 93e8109cdf GRAPHICS: MACGUI: Add possibility to pass borders as a surface 2019-10-04 19:10:03 +02:00
Eugene Sandulenko c0c8dc0351 GRAPHICS: MACGUI: Fix action id processing from the PE exe menus 2019-10-04 17:18:27 +02:00
Eugene Sandulenko 4f3d41c77d GRAPHICS: Properly process && in PE exe menus 2019-10-04 16:49:00 +02:00
Eugene Sandulenko 02ff887ae0 GRAPHICS: MACGUI: Enhande printMenu output 2019-10-04 16:48:26 +02:00
Eugene Sandulenko 28ac30b4fc GRAPHICS: MACGUI: Properly process action menu ids from PE exe 2019-10-04 16:47:42 +02:00
Eugene Sandulenko 15b44e9a10 GRAPHICS: MACGUI: Remove extra debug output 2019-10-04 16:12:43 +02:00
Eugene Sandulenko 35773e76b9 GRAPHICS: MACGUI: Unify MacMenuItem and MacMenuSubItem 2019-10-04 15:54:48 +02:00
Eugene Sandulenko 48b261cf6b GRAPHICS: MACGUI: Implement Windows-style shortcut underlining 2019-10-04 15:54:48 +02:00
Eugene Sandulenko 9368323cdf GRAPHICS: MACGUI: Process Windows menu shortcuts 2019-10-04 00:35:21 +02:00
Eugene Sandulenko 087c6c80d0 GRAPHICS: MACGUI: Support grayed out menu items in PE exe 2019-10-04 00:33:32 +02:00
Eugene Sandulenko 3f7112d5c9 GRAPHICS: MACGUI: Refactor some code 2019-10-03 21:51:28 +02:00
Eugene Sandulenko 55c5664ced GRPAHICS: MACGUI: Avoid overdraw 2019-10-03 21:51:28 +02:00
Eugene Sandulenko c6930f2f78 GRAPHICS: MACGUI: Implement hovering out of menus behaviour 2019-10-03 21:51:28 +02:00
Eugene Sandulenko e4c3c69090 GRAPHICS: MACGUI: Fix nested menus parsing 2019-10-03 14:14:57 +02:00
Eugene Sandulenko b5573c8e2a GRAPHICS: MACGUI: Fix nested menus command processing 2019-10-03 14:00:15 +02:00
Eugene Sandulenko 890adf6e3a GRAPHICS: MACGUI: Fix menu re-entrance 2019-10-03 10:03:02 +02:00
D G Turner e97985e887 GRAPHICS: Further Fix for MSVC Warnings in Nine Patch Code 2019-10-03 04:42:44 +01:00
D G Turner 5c2de7a40d GRAPHICS: Add Missing Switch Default Case in PixelFormat Header
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-03 00:59:41 +01:00
D G Turner 9e761e1c9f GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings 2019-10-02 23:58:04 +01:00
Eugene Sandulenko ee139e86f3 GRAPHICS: MACGUI: Correctly render highlights for the open submenus 2019-10-03 00:05:12 +02:00
Eugene Sandulenko 571a455c6a GRAPHICS: MACGUI: Close nested submenus on hover 2019-10-03 00:05:12 +02:00
Eugene Sandulenko a843a90207 GRAPHICS: MACGUI: Implement nested submenu navigation 2019-10-03 00:05:12 +02:00
Eugene Sandulenko d3df14fce1 GRAPHICS: MACGUI: Finish implementation for nested submenus drawing 2019-10-03 00:05:12 +02:00
Eugene Sandulenko b157a27e2b GRAPHICS: MACGUI: Unify submenu dimension calculations 2019-10-03 00:05:12 +02:00
Eugene Sandulenko 1ced332fde GRAPHICS: MACGUI: Render nested submenus 2019-10-03 00:05:12 +02:00
Eugene Sandulenko 9afaefb748 GRAPHHICS: MACGUI: Fix crash on submenu rendering 2019-10-02 16:50:34 +02:00
Eugene Sandulenko 87dc3689aa GRAPHICS: MACGUI: Fix and simplify nested submenu reading 2019-10-02 13:47:04 +02:00
Eugene Sandulenko 5b0e465001 GRAPHICS: MACGUI: Fix debug menu printing 2019-10-02 13:38:28 +02:00
Eugene Sandulenko 6dee083352 GRAPHICS: MACGUI: Added debug printout for MacMenu 2019-10-02 12:41:45 +02:00
Eugene Sandulenko a49fd0dd5e GRAPHICS: MACGUI: Read nested submenus from PE exes 2019-10-02 12:40:57 +02:00
Eugene Sandulenko cf6e509cc9 GRAPHICS: MACGUI: Render submenus recursively 2019-10-02 01:09:49 +02:00
Eugene Sandulenko bd7aa647de GRAPHICS: MACGUI: Take submenu arrow indicator width into account 2019-10-02 00:33:34 +02:00
Eugene Sandulenko ff32309261 GRAPHICS: MACGUI: Change notion of bbox computation to submenus 2019-10-02 00:31:48 +02:00