Le Philousophe
226de788c8
GRAPHICS: Make API use the Path class
2023-12-24 13:19:25 +01:00
Torbjörn Andersson
b2568e05ce
GRAPHICS: MACGUI: Attempt to fix threading issues
...
The menuTimerHandler() function is called from a timer, which means that
anything that it touches could potentially cause threading issues. I
suspect this is what's been causing the screen to go black for me a few
times, but it's not something I can reproduce at will. Add a mutex to
try and fix this.
2023-11-18 18:49:55 +01:00
AndywinXp
2efd9ab70a
GRAPHICS: MACGUI: Add kWMModeForceMacBorder mode
...
This allows for having the Mac desktop arc even during Win95 mode.
2023-11-18 18:47:39 +01:00
Cameron Cawley
0a59113b43
GRAPHICS: Remove use of TransparentSurface in MacWindowManager
2023-10-24 20:16:34 +02:00
Eugene Sandulenko
cdfe274272
GRAPHICS: MACGUI: Fix warnings. CID 1519083
2023-09-19 15:45:29 +02:00
Eugene Sandulenko
c668169636
GRAPHICS: MACGUI: Encode images into MacText from Markdown
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
fd844bc00f
GRAPHICS: MACGUI: Added kWMModeNoCursorOverride
2023-09-17 00:56:28 +02:00
Harishankar Kumar
26aa07c4d4
DIRECTOR: High IDs for custom scrollable border
...
This patch bumps IDs of scrollable border to 0x1000 and above, so that
they don't conflict with IDs normal borders, additionally to support this
change windowType is changed from `byte` type to `uint32` type.
2023-08-03 09:49:20 +02:00
Harishankar Kumar
a7e737b6e4
GRAPHICS: MACGUI: Implement background window
...
This patch adds background window, these are special type of window where
the window is always in background and in a multi-window environment, it
will prevent the window from being brought to front.
2023-08-02 18:42:24 +02:00
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
Eugene Sandulenko
3659fa9d70
GRAPHICS: MACGUI: Fixed returned palette size in WM
2022-11-03 20:36:59 +01: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
Eugene Sandulenko
70721f9a59
GRAPHICS: MACGUI: Sync methods with their prototypes
2022-09-09 17:43:35 +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
Eugene Sandulenko
ba4a260e9e
GRAPHICS: MACGUI: Use uint32 for color information
2022-08-20 22:12:29 +02:00
Avijeet
cd985e2a7f
GRAPHICS: MACGUI: Add flag to enforce mac font in win95 mode
2022-07-31 18:33:22 +02:00
Eugene Sandulenko
8ee1fcbcb8
GRAPHICS: MACGUI: Implemented debug method for printing WM mode
2022-07-19 23:46:57 +02:00
Pragyansh Chaturvedi
5c17fe70b8
JANITORIAL: Fix conventions and reimplement MacFontManager::rectifyId()
2022-07-17 13:04:14 +02:00
Eugene Sandulenko
4649680c9b
GRAPHICS: MACGUI: Switch color lookup to Graphics::PaletteLookup
2022-07-03 12:50:06 +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
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
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
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
ysj1173886760
6db3b93050
GRAPHICS: MACGUI: add an overload version for findBestColor
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
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
4928f35aac
GRAPHICS: MACGUI: create function "resizeScreen" to creating and resizing screen for WM
2021-06-20 14:33:53 +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
c88b6e2e04
GRAPHICS: MACGUI: move WM clipboard operations from mactext to macwindowmanager
2021-06-03 13:19:10 +02:00
ysj1173886760
f68b3736a3
GRAPHICS: MACGUI: add clipboard which can help saving format from mactext for wm
2021-06-03 13:19:10 +02:00
Eugene Sandulenko
6e17562492
GUI: MACGUI: Make MacTextWindow working with plain fonts
2021-05-02 01:03:02 +02:00
Eugene Sandulenko
5e6e9bf74b
GRAPHICS: MACGUI: Expose MacWindowManager palette
2021-05-02 01:03:01 +02:00
Eugene Sandulenko
cc0cdbbd22
GRAPHICS: MACGUI: Plug memory leak
2021-05-01 01:49:46 +02:00
ysj1173886760
47f4912083
GRAPHICS: MACGUI: add new flag kWMModeWin95 for macwindowmanager
2021-04-25 02:24:15 +02:00
ysj1173886760
3b53a4f2f7
GRAPHICS: MACGUI: move titlePos into BorderOffsets
2021-04-12 14:04:25 +02:00