270 Commits

Author SHA1 Message Date
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
1632fba91e GRAPHICS: MACGUI: Don't hide the menu bar if kWMModeAutohideMenu is not enabled 2019-08-10 13:08:15 +01:00
Filippos Karapetis
7346b69d88 GRAPHICS: Initialize potentially uninitialized variables 2019-05-27 14:53:46 +03:00
Cameron Cawley
8c2b09d919 COMMON: Replace NEResourceType and PEResourceType with a shared enum 2019-05-01 23:52:56 +03:00
Cameron Cawley
2097c33b57 GRAPHICS: MACGUI: Make use of Common::String::format (#1454) 2018-12-23 15:57:20 +02:00
Paul Gilbert
e232d024c5 GLK: Standardizing uint vs uint32 usage 2018-12-09 14:47:15 -08:00
Paul Gilbert
11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Andrei Prykhodko
bb995bc871 GRAPHICS: MACGUI: fixed mem leak in MacText 2018-08-05 23:07:55 +03:00
Andrei Prykhodko
ed384a0deb GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow 2018-07-30 07:03:00 +03:00
Andrei Prykhodko
75eceedfa5 GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to disable cursor handler 2018-07-29 21:23:04 +03:00
Andrei Prykhodko
841e0c11d8 GRAPHICS: MACGUI: fixed SIGSEGV when ptr to menu in MacTextWindow is NULL 2018-07-29 21:23:04 +03:00
Andrei Prykhodko
f447ccb390 GRAPHICS: MACGUI: fixed restoring screen 2018-07-26 05:18:04 +03:00
Andrei Prykhodko
6eee64e8fb GRAPHICS: MACGUI: added field initialization 2018-07-26 04:44:20 +03:00
Andrei Prykhodko
a961427373 GRAPHICS: MACGUI: fixed memory leak 2018-07-26 04:37:00 +03:00
Eugene Sandulenko
c48489f6d2 GRAPHICS: MACGUI: Restore screen on exiting from menu 2018-07-23 14:47:46 +02:00
Andrei Prykhodko
f4eda44186 GRAPHICS: MACGUI: fixes for menu parser from win exe 2018-07-22 21:19:02 +03:00
Andrei Prykhodko
62c66bc67a GRAPHICS: MACGUI: added unicode submenu rendering 2018-07-22 20:37:44 +03:00
Andrei Prykhodko
71e933e778 GRAPHICS: MACGUI: fixed engine unpausing after releasing mouse 2018-07-22 20:12:37 +03:00
Andrei Prykhodko
997694b329 GRAPHICS: MACMENU: added missing field initialization 2018-07-22 12:48:15 +03:00
Eugene Sandulenko
f515393a74 GRAPHICS: MACGUI: Fix color searching 2018-07-21 12:52:32 +02:00
Eugene Sandulenko
359609353a GRAPHICS: MACGUI: Fix compilation 2018-07-21 12:20:57 +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
Andrei Prykhodko
da34d0dce2 GRAPHICS: MACGUI: moved engine ptr, pause callback to private section 2018-07-20 22:05:46 +03:00
Andrei Prykhodko
8a27ac879e GRAPHICS: MACGUI: added initialization of engine ptr 2018-07-20 22:05:46 +03:00
Andrei Prykhodko
e1460103e1 GRAPHICS: MACGUI: added WMModalMenuMode 2018-07-18 21:47:22 +03:00
Eugene Sandulenko
5684134ef6 GRAPHICS: MACGUI: Do not use hardcoded colors 2018-07-12 00:41:11 +02:00
Eugene Sandulenko
f2b61dd814 GRAPHICS: MACGUI: Added isMenuActive() helper method 2018-07-11 22:45:36 +02:00
Eugene Sandulenko
a14a1230e3 GRAPHICS: MACMENU: Calculate menu bounds after adding static items 2018-07-11 22:45:36 +02: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
2446810378 GRAPHICS: MACGUI: Added possibility to specify WM behaviour 2018-07-11 22:45:36 +02:00
Eugene Sandulenko
4a1a7f965f GRAPHICS: MACGUI: Do not crash when nothing was drawn yet 2017-08-28 19:17:45 +02:00
Eugene Sandulenko
f8284623c4 GRAPHICS: MACGUI: Clear whole surface when resizing
This removes black artifacts when previous text was narrower
2017-08-26 21:34:16 +02:00
Eugene Sandulenko
4783541529 GRAPHICS: MACGUI: Now MacWindowManager processes most of the events, remove filter 2017-08-22 10:26:53 +02:00
Eugene Sandulenko
8458630e50 GRAPHICS: MACGUI: Added support for scrolling with mouse wheel 2017-08-22 10:25:00 +02:00
Eugene Sandulenko
a7dbacb5c3 GRAPHICS: MACGUI: Ignore keys with modifiers in MacTextWindow 2017-08-22 10:25:00 +02:00
Eugene Sandulenko
e13d567eb9 GRAPHICS: MACGUI: Improved debug output in MacFontManager 2017-08-22 10:25:00 +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
2689373049 JANITORIAL: Fix spelling error in comment 2017-08-21 10:47:10 +02:00
Eugene Sandulenko
bedbe39087 GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizing 2017-08-18 19:04:37 +02:00
Eugene Sandulenko
bc8b952d71 GRAPHICS: MACGUI: Perform sanity checks before blitting 2017-08-18 10:17:52 +02:00
Eugene Sandulenko
df7bd3033e GRAPHICS: MACGUI: Syncronise internal state when selection is cut 2017-08-15 19:50:07 +02:00
Eugene Sandulenko
b9a7f2c800 GRAPHICS: MACGUI: Fix crash in selection when there is no text found 2017-08-15 19:49:15 +02:00
Eugene Sandulenko
0f0dd88b61 GRAPHICS: MACGUI: Fix MacText::getTextChunk() for multiline selections 2017-08-15 19:48:16 +02:00
Eugene Sandulenko
615af937df GRAPHICS: MACGUI: Initial code for MacTextWindow::cutSelection() 2017-08-14 09:19:41 +02:00
D G Turner
fbd1e87824 GRAPHICS: MACGUI: Fix GCC Compiler Warnings. 2017-08-11 00:56:28 +01:00
Eugene Sandulenko
0e2d14ac41 GRAPHICS: MACGUI: Initial code for Cutting/Paste multiline input texts 2017-08-08 11:25:55 +02:00
Eugene Sandulenko
c5b28a171b GRAPHICS: MACGUI: Do not resize MacTextWindow when not necessary 2017-08-07 13:05:35 +02:00