Commit Graph
40 Commits
Author SHA1 Message Date
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
Eugene Sandulenko c15e063bbd GRAPHICS: Store more metainformation on lines in MacText 2017-01-31 23:14:37 +01:00
Eugene Sandulenko 95be2f2b23 GRAPHICS: Overwhauling of MacText rich formatting 2017-01-31 18:46:33 +01:00
Eugene Sandulenko 119e1bd30d GRAPHICS: More work on rich text formatting 2017-01-30 22:58:32 +01:00
Eugene Sandulenko 7b24fb0b01 GRAPHICS: Initial work on rich text formatting in MacText 2017-01-30 10:10:22 +01:00
Eugene Sandulenko 1c6b31397a GRAPHICS: Added MacFontRun structure 2017-01-29 14:31:38 +01:00
Eugene Sandulenko 0691c4e82e GRAPHICS: Pass MacWindowManager to MacText constructor 2017-01-29 14:19:28 +01:00
stevenhoefel 837b3b22e5 GRAPHICS: MacText calculate longest string inside maxWidth and add alignment. 2017-01-17 22:15:43 +11:00
stevenhoefel 2e48529fa1 DIRECTOR: Utilise MacText class to provide Text Wrapping. 2017-01-15 18:42:50 +11:00
Eugene Sandulenko 57864f5e6c GRAPHICS: Implemented MacText::replaceLastLine() 2016-12-22 18:16:54 +01:00
Eugene Sandulenko 2d6c582805 GRAPHICS: Implement surface reallocation in MacText 2016-12-20 21:49:29 +01:00
Eugene Sandulenko 16b0cde5fb GRAPHICS: Implemented partial MacText drawing 2016-12-20 21:49:29 +01:00
Eugene Sandulenko ffea222f5b GRAPHICS: Added stubs for pasting text to MacText 2016-12-16 19:47:19 +01:00
Eugene Sandulenko d6126ffcfa GRAPHICS: Implemented blitting code for MacText 2016-12-15 18:18:12 +01:00
Eugene Sandulenko 2f7879d118 GRAPHICS: Restrinct MacText to designated width 2016-12-15 18:07:48 +01:00
Eugene Sandulenko 6329f73c9e GRAPHICS: Implemented basic rendering for MacText 2016-12-14 20:10:32 +01:00
Eugene Sandulenko aecc17e5a5 GRAPHICS: Further work on MacText class 2016-12-14 20:10:32 +01:00
Eugene Sandulenko 34a9c588b0 GRAPHICS: Added stub for MacText class 2016-12-14 20:10:32 +01:00