Commit Graph
14 Commits
Author SHA1 Message Date
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 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
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
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
Nathanael Gentry 1ddc4bf6bd GRAPHICS: MACGUI: MacButton: Properly mark dirty button states 2020-06-30 12:38:46 -04:00
Nathanael Gentry 8dd0c305dd GRAPHICS: MACGUI: Render all of the button 2020-06-23 16:04:17 -04:00
Nathanael Gentry 874526c563 GRAPHICS: MACGUI: Fix button alignment 2020-06-14 10:12:58 -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
Nathanael Gentry 033e025365 GRAPHICS: MACGUI: MacWindowManager: Deactivate widget when mouse leaves 2020-06-10 15:42:49 +02:00
Nathanael Gentry 2eecd518b1 GRAPHICS: MACGUI: MacWidget: Make non-abstract 2020-06-10 15:42:49 +02:00
Nathanael Gentry d64e41eca2 GRAPHICS: MACGUI: Add MacButton widget 2020-06-10 15:42:49 +02:00