Commit Graph
38 Commits
Author SHA1 Message Date
Eugene Sandulenko 838bdf1ba5 GRAPHICS: MACGUI: Fix warnings 2020-08-12 09:07:21 +02:00
Nathanael Gentry a639ae4002 GRAPHICS: MACGUI: Add WM direct copy mode
This does not keep the current screen state cached in a surface, but re-creates
the screen from its various components each time something changes. This avoids
an intermediate blitting.

The mode is enabled just by not providing a surface to the WM, and instead
providing a width and height.
2020-08-12 02:34:45 -04:00
Eugene Sandulenko 670ea3485f GRAPHICS: MACGUI: Extend setVisible() method to allow proper overloading 2020-07-10 10:06:11 +02:00
BLooperZ a92864c8c1 GRAPHICS: MACGUI: allow setting widget alignment 2020-05-12 14:36:09 +02:00
BLooperZ 625241e3b4 GRAPHICS: MACGUI: flip layout on RTL 2020-05-12 14:36:09 +02:00
Eugene Sandulenko 7a4d5f45e9 GRAPHICS: MACGUI: Renamed clashing methods 2020-04-25 13:44:18 +02:00
Eugene Sandulenko 2fb21ba90a GRAPHICS: MACGUI: Split drawing and blitting operations for widgets 2020-04-14 00:42:39 +02: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 8c0590be77 GRAPHICS: MACGUI: Initial code for truly modal MacMenu 2019-12-16 11:23:06 +01:00
Eugene Sandulenko 98b14a36ad GRAPHICS: MACGUI: Added setup sanity checks to MacMenu 2019-12-11 12:00:16 +01:00
Eugene Sandulenko df93f8a658 GRAPHICS: MACGUI: Process tab symbol in Windows menus 2019-10-13 23:48:42 +02:00
Eugene Sandulenko 35773e76b9 GRAPHICS: MACGUI: Unify MacMenuItem and MacMenuSubItem 2019-10-04 15:54:48 +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 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 ff32309261 GRAPHICS: MACGUI: Change notion of bbox computation to submenus 2019-10-02 00:31:48 +02:00
Eugene Sandulenko da01e83906 GRAPHICS: MACGUI: Further work on nested submenus 2019-10-01 02:05:56 +02:00
Eugene Sandulenko 8357725bc2 GRAPHICS: MACGUI: Code for drawing nested submenu arrows 2019-10-01 00:58:16 +02:00
Cameron Cawley 92a3a3a8a5 GRAPHICS: MACGUI: Allow loading menus from resource forks 2019-08-11 22:27:11 +03:00
Cameron Cawley 9052a16887 GRAPHICS: MACGUI: Use Common::String for addMenuItem and addMenuSubItem 2019-08-10 14:50:33 +01:00
Cameron Cawley 2097c33b57 GRAPHICS: MACGUI: Make use of Common::String::format (#1454) 2018-12-23 15:57:20 +02:00
Andrei Prykhodko 99f458dafa GRAPHICS: MACMENU: added menu parser from Win32 PE executable 2018-07-21 12:16:54 +03:00
Andrei Prykhodko df63dea4b6 GRAPHICS: MACMENU: added partial unicode support
It misses renderSubmenu impl and accelerator rendering
2018-07-21 12:16:54 +03:00
Eugene Sandulenko 04dfa9b0a9 GRAPHICS: MACGUI: Made autohiding menu reentrable 2018-07-11 22:45:36 +02:00
Eugene Sandulenko ddfe6c3bce GRAPHICS: MACGUI: Implemented autohide menus 2018-07-11 22:45:36 +02:00
Eugene Sandulenko 97ed6a2af7 GRAPHICS: MACGUI: Pass command id when creating menu to avoid namespace clashes
This fixes Command menu in WAGE.
2017-08-21 19:40:05 +02:00
Eugene Sandulenko afb664df29 GRAPHICS: MACGUI: Made selection affecting the MacMenu 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 0ecaa79f08 GRAPHICS: Renamed Menu to MacMenu to avoid potential name collision 2017-01-14 13:17:38 +01:00
Eugene Sandulenko a0907d2679 GRAPHICS: MACGUI: Added method for reading menu from resource 2017-01-14 13:04:21 +01:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Borja Lorente f7ba1cb812 GRAPHICS: Rename header guards in macgui 2016-08-02 08:33:50 +02:00
Borja Lorente 9ce6fbd0d7 GRAPHICS: Move MacMenu constants 2016-07-31 14:05:14 +02:00
Borja Lorente ffbc6b0c78 GRAPHICS: Create wrapper namespace for MacMenu constants 2016-07-31 14:05:14 +02:00
Borja Lorente 68b2d44a0f WAGE: Extract MacMenu 2016-07-31 14:04:48 +02:00