Commit Graph
131 Commits
Author SHA1 Message Date
Pragyansh Chaturvedi fb6497a059 DIRECTOR: Fix constrainH fail build step in BUILDBOT by adding _constraint check 2022-07-02 23:58:15 +02:00
Pragyansh Chaturvedi 1ec5304e8a DIRECTOR: Fix buildbot failure on null macmenu 2022-07-02 23:58:15 +02:00
Avijeet 44f19d74be COMMON: MACGUI: Fix transparency artifacts in subMenu 2022-06-28 23:36:29 +02:00
D G Turner 5d0e6e7bb5 GRAPHICS: MACGUI: Remove Invalid Check of this against NULL
The object's self reference of "this" can never be null, thus this
generates a GCC compiler warning when -Wnonnull-compare is passed.
2022-06-22 01:38:51 +01:00
Pragyansh Chaturvedi (r41k0u) 9fa3ec41f0 DIRECTOR: LINGO: Implement MENUREF in LC::c_theentityassign() and check for nullptr 2022-06-22 00:55:14 +02:00
Pragyansh Chaturvedi (r41k0u) d5485c7595 DIRECTOR: LINGO: Fix MacMenu::getName() to implement STUB kTheMenu 2022-06-22 00:55:14 +02:00
Pragyansh Chaturvedi (r41k0u) f83934e05b DIRECTOR: LINGO: Implement MENUREF Datum type and STUB for Menu, Menus, MenuItem and MenuItems [WIP] 2022-06-22 00:55:14 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ysj1173886760 c4f7848084 GRAPHICS: MACGUI: fix createSubMenuFromString. 2021-08-09 16:51:25 +08:00
Thierry Crozat bb98ce92f2 MACGUI: Explicitly use ellipsis to draw text when needed
This is the default, so this commit does not change the behaviour.
But this will allow to change the default at a later stage.
2021-08-01 17:22:13 +02:00
ysj1173886760 99447ca832 GRAPHICS: MACGUI: implement getting member of menuItem 2021-07-30 15:43:00 +08:00
ysj1173886760 66fb967d56 GRAPHICS: MACGUI: support setting action id for macmenuItem 2021-07-29 19:48:42 +08:00
ysj1173886760 5ae035f4b5 GRAPHICS: MACGUI: implement overload version for the functions for setting menu attributes 2021-07-29 12:45:16 +08:00
ysj1173886760 7673cbcc86 GRAPHICS: MACGUI: implement setMenuItemName 2021-07-29 12:28:05 +08:00
ysj1173886760 53fd14b283 GRAPHICS: MACGUI: add functions for setting member checkMark and Enable of menuItem 2021-07-29 11:40:18 +08:00
ysj1173886760 c57c7b11b2 DIRECTOR: skip setting shortcut key when we only read / 2021-07-29 10:52:45 +08:00
ysj1173886760 05041e5001 GRAPHICS: MACGUI: introduce builtin pattern to wm. use builtin pattern to draw disabled menu items. 2021-07-24 18:34:56 +08:00
ysj1173886760 091e49fb66 GRAPHICS: MACGUI: implement checked item for macmenu 2021-07-24 16:38:57 +08:00
Paul Gilbert baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
ysj1173886760 60d9b79c0f GRAPHICS: MACGUI: add intersection check with macmenu and macwindow 2021-05-21 10:51:07 +02:00
ysj1173886760 1b211371cf GRAPHICS: MACGUI: fix the offset in macmenu 2021-05-21 10:51:07 +02:00
ysj1173886760 68099e5ebe GRAPHICS: MACGUI: fix the wm was not correctly reflushed when changing the menu items 2021-05-21 10:51:07 +02:00
Eugene Sandulenko 1e85ecf048 GRAPHICS: MACGUI: Draw plain rectangle menu in Win95 mode 2021-05-14 18:49:03 +02:00
Eugene Sandulenko f6c7f99b3d GRAPHICS: MACGUI: Simplified background restoration code in MacMenu 2021-05-14 18:49:02 +02:00
Eugene Sandulenko 463031f88a GRAPHICS: MACGUI: Do not refresh full screen when cursor is away from menu 2021-05-14 18:49:02 +02:00
Eugene Sandulenko dc94b96a95 GRAPHICS: MACGUI: Fixed other cases of off-screen rendering 2021-05-10 14:08:30 +02:00
Eugene Sandulenko 6d82d40db6 GRAPHICS: MACGUI: Fix out-of-screen rendering when submenus are wider than screen 2021-05-10 13:58:26 +02:00
SupSuper 41798fca5d GRAPHICS: MACGUI: FreeType required for Win95 fonts
Fixes compilation on platforms without FreeType
2021-05-01 07:44:05 +01:00
Eugene Sandulenko d98473ba47 GRAPHICS: MACGUI: Use Win95 fonts for Win95 MacMenu 2021-05-01 01:49:47 +02:00
Eugene Sandulenko 81252598e6 GRAPHICS: MACGUI: Optimize MacMenu rendering 2021-05-01 01:49:37 +02:00
ysj1173886760 15d46a55f8 GRAPHICS: MACGUI: add the feature that you can close the window when using the menu 2021-04-25 02:24:15 +02:00
ysj1173886760 f81ea96421 GRAPHICS: MACGUI: clean the code, modify the behaviour of win95 menu 2021-04-25 02:24:15 +02:00
ysj1173886760 ba4513c10b GRAPHICS: MACGUI: organize the code 2021-04-25 02:24:15 +02:00
ysj1173886760 1d3cf51b7b GRAPHICS: MACGUI: fix the bug when closing the menu, the highlight part was not correctly set 2021-04-25 02:24:15 +02:00
ysj1173886760 5d2a73fe01 GRAPHICS: MACGUI: add win95 mode for menu behaviour, currently in win95 mode, it will exit the menu only when you click something useful(trigger some event) 2021-04-25 02:24:15 +02:00
ysj1173886760 e459e5acf8 GRAPHICS: MACGUI: add win95 mode for menu padding 2021-04-25 02:24:15 +02:00
Vladimir Serbinenko 3fc822e55c COMMON: introduce substr for U32String (#2585)
It's safer than direct array manipulation. Replace current uses
of subsetting with substr.
2020-11-01 22:53:03 +01:00
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