Eugene Sandulenko
0654be0322
GRAPHICS: MACGUI: Implement hashing to findBestColor()
2020-07-17 14:19:22 +02:00
Nathanael Gentry
91409d2cc1
GRAPHICS: MACGUI: MacWidget: Handle priorities properly
2020-07-16 18:36:33 -04:00
Nathanael Gentry
a292aab351
GRAPHICS: MACGUI: Add missing window manager assignment
2020-07-16 18:36:24 -04:00
Eugene Sandulenko
ed76a70d58
GRAPHICS: MACGUI: Fix warning
2020-07-17 00:30:56 +02:00
Nathanael Gentry
dfd522bbe1
GRAPHICS: MACGUI: Reduce erroneous button activations
2020-07-16 10:31:51 -04:00
Nathanael Gentry
e23c264873
GRAPHICS: MACGUI: Remove mouseDownWidget
...
The functionality I needed here can be implemented in the Director engine instead.
2020-07-16 09:59:05 -04:00
Nathanael Gentry
296b42b2c0
GRAPHICS: MACGUI: Don't redundantly clear text surface
...
This fixes the issue in Director where text redrawing would overwrite the button
indication. Now, the changed-area clearance in MacText::render is the only
clearance of the text surface that occurs.
The contentIsDirty setting is removed from MacButton because this flag is
already reset in MacText::draw.
2020-07-16 00:27:37 -04:00
Eugene Sandulenko
a24a934a97
GRAPHICS: MACGUI: Fix warning
2020-07-15 23:31:10 +02:00
Nathanael Gentry
d770b21094
GRAPHICS: MACGUI: Remove macInvertPixel callback
...
Instead, the addition to macDrawPixel is used instead.
2020-07-15 11:50:57 -04:00
Nathanael Gentry
454be019ff
DIRECTOR: Remove maskSurface from MacWidget
2020-07-13 13:29:54 -04:00
Eugene Sandulenko
24695be687
GRAPHICS: MACGUI: Added sanity check
2020-07-13 11:41:54 +02:00
Eugene Sandulenko
670ea3485f
GRAPHICS: MACGUI: Extend setVisible() method to allow proper overloading
2020-07-10 10:06:11 +02:00
djsrv
a7319b0df5
GRAPHICS: MACGUI: Fix window layering
...
If a window is redrawn, any windows on top of it need to be redrawn.
2020-07-09 16:29:42 -04:00
djsrv
57bb4359ef
DIRECTOR: LINGO: Implement the visible of window
2020-07-09 00:54:31 -04:00
djsrv
94d8c49a84
DIRECTOR: LINGO: Properly init/destroy windows
2020-07-09 00:37:23 -04:00
djsrv
3aaeced035
GRAPHICS: MACGUI: Allow windows to be hidden
2020-07-08 17:10:55 -04:00
Nathanael Gentry
03ddc4dd4d
GRAPHICS: MACGUI: Standardize destructors for widget subclasses
2020-07-07 16:41:53 -04:00
Eugene Sandulenko
927825f6ac
GRAPHICS: MACGUI: Fix overridden method footprint
2020-07-07 12:17:18 +02:00
Nathanael Gentry
63071473af
Revert "GRAPHICS: MACGUI: Remove colour settings from base widget"
...
This reverts commit 39c4a0f524 .
2020-07-06 23:15:56 -04:00
Nathanael Gentry
39c4a0f524
GRAPHICS: MACGUI: Remove colour settings from base widget
...
The Director engine, for which I introduced this setting, has also been updated.
To account for different ink types, the background colour will be applied in the
blitting step, and each text chunk keeps its own palette information.
2020-07-06 23:06:04 -04:00
djsrv
d8725510b6
GRAPHICS: MACGUI: Don't draw border over contents
2020-07-06 13:12:55 -04:00
Eugene Sandulenko
952c4c98ee
GRAPHICS: MACGUI: Try to generate different font slant first
2020-07-05 22:45:46 +02:00
Eugene Sandulenko
25c1e4a590
MACGUI: Restrict TTF font generation to regular fonts only
2020-07-05 22:45:07 +02:00
Eugene Sandulenko
561052c476
GRAPHICS: MACGUI: Fix bug when we stopped loading font family after TTF font
2020-07-05 22:42:49 +02:00
Nathanael Gentry
1ddc4bf6bd
GRAPHICS: MACGUI: MacButton: Properly mark dirty button states
2020-06-30 12:38:46 -04:00
Nathanael Gentry
30bd4de3a7
Revert "GRAPHICS: MACGUI: Add QuickDraw class"
...
This reverts commit 3469ed858c .
2020-06-30 12:38:46 -04:00
djsrv
20e29b2198
GRAPHICS: MACGUI: Load TrueType fonts
2020-06-29 22:11:13 -04:00
Eugene Sandulenko
f11b5b33dc
GRAPHICS: MACGUI: Keep cursor position after paragraph reshuffling
2020-06-30 01:04:08 +02:00
Nathanael Gentry
3469ed858c
GRAPHICS: MACGUI: Add QuickDraw class
2020-06-29 10:03:12 -04:00
Nathanael Gentry
2643e2f957
GRAPHICS: MACGUI: MacWindowManager: Optionally set custom patterns
...
The Director engine, which uses custom patterns, is also updated.
2020-06-29 09:07:05 -04:00
Nathanael Gentry
8e2be0ceb3
GRAPHICS: MACGUI: MacWidget: Accept colours in constructor
2020-06-29 08:49:18 -04:00
Nathanael Gentry
d22fea1924
GRAPHICS: MACGUI: MacText: Render chunks with individual palinfo
2020-06-25 13:47:56 -04:00
Nathanael Gentry
335f6f2e3d
GRAPHICS: MACGUI: Keep window manager pointer in all widgets
2020-06-23 23:26:49 -04:00
Nathanael Gentry
8dd0c305dd
GRAPHICS: MACGUI: Render all of the button
2020-06-23 16:04:17 -04:00
D G Turner
6a2c0e5091
GRAPHICS: MACGUI: Fix Signed vs. Unsigned Compiler Warning
2020-06-23 19:53:32 +01:00
Nathanael Gentry
a3f649c10d
GRAPHICS: MACGUI: Add colour decomposer
2020-06-23 12:50:58 -04:00
Eugene Sandulenko
38337e12b9
GRAPHICS: MACGUI: Properly process deleting character at end of the line
2020-06-19 14:04:28 +02:00
Eugene Sandulenko
6e568ba765
GRAPHICS: MACGUI: Catch 'delete' button in MacText. No code for processing yet
2020-06-18 10:44:47 +02:00
Eugene Sandulenko
a6cfbb787e
GRAPHICS: MACGUI: Fix crash when deleting last character in MacText
2020-06-18 00:00:20 +02:00
Nathanael Gentry
f8fa6ec649
GRAPHICS: MACGUI: Remove redundant conversion
2020-06-17 15:32:18 -04:00
Nathanael Gentry
41871d0909
GRAPHICS: MACGUI: Fix logic errors in empty array handling
2020-06-17 13:47:44 -04:00
Nathanael Gentry
01b2e97c6e
GRAPHICS: MACGUI: Draw zoomBox with pixel inversion
...
The Director engine, which relies upon zoomBox, is also updated.
2020-06-16 08:48:21 -04:00
Nathanael Gentry
3b795ae07a
GRAPHICS: MACGUI: Enable macDrawPixel to invert pixels
2020-06-16 08:48:21 -04:00
Nathanael Gentry
0e574c6aab
GRAPHICS: MACGUI: MacWidget: Clear composeSurface with background colour
2020-06-15 12:04:45 -04:00
Eugene Sandulenko
97a82f212b
GRAPHICS: MACGUI: Initialize MacWidget colors to sane values
2020-06-15 12:15:50 +02:00
Nathanael Gentry
874526c563
GRAPHICS: MACGUI: Fix button alignment
2020-06-14 10:12:58 -04:00
Nathanael Gentry
9e69ea280e
GRAPHICS: MACGUI: Fix text border computation
2020-06-14 10:12:57 -04:00
Nathanael Gentry
20dde1d917
GRAPHICS: MACGUI: Relocate colours to from MacText to MacWidget
2020-06-12 20:29:50 -04:00
Nathanael Gentry
c5021628e2
GRAPHICS: MACGUI: Make text merge a little nicer
2020-06-12 18:22:17 -04:00
Nathanael Gentry
45937130dd
GRAPHICS: MACGUI: Begin reorganizing text classes
...
MacEditableText has been merged into MacText. The Director engine, which relies
upon MacEditableText, is also updated here.
2020-06-12 15:27:37 -04:00