Eugene Sandulenko
e8aa105779
GRAPHICS: MACGUI: Make sure we always undraw cursor
2020-08-08 11:24:34 +02:00
Eugene Sandulenko
09c12a820a
GRAPHICS: MACGUI: Make sure MacText is updated on cursor change
2020-08-07 10:07:32 +02:00
Nathanael Gentry
4907aae05e
GRAPHICS: MACGUI: MacText: Add selection index getter
2020-07-30 13:54:11 -04:00
Eugene Sandulenko
af7c9ab14f
GRAPHICS: MACGUI: Implement API for setting selection in MacText
2020-07-19 15:43:45 +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
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
874526c563
GRAPHICS: MACGUI: Fix button alignment
2020-06-14 10:12:58 -04:00
Nathanael Gentry
20dde1d917
GRAPHICS: MACGUI: Relocate colours to from MacText to MacWidget
2020-06-12 20:29:50 -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
c38ad8bd5e
GRAPHICS: MACGUI: MacText: Add shadow
2020-06-10 15:42:49 +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
8615f27a87
GRAPHICS: MACGUI: Implemented reshuffleParagraph() in editable text
2020-05-03 00:23:34 +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
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
9aa1d16e53
GRAPHICS: MACGUI: Fully reworked MacText::splitString()
2020-04-26 02:47:25 +02:00
Eugene Sandulenko
dafacc4998
GRAPHICS: MACGUI: Inherit MacEditableText surface from MacWidget
2020-04-25 00:46:49 +02:00
Eugene Sandulenko
2d9b3b0b2d
GRAPHICS: MACGUI: Initial code for MacEditableText
2020-01-02 18:23:33 +01:00
Eugene Sandulenko
694ed6e7bc
GRAPHICS: MACGUI: Added possibility to render MacText at any desired place
2019-10-20 20:09:28 +05:00
Eugene Sandulenko
419cb1e7c7
GRAPHICS: MACGUI: Switched MacText to U32String internally
2019-10-18 17:20:27 +02:00
Eugene Sandulenko
0e2d14ac41
GRAPHICS: MACGUI: Initial code for Cutting/Paste multiline input texts
2017-08-08 11:25:55 +02:00
Eugene Sandulenko
23649e8d87
GRAPHICS: MACGUI: Initial code for copying selection to clipboard
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
676b6082ab
GRAPHICS: GUI: Mark beginning and end column of selection in MacTextWindow
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
b3c8a8e129
GRAPHICS: MACGUI: Align and store MacText selection coordinates
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
c25a26d11c
GRAPHICS: MACGUI: Event processing code for text selection in MacTextWindow
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
4e044d7bd3
GRAPHICS: MACGUI: Do not add input line to the original MacText content
...
During resize we were replaying all MacText appends, which was including
whole history of the input. Eek.
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
8609572b87
GRAPHICS: MACGUI: Correctly set MacTextWindow internal MacText size
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
61eb58186c
GRAPHICS: MACGUI: Cleanup
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
4897f6618b
GRAPHICS: MACGUI: Pass default formatting to MacText
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
b02d9a0174
GRAPHICS: MACGUI: unk3f is not needed in MacText
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
115a7407e9
GRAPHICS: MACGUI: Keep original string in MacText
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
62a2ac8c2b
GRAPHICS: MACGUI: Added more getters to MacText
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
68cd5c8868
GRAPHICS: MACGUI: Added method to remove last line from MacText
2017-08-01 10:42:21 +02:00
VelocityRa
3a2ce12288
WAGE: Fix resizing and text selection bug
...
Revise/Simplify old optional text rendering
Set things up a bit for selected text rendering
Add MacTextWindow::clearText and MacTextWindow::setSelection
Add MacTextWindow::appendText variant that accepts a MacFont
2017-07-17 23:45:22 +02:00
VelocityRa
2b06c02d7d
GRAPHICS: Add MacText::appendText() variants that accept text format args
...
Made 1 helper method and 1 function to reduce duplication size as much
as possible and still keep them useful for other purposes.
2017-07-17 23:45:22 +02:00
Tobia Tesan
6a741a88c9
GRAPHICS: Pass interlinear as constructor argument to MacText
2017-05-02 21:01:23 +01:00
Tobia Tesan
ed2f09b13f
GRAPHICS: Delete MacFont in MacText
2017-04-30 09:48:08 +02:00
Tobia Tesan
af664fe757
GRAPHICS: Use MacFont in lieu of Graphics::Font in MacText
2017-04-30 09:48:08 +02:00
stevenhoefel
7d044c570c
GRAPHICS: Recalculate text area sizing if interLinear is changed.
2017-02-07 16:26:59 +11:00
Eugene Sandulenko
6ea020d5f1
GRAPHICS: Cleanup MacText code
2017-02-06 08:41:09 +01:00
stevenhoefel
c48273d913
GRAPHICS: Return line count of formatted MacText.
2017-02-06 12:47:41 +11:00
Eugene Sandulenko
d39404c8e8
GRAPHICS: Fix rendering of MacText with font change in the middle of the string
2017-02-01 19:06:36 +01:00
Eugene Sandulenko
d4e4a20cc5
GRAPHICS: Implement rendering of rich MacText
2017-01-31 23:14:37 +01:00