Harishankar Kumar
797803d515
GRAPHICS: MACGUI: Implement lockable widgets
...
Lockable widgets are those which takes in all input
and if set then no other widget can take any input
its same as them being inactive, no buttons, animations
etc will work.
This is implemented to support `modal` property of window,
which requires a window to take all input and prevent all
others from having any actions.
2023-06-01 20:17:23 +02:00
Harishankar Kumar
014712bbc5
GRAPHICS: Add menu by id and support custom menu
...
Adds new function addMenu/getMenu with menu id to add custom menus.
Used when implementing macpopupmenu which reuses macmenu for theapartment.
2023-05-28 13:50:18 +02:00
Roland van Laar
82142000c6
GRAPHICS: MACGUI: leave _desktopBmp as a nullptr
...
Make sure _desktopBmp can be checked to be a nullptr.
2022-09-20 23:19:08 +02:00
Roland van Laar
c537cd9ca6
GRAPHICS: MACGUI: Fix memory leak
...
Clean up _desktopBmp before it's reallocated again.
2022-09-20 23:12:09 +02:00
Pragyansh Chaturvedi
842fe20c5e
DIRECTOR: Modify decomposeColor to fix missing text in buttons in 32bpp mode
2022-09-09 02:21:47 +02:00
Le Philousophe
12df7f3767
GRAPHICS: Fix uint vs uint32 discrepancies
2022-08-22 13:09:45 +02:00
Avijeet
efea402993
GRAPHICS: MACGUI: Don't consider right and bottom edges while drawing round rect
2022-08-05 20:15:03 +02:00
Eugene Sandulenko
f67d9fb70c
GRAPHICS: MACGUI: Fix regression in WM mode setting
2022-08-01 18:41:07 +02:00
Eugene Sandulenko
8b17ee5272
GRAPHICS: MACGUI: Properly load desktop tile if requested
2022-07-19 23:46:57 +02:00
Eugene Sandulenko
8ee1fcbcb8
GRAPHICS: MACGUI: Implemented debug method for printing WM mode
2022-07-19 23:46:57 +02:00
Eugene Sandulenko
dc2883e4cf
GRAPHICS: MACGUI: Do not double free desktop image
2022-07-19 20:43:12 +02:00
Eugene Sandulenko
463dddfa2e
GRAPHICS: MACGUI: Do not load desktop background multiple times and fix setMode()
2022-07-19 20:38:39 +02:00
Pragyansh Chaturvedi
5c17fe70b8
JANITORIAL: Fix conventions and reimplement MacFontManager::rectifyId()
2022-07-17 13:04:14 +02:00
Eugene Sandulenko
3515dc79eb
GRAPHICS: MACGUI: Switch to wider Rect primitives for now
...
We need to eliminate their usage but that requires more testing
2022-07-13 23:23:03 +02:00
Eugene Sandulenko
d37a01fd2c
GRAPHICS: MACGUI: Fix rendering for 32bpp mode
2022-07-04 01:36:18 +02:00
Eugene Sandulenko
4649680c9b
GRAPHICS: MACGUI: Switch color lookup to Graphics::PaletteLookup
2022-07-03 12:50:06 +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
83f66c6eb0
GRAPHICS: MACGUI: Fixed pattern origin calculation
2022-06-17 01:07:14 +02:00
Misty De Meo
8558276dd9
DIRECTOR: additional RearWindow methods
2022-03-22 12:27:13 +01:00
Misty De Meo
c2daf29bb2
DIRECTOR: implement RearWindow methods
2022-03-21 11:44:32 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Martin Gerhardy
1287dce313
MACGUI: whitespace issues
2021-09-19 15:21:56 +02:00
DivyamAhuja
04a2a1f87c
MACGUI: Fix code formatting according to coding conventions
2021-09-19 15:21:56 +02:00
DivyamAhuja
bf46669cf8
MACGUI: Add methods to find top window at at a given point
2021-09-19 15:21:56 +02:00
ysj1173886760
4133592992
GRAPHICS: MACGUI: add cache for inverted color.
2021-08-16 16:58:48 +08:00
ysj1173886760
50bfc4e521
GRAPHICS: MACGUI: implement global color inverter.
2021-08-16 16:54:00 +08:00
djsrv
1e61684570
GRAPHICS: MACGUI: Add replaceCustomCursor
2021-08-06 01:11:39 -04:00
djsrv
93f585c524
GRAPHICS: MACGUI: Clean up cursor management
...
Cursor types are now stored in a stack. Pushes and pops to the cursor
stack, cursor palette stack, and cursor type stack are now fully
synchronized.
2021-08-06 01:11:30 -04:00
djsrv
114b4d5e5a
GRAPHICS: MACGUI: Fix segfault
2021-07-30 17:04:36 -04:00
djsrv
54b84aaedd
GRAPHICS: MACGUI: Fix desktop memory leak
2021-07-30 16:43:57 -04: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
17b1915c72
GRAPHICS: MACGUI: introducing hilitingWidget to macwidget for implementing list button style
2021-07-28 16:13:37 +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
djsrv
de929228c4
GRAPHICS: MACGUI: Add Japanese mode
2021-07-12 18:02:56 -04:00
Paul Gilbert
0136043f09
COMMON: Revert Change Rect and Point to have int32 fields
...
This reverts commit 1c3e7fb4e9 .
2021-07-06 20:35:42 -07:00
Paul Gilbert
baccbedf50
GRAPHICS: Changed surface classes sizes from uint16 to int16
2021-07-04 18:24:27 -07:00
Paul Gilbert
1c3e7fb4e9
COMMON: Change Rect and Point to have int32 fields
2021-07-04 18:24:26 -07:00
ysj1173886760
6db3b93050
GRAPHICS: MACGUI: add an overload version for findBestColor
2021-06-30 16:29:00 +02:00
ysj1173886760
b512f33263
GRAPHICS: MACGUI: pass an event of lbutton_up to those widgets should clear widgets correctly.
2021-06-30 16:29:00 +02:00
ysj1173886760
bb26ca4d46
GRAPHICS: MACGUI: reset variable for handling events for macwidgets when wm won't handle events correctly
2021-06-30 16:29:00 +02:00
ysj1173886760
93421af649
GRAPHICS: MACGUI: clean the code and write comments for readability
2021-06-20 14:33:53 +02:00
ysj1173886760
931817d907
GRAPHICS: MACGUI: restore the cursorType when we pop the cursor, currently we use kMacCursorArrow for the default one
2021-06-20 14:33:53 +02:00
ysj1173886760
112765eb6c
GRAPHICS: MACGUI: add _inEditableArea to WM, to distinguish whether the cursor type is set by director or ourself
2021-06-20 14:33:53 +02:00
ysj1173886760
c8f603262b
GRAPHICS: MACGUI: fix incorrect memory accessing
2021-06-20 14:33:53 +02:00
ysj1173886760
d31331eb9a
DIRECTOR: modify the behaviour of resizeScreen to avoid memory leaks. Introduce _surface to director which will provide consistency for those engines which uses macgui.
2021-06-20 14:33:53 +02:00