Cameron Cawley
ce2ad28477
GRAPHICS: Add a basic copyBlit() function
2020-09-17 22:21:23 +02:00
Vladimir Menshakov
b1bee9b372
GRAPHICS: Remove unimplemented colorkey methods from TransparentSurface
2020-09-01 21:52:38 +01:00
Eugene Sandulenko
3bc8e687f2
GRAPHICS: Expose SJIS font chunk calculation
2020-08-31 23:46:50 +02:00
aryanrawlani28
546fe374df
GRAPHICS: Properly assign chars in handleEllipsis according to stringtype
2020-08-30 14:43:41 +02:00
aryanrawlani28
521acaf459
GUI: RTL: Fix 1-off issue for drawing u32 strings
...
When RTL mode is on, previously it was fixed in a commit. This commit just reapplies that, for u32 string drawing.
2020-08-30 14:43:41 +02:00
aryanrawlani28
aa33fc2354
GRAPHICS: Use template for handleEllipsis
2020-08-30 14:43:41 +02:00
aryanrawlani28
ad78777bc6
GUI: Handle ellipsis shortening of text when drawing u32 strings
2020-08-30 14:43:41 +02:00
aryanrawlani28
20e21ba79d
GUI: U32: Temporarily overload drawString
...
- To accept u32 string as a parameter
- To draw everything else normally until fully converted to drawing u32
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
8c52f6db12
GRAPHICS: MACGUI: Reset MacWindget dirty flag on blit.
...
This reduces amount of unnecessary redraws.
2020-08-24 20:53:37 +02:00
Nathanael Gentry
2512ca2d5b
GRAPHICS: MACGUI: Fix hex format decoding
2020-08-20 13:17:01 -04:00
Nathanael Gentry
d2a1102423
GRAPHICS: MACGUI: Fix screen copying with direct draw
2020-08-19 16:59:18 -04:00
Nathanael Gentry
7b82dcd8ac
GRAPHICS: MACGUI: Add colour to text render debug
2020-08-19 16:32:45 -04:00
Eugene Sandulenko
b221999e1e
GRAPHICS: Allocate more memory on generating scaled Mac fonts
2020-08-17 00:50:56 +02:00
Eugene Sandulenko
e8e137a46c
GRAPHICS: Create FloodFill mask with the matching pixel format of the main surface
2020-08-16 23:50:46 +02: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
695e8349fe
GRAPHICS: MACGUI: BE-safe color creation
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
43c3407557
GRAPHICS: MACGUI: More work on making MacWindowBorder 32bpp-aware
2020-08-15 16:09:20 +02:00
Eugene Sandulenko
ff49cb2303
GRAPHICS: MACGUI: Make pattern drawing 32bpp-aware
2020-08-15 14:50:27 +02:00
Eugene Sandulenko
56fddcb965
GRAPHICS: MACGUI: Tidy up code
2020-08-15 14:50:27 +02:00
Eugene Sandulenko
6d72ebd1e2
GRAPHICS: MACGUI: Made MacButtons and desktop render in 32bpp
2020-08-15 14:50:26 +02:00
Eugene Sandulenko
29533d9c5e
GRAPHICS: MACGUI: Fix typo in findBestColor
2020-08-15 14:50:26 +02:00
Eugene Sandulenko
659e3c72b8
GRAPHICS: MACGUI: Further work on 32bpp blitting
2020-08-14 23:54:16 +02:00
Eugene Sandulenko
ee3e1e3af5
GRAPHICS: MACGUI: More 32bpp enhancements
2020-08-14 10:47:33 +02:00
Nathanael Gentry
b4c6ab24b0
GRAPHICS: MACGUI: Restore window border transparency
2020-08-13 21:24:52 -04: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
281c89f05f
GRAPHICS: MACGUI: Process windowed widget events
...
This ensures the correct dimensions are passed to ensure widgets within windows
process their events properly.
2020-08-13 00:05:32 -04:00
Nathanael Gentry
8b7f9d4ab2
GRAPHICS: MACGUI: Handle direct draw window offsets
2020-08-12 16:34:24 -04:00
Nathanael Gentry
3a69512fe1
GRAPHICS: MACGUI: Fix menu direct rendering
2020-08-12 16:34:24 -04:00
Eugene Sandulenko
838bdf1ba5
GRAPHICS: MACGUI: Fix warnings
2020-08-12 09:07:21 +02: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
Nathanael Gentry
07166de33f
GRAPHICS: MACGUI: Add dirty rect handling to MacWindow
...
The Director engine, which relied on this functionality in its Window class, is
also updated.
2020-08-12 02:34:24 -04:00
Eugene Sandulenko
8432933c04
GRAPHICS: MACGUI: Fixed moving cursor back to previous line in MacText
2020-08-09 00:20:55 +02:00
Eugene Sandulenko
5b30501f18
GRAPHICS: MACGUI: Make cursor up/down movement more logical in MacText
2020-08-09 00:20:55 +02:00
Eugene Sandulenko
16d7359498
GRAPHICS: MACGUI: Make cursor height variable in MacText
2020-08-09 00:20:55 +02:00
Eugene Sandulenko
e8aa105779
GRAPHICS: MACGUI: Make sure we always undraw cursor
2020-08-08 11:24:34 +02:00
Eugene Sandulenko
ffed05f498
GRAPHICS: MACGUI: Clear surface before full refresh
2020-08-08 11:04:42 +02:00
djsrv
1678c7621e
GRAPHICS: MACGUI: Fix inactive title color
2020-08-07 19:00:07 -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
92abe49c5b
GRAPHICS: MACGUI: Resize border surface
2020-08-07 15:21:39 -04:00
djsrv
1352ab6f9f
GRAPHICS: MACGUI: Don't draw title on thin border
2020-08-07 13:45:55 -04:00
djsrv
8bc5e73d0a
DIRECTOR: LINGO: Properly implement titleVisible
2020-08-07 13:40:52 -04:00
Eugene Sandulenko
09c12a820a
GRAPHICS: MACGUI: Make sure MacText is updated on cursor change
2020-08-07 10:07:32 +02:00
Eugene Sandulenko
2c4de514a5
GRAPHICS: MACGUI: Remove unused variable
2020-08-07 09:45:26 +02:00
djsrv
686bc49050
GRAPHICS: MACGUI: Full refresh on dims changes
...
The desktop needs to be redrawn.
2020-08-06 18:55:13 -04:00
djsrv
570e33cc8a
GRAPHICS: MACGUI: Draw bitmap desktop background
2020-08-06 18:32:08 -04:00