Cameron Cawley
6ee5aad258
GRAPHICS: Remove use of TransparentSurface in NinePatch code
2023-10-24 20:16:34 +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
f3a6c27df6
GRAPHICS: MACGUI: Add no-border scrollbar, Win95 Border Refactored
...
Win95 scrollbar loading is refactored to use existing `borders` array
in `datafiles.cpp`, Added no-border scrollbar for MacOS, Win95.
This is to support scrollable text cast members in Director, which
will be used by `totaldistortion-win` game.
--start-movie="ATD\HD\bbTWRFL2.DXR@392" totaldistortion-win
2023-08-03 09:49:20 +02:00
Donovan Watteau
18ab6803d6
JANITORIAL: Fix various "an" typos in comments
2023-03-16 14:47:28 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Martin Gerhardy
37de1b3146
MACGUI: const for some methods
2021-09-19 15:21:56 +02:00
ysj1173886760
fc702ea9fe
GRAPHICS: MACGUI: re-organize the code for drawing scrollbar for macwindow
2021-04-25 02:24:15 +02:00
ysj1173886760
3b47e56155
GRAPHICS: MACGUI: clean the codes
2021-04-12 14:04:25 +02:00
ysj1173886760
3b53a4f2f7
GRAPHICS: MACGUI: move titlePos into BorderOffsets
2021-04-12 14:04:25 +02:00
ysj1173886760
7f47b9f6c0
GRAPHICS: MACGUI: move border stuff into macwindowborder
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
aeacf0d4d2
GRAPHICS: MACGUI: modify the position where it draws the title, currently, it will draw title at the center of title box
2021-04-12 14:04:25 +02:00
ysj1173886760
6d7e794ed3
GRAPHICS: MACGUI: Add flag to indicate the border type, move drawTitle and drawScrollBar into macwindowborder
2021-04-12 14:04:25 +02:00
ysj1173886760
307147c565
GRAPHICS: MACGUI: use titlePos to calc titleIndex, change the titleWidth in 9-patch when title is changed
2021-04-12 14:04:25 +02:00
ysj1173886760
8894317e89
GRAPHICS: MACGUI: add titleIndex and titleWidth to macborder in order suit to 9-patch
2021-04-12 14:04:25 +02:00
djsrv
c29ccaa0bb
GRAPHICS: MACGUI: Draw title on ninepatch borders
2020-08-05 19:20:14 -04:00
djsrv
d4c825b089
GRAPHICS: Allow using Mac WM best color in 9patch
2020-07-31 16:38:37 -04:00
Eugene Sandulenko
3fbcc67766
GRAPHICS: MACGUI: Load border padding directly from the 9-patch
2019-09-29 23:26:05 +02:00
Eugene Sandulenko
fab199d37e
JANITORIAL: Make GPL headers uniform
2016-09-03 12:46:38 +02:00
Borja Lorente
9444a1864b
GRAPHICS: Fix leak in macgui border loading
2016-08-25 13:26:02 +02:00
Borja Lorente
d7010637af
GRAPHICS: Add documentation to MacWindowBorder
2016-08-02 08:33:50 +02:00
Borja Lorente
f7ba1cb812
GRAPHICS: Rename header guards in macgui
2016-08-02 08:33:50 +02:00
Borja Lorente
bc798d9ff4
GRAPHICS: Add custom border measures
2016-08-02 08:33:43 +02:00
Borja Lorente
3b1ba50c88
GRAPHICS: First approximation to custom border offsets
2016-07-31 14:47:19 +02:00
Borja Lorente
f642ad1cae
GRAPHICS: Refactor MacWindow to accept MacWindowBorder
2016-07-31 14:45:37 +02:00
Borja Lorente
a2955b1025
GRAPHICS: Add active/inactive borders to MacWindowBorders
2016-07-31 14:45:36 +02:00
Borja Lorente
4ab02530ae
GRAPHICS: Add MacWindowBorder to abstract borders
2016-07-31 14:45:36 +02:00