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
ysj1173886760
c2353d3797
GRAPHICS: MACGUI: use lazy load to load built-in border types, add scrollbar flag to indicate whether the window has scroll bar
2021-04-12 14:04:25 +02:00
ysj1173886760
a0964d690c
GRAPHICS: MACGUI: Add border flags to the builtin border types, fix the remaining part of macgui which are not adapt to border flags.
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
3f4e072632
GRAPHICS: MACGUI: Added flag to load ScummVM wallpaper optionally
2021-03-27 13:05:31 +01:00
Eugene Sandulenko
367dd5ff66
GRAPHICS: MACGUI: More fixed for 32bpp mode
2020-08-16 23:08:33 +02:00
Eugene Sandulenko
f05d2f17c2
GRAPHICS: MACGUI: Made MacDrawPixPtr a global typedef
2020-08-16 00:59:05 +02:00
Eugene Sandulenko
e604c97607
GRAPHICS: MACGUI: Made MacDrawPixel bpp-aware
2020-08-15 16:09:20 +02:00
Eugene Sandulenko
659e3c72b8
GRAPHICS: MACGUI: Further work on 32bpp blitting
2020-08-14 23:54:16 +02:00
Eugene Sandulenko
d61eeb9880
GRAPHICS: MACGUI: Added 32bpp mode form MacWindowManager
2020-08-14 01:10:32 +02:00
Eugene Sandulenko
02b04d3de8
JANITORIAL: Whitespace fixes
2020-08-14 00:52:34 +02:00
Nathanael Gentry
8b7f9d4ab2
GRAPHICS: MACGUI: Handle direct draw window offsets
2020-08-12 16:34:24 -04:00
Nathanael Gentry
a639ae4002
GRAPHICS: MACGUI: Add WM direct copy mode
...
This does not keep the current screen state cached in a surface, but re-creates
the screen from its various components each time something changes. This avoids
an intermediate blitting.
The mode is enabled just by not providing a surface to the WM, and instead
providing a width and height.
2020-08-12 02:34:45 -04:00
Nathanael Gentry
59dd1716b1
GRAPHICS: MACGUI: Put pause token on heap
2020-08-12 02:34:24 -04:00
djsrv
a9346eea42
GRAPHICS: MACGUI: Improve grays naming
2020-08-07 18:55:17 -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
djsrv
570e33cc8a
GRAPHICS: MACGUI: Draw bitmap desktop background
2020-08-06 18:32:08 -04:00
djsrv
c29ccaa0bb
GRAPHICS: MACGUI: Draw title on ninepatch borders
2020-08-05 19:20:14 -04:00
djsrv
74f0434d42
GRAPHICS: MACGUI: Add _colorOffWhite
2020-08-05 19:20:14 -04:00
djsrv
6189a36d12
GRAPHICS: MACGUI: Add border types
2020-07-31 16:38:37 -04:00
Scott Percival
4bfffc43a7
DIRECTOR: Move widgets from cast members to channels ( #2372 )
...
This change is required to support copies of the same cast member running in different channels.
* DIRECTOR: Move widget ownership from cast member to channel
* DIRECTOR: Cache cast dimensions from createWidget
* DIRECTOR: Add null checks for createWidget
* GRAPHICS: MACGUI: Clear active/hover WM references if the widget is destroyed
* DIRECTOR: LINGO: Re-add null check for kTheEditableText
* DIRECTOR: Avoid destroying widgets if the channel isn't dirty
* DIRECTOR: Fix dirty test
* DIRECTOR: Fix text field writeback
* DIRECTOR: Fix null cast check
* DIRECTOR: Add bbox as argument to createWidget
* DIRECTOR: Add setCast method to Channel
* DIRECTOR: Fix use-after-free in Channel::getMask
* DIRECTOR: Fix bounding box for Button sprites
* DIRECTOR: Cache widget dimensions in cast member
* DIRECTOR: Remove widget from channel if nextSprite is empty
* GRAPHICS: MACGUI: Fix MacText::splitString for empty string case
* DIRECTOR: Add null checks for movie and score in processEvents
2020-07-26 04:32:29 +00:00
Nathanael Gentry
79acd63dc0
GRAPHICS: MACGUI: Generalize WM cursor handling
2020-07-18 00:37:57 -04:00