Nathanael Gentry
3a69512fe1
GRAPHICS: MACGUI: Fix menu direct rendering
2020-08-12 16:34:24 -04:00
djsrv
61cfbdc469
GRAPHICS: MACGUI: Add more colors as properties
...
Finding the closets color in the current palette is necessary for
transparency in bitmap borders to work.
2020-08-07 16:47:19 -04:00
BLooperZ
ec83715b43
COMMON: add UnicodeBiDiText wrapper
2020-05-12 14:36:09 +02:00
BLooperZ
6a653312e2
GRAPHICS: remove text_renderer
2020-05-12 14:36:09 +02:00
BLooperZ
a92864c8c1
GRAPHICS: MACGUI: allow setting widget alignment
2020-05-12 14:36:09 +02:00
BLooperZ
0c30136c0f
GRAPHICS: change text renderer parameters position
2020-05-12 14:36:09 +02:00
BLooperZ
c39630ad53
GRAPHICS: MACGUI: add text renderer and visual pos
2020-05-12 14:36:09 +02:00
BLooperZ
38d27ee7ac
GRAPHICS: MACGUI: fix accelerator position
2020-05-12 14:36:09 +02:00
BLooperZ
625241e3b4
GRAPHICS: MACGUI: flip layout on RTL
2020-05-12 14:36:09 +02:00
BLooperZ
861d8da600
PINK: support BiDi on menu bar items
2020-05-12 14:36:09 +02:00
Henrik "Henke37" Andersson
d315fc8add
MACGUI: Use real Engine and PauseToken classes
2020-05-10 23:39:31 +02:00
Eugene Sandulenko
7a4d5f45e9
GRAPHICS: MACGUI: Renamed clashing methods
2020-04-25 13:44:18 +02:00
Eugene Sandulenko
4193097f3f
GRAPHICS: MACGUI: Draw text styles in MacMenu
2020-03-22 17:59:19 +01:00
Eugene Sandulenko
9b3ca6498e
GRAPHICS: MACGUI: Adding style to menu items
2020-02-07 19:21:47 +01:00
Cameron Cawley
948c555ea6
ALL: Create all instances of NEResources and PEResources using new instead of on the stack
...
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
Eugene Sandulenko
2d9b3b0b2d
GRAPHICS: MACGUI: Initial code for MacEditableText
2020-01-02 18:23:33 +01:00
Eugene Sandulenko
2886f51539
GRAPHICS: MACGUI: Show menu always when clicked
2019-12-22 12:03:41 +01:00
Eugene Sandulenko
64b148afba
GRAPHICS: MACGUI: Added possibility to provide action ids in menus in strings
2019-12-16 16:40:51 +01:00
Eugene Sandulenko
2582036ea6
GRAPHICS: MACGUI: Remove flicker when exiting modal menu
2019-12-16 15:26:39 +01:00
Eugene Sandulenko
9f789b4bde
GRAPHICS: MACGUI: Optimized drawing of MacMenu
2019-12-16 14:21:11 +01:00
Eugene Sandulenko
4c3cea846b
GRAPHICS: MACGUI: Restore background for modal MacMenus
2019-12-16 12:19:36 +01:00
Eugene Sandulenko
8c0590be77
GRAPHICS: MACGUI: Initial code for truly modal MacMenu
2019-12-16 11:23:06 +01:00
Eugene Sandulenko
f724e672f8
GRAPHICS: MACGUI: Save background on menu activation
2019-12-16 11:09:15 +01:00
Eugene Sandulenko
98b14a36ad
GRAPHICS: MACGUI: Added setup sanity checks to MacMenu
2019-12-11 12:00:16 +01: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
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
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
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