Nathanael Gentry
a292aab351
GRAPHICS: MACGUI: Add missing window manager assignment
2020-07-16 18:36:24 -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
03ddc4dd4d
GRAPHICS: MACGUI: Standardize destructors for widget subclasses
2020-07-07 16:41:53 -04:00
Eugene Sandulenko
f11b5b33dc
GRAPHICS: MACGUI: Keep cursor position after paragraph reshuffling
2020-06-30 01:04:08 +02: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
D G Turner
6a2c0e5091
GRAPHICS: MACGUI: Fix Signed vs. Unsigned Compiler Warning
2020-06-23 19:53:32 +01: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
41871d0909
GRAPHICS: MACGUI: Fix logic errors in empty array handling
2020-06-17 13:47:44 -04:00
Nathanael Gentry
9e69ea280e
GRAPHICS: MACGUI: Fix text border computation
2020-06-14 10:12:57 -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
Eugene Sandulenko
2bcc7f2bc4
GRAPHICS: MACGUI: Optimize MacText::getTextChunk()
2020-06-11 01:04:08 +02:00
Nathanael Gentry
c38ad8bd5e
GRAPHICS: MACGUI: MacText: Add shadow
2020-06-10 15:42:49 +02:00
BLooperZ
ec83715b43
COMMON: add UnicodeBiDiText wrapper
2020-05-12 14:36:09 +02:00
BLooperZ
6a653312e2
GRAPHICS: remove text_renderer
2020-05-12 14:36:09 +02:00
BLooperZ
432dd88bdb
GRAPHICS: MACTEXT: draw bidi text
2020-05-12 14:36:09 +02:00
D G Turner
05bc8c295f
GRAPHICS: MACGUI: Fix Signed vs. Unsigned GCC Compiler Warnings
2020-05-09 18:03:43 +01:00
Eugene Sandulenko
df66eea201
GRAPHICS: MACGUI: Fixed getting coordinates on chunk edge
2020-05-04 10:21:54 +02:00
Eugene Sandulenko
d1359478c0
GRAPHICS: MACGUI: More fixes for edge cases
2020-05-03 19:54:28 +02:00
Eugene Sandulenko
45b6441d71
GRAPHICS: MACGUI: Fixed adding text to end of line in editable text
2020-05-03 19:46:10 +02:00
Eugene Sandulenko
4a49d9d538
GRAPHICS: MACGUI: Fixed crash when removing all text in editable text
2020-05-03 19:38:04 +02:00
Eugene Sandulenko
f883d195d0
GRAPHICS: MACGUI: Added comments and removed redundant methods in MacText
2020-05-03 01:31:53 +02:00
Eugene Sandulenko
217884d873
GRAPHICS: MACGUI: Collapse text formatting in getTextChunk()
2020-05-03 00:44:54 +02:00
Eugene Sandulenko
8615f27a87
GRAPHICS: MACGUI: Implemented reshuffleParagraph() in editable text
2020-05-03 00:23:34 +02:00
Eugene Sandulenko
302cfb5459
GRAPHICS: MACGUI: Fixed edge cases for cursor navigation
2020-05-02 23:43:05 +02:00
Eugene Sandulenko
2b1297c2f9
GRAPHICS: MACGUI: Fix text insertion
2020-05-02 22:02:12 +02:00
Eugene Sandulenko
b8d2cdff02
GRAPHICS: MACGUI: Fix deleting characters at edge of chunks
2020-05-02 22:01:11 +02:00
Eugene Sandulenko
d57b724999
GRAPHICS: MACGUI: Code cleanup
2020-05-02 21:58:27 +02:00
Eugene Sandulenko
e7045ee28b
GRAPHICS: MACGUI: Implemented addNewLine() in editable text
2020-05-02 21:53:56 +02:00
Eugene Sandulenko
520e2b107b
GRAPHICS: MACGUI: Fixed vertical cursor movement in editable text
2020-05-02 21:27:58 +02:00
Eugene Sandulenko
abe45f2895
GRAPHICS: MACGUI: Implemented method for obtaining edited string
2020-05-01 15:07:22 +02:00
Eugene Sandulenko
b1a8835adc
GRAPHICS: MACGUI: Implemented trivial case for backspace in editable text
2020-05-01 15:07:22 +02:00
Eugene Sandulenko
c879bba4b4
GRAPHICS: MACGUI: Implemented trivial case of character insertion in MacText
2020-05-01 01:30:20 +02:00
Eugene Sandulenko
e88a9016ea
GRAPHICS: MACGUI: Added notion of paragraphs to MacText
2020-05-01 00:49:58 +02:00
Eugene Sandulenko
5a6ff99821
GRAPHICS: MACGUI: Simplified editable text code
2020-05-01 00:49:58 +02:00
Eugene Sandulenko
d6ab653e57
GRAPHICS: MACGUI: Initial code for cursor management in editable text
2020-05-01 00:49:58 +02:00
Eugene Sandulenko
25aed9b1bf
GRAPHICS: MACGUI: More debug output
2020-04-29 20:55:38 +02:00
Eugene Sandulenko
1c4b895b54
GRAPHICS: MACGUI: Fix setting default font for MacText
2020-04-28 23:50:59 +02:00
Eugene Sandulenko
a968cb9b2b
GRAPHICS: MACGUI: More const'ness
2020-04-27 13:57:35 +02:00
Eugene Sandulenko
742ec2ccaf
GRAPHICS: MACGUI: Simplified font management in EdtiableText
2020-04-27 13:57:35 +02:00
Eugene Sandulenko
8f5a432907
GRAPHICS: MACGUI: Fix crash when text is too narrow for a single chunk in MacText
2020-04-26 12:04:07 +02:00
Eugene Sandulenko
7fb7849656
GRAPHICS: MACGUI: Fixed MacText splitting and added more debug output
2020-04-26 11:51:39 +02:00
Eugene Sandulenko
9aa1d16e53
GRAPHICS: MACGUI: Fully reworked MacText::splitString()
2020-04-26 02:47:25 +02:00
Eugene Sandulenko
6e0cb60e4f
GRAPHICS: MACGUI: More debug output
2020-04-25 01:45:21 +02:00
stevenhoefel
cb224864fc
GRAPHICS: MACGUI: Align text to bottom if font-size changes during chunk.
2020-04-05 13:27:03 +10:00
Eugene Sandulenko
66455b6aa5
GRAPHICS: MACGUI: Added sanity check to splitString()
2020-01-14 18:48:42 +01:00
Eugene Sandulenko
5a06fcecdd
GRAPHICS: MACGUI: Generate MacText surface for empty texts
2020-01-05 11:34:17 +01:00