Commit Graph
162 Commits
Author SHA1 Message Date
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
ysj1173886760 4928f35aac GRAPHICS: MACGUI: create function "resizeScreen" to creating and resizing screen for WM 2021-06-20 14:33:53 +02:00
ysj1173886760 c9091e8a46 GRAPHICS: MACGUI: add the check when we are disabling the screen copy 2021-06-20 14:33:53 +02:00
ysj1173886760 73916d9aca GRAPHICS: MACGUI: remove a case which has already been checked before in macWM 2021-06-10 13:58:41 +02:00
ysj1173886760 777a8c1d17 GRAPHICS: MACGUI: modify the logic when we are calculating PureTextSize in mactext 2021-06-10 13:58:41 +02:00
ysj1173886760 12232c992a GRAPHICS: MACGUI: fix calculating the pure text size in mactext 2021-06-10 13:58:41 +02:00
ysj1173886760 bdf81ad565 GRAPHICS: MACGUI: fix the copy/paste operations when we have multi-paragraph selection in mactext 2021-06-10 13:58:41 +02:00
ysj1173886760 4419ae9a0b GRAPHICS: MACGUI: add default format before we are using the text from global clipboard 2021-06-03 13:19:10 +02:00
ysj1173886760 d4abe958bd GRAPHICS: MACGUI: clean code for WM clipboard operations 2021-06-03 13:19:10 +02:00
ysj1173886760 c88b6e2e04 GRAPHICS: MACGUI: move WM clipboard operations from mactext to macwindowmanager 2021-06-03 13:19:10 +02:00
ysj1173886760 60d9b79c0f GRAPHICS: MACGUI: add intersection check with macmenu and macwindow 2021-05-21 10:51:07 +02:00
Eugene Sandulenko 6e17562492 GUI: MACGUI: Make MacTextWindow working with plain fonts 2021-05-02 01:03:02 +02:00
Eugene Sandulenko cc0cdbbd22 GRAPHICS: MACGUI: Plug memory leak 2021-05-01 01:49:46 +02:00
ysj1173886760 803cd6d715 GRAPHICS: MACGUI: bring kWMModeNoDesktop flag useful again 2021-04-25 02:24:15 +02:00
ysj1173886760 9298eba78d GRAPHICS: MACGUI: remove the check that is not needed 2021-04-12 14:04:25 +02:00
ysj1173886760 1afc246a69 GRAPHICS: MACGUI: Added the callback function for drawing invert pixel for default palette, which is used to draw the scroll bar 2021-04-01 16:08:56 +02:00
ysj1173886760 43e95f3a48 GRAPHICS: MACGUI: set palette in macwindowmanager line 41 as default a palette of MacWindowManager 2021-04-01 16:08:56 +02:00
ysj1173886760 3f4e072632 GRAPHICS: MACGUI: Added flag to load ScummVM wallpaper optionally 2021-03-27 13:05:31 +01:00
Eugene Sandulenko f8ac24d27a GRAPHICS: MACGUI: Better handling for setActiveWidget
This fixes cursor in editable text widgets.
2021-03-19 20:13:57 +01:00
Nathanael Gentry d2a1102423 GRAPHICS: MACGUI: Fix screen copying with direct draw 2020-08-19 16:59:18 -04:00