Commit Graph
104 Commits
Author SHA1 Message Date
Eugene Sandulenko 5a06fcecdd GRAPHICS: MACGUI: Generate MacText surface for empty texts 2020-01-05 11:34:17 +01:00
Eugene Sandulenko bd4f0aa570 GRAPHICS: MACGUI: Fix text height for one line texts 2020-01-05 10:59:11 +01:00
Eugene Sandulenko 4512845d58 GRAPHICS: MACGUI: Fix incorrect text dimension calculations 2019-12-26 18:45:30 +01:00
Eugene Sandulenko 95f02a8f9a GRAPHICS: MACGUI: Use proper width when rendering MacText 2019-12-26 18:00:00 +01:00
Eugene Sandulenko 97abe323c4 GRAPHICS: MACGUI: Sanity check for empty lines 2019-12-26 17:47:58 +01:00
Eugene Sandulenko ba4a0d6f2b GRAPHICS: MACGUI: HHid MacText debug output deeper. 2019-12-18 22:47:31 +01:00
Eugene Sandulenko 6862a4934c GRAPHICS: MACGUI: Lessen size of paragraph spacing 2019-12-15 11:36:26 +01:00
Eugene Sandulenko cc345bacf4 GRAPHICS: MACGUI: Improved debug output 2019-12-15 11:36:26 +01:00
Eugene Sandulenko 3ceffecb7c GRAPHICS: MACGUI: Fixed parameter parsing 2019-12-15 11:36:26 +01:00
Eugene Sandulenko 9cd37b0d11 GRAPHICS: MACGUI: Improved debug output for MacText 2019-12-15 00:10:27 +01:00
Eugene Sandulenko 9a2371ddfb GRAPHICS: MACGUI: Fixed text format parsing 2019-12-14 00:37:45 +01:00
Eugene Sandulenko a35259dc0d GRAPHICS: MACGUI: Implemented non-binary version of inline text formatting 2019-12-11 21:45:55 +01:00
Eugene Sandulenko 3a7a3e2009 GRAPHICS: MACGUI: Fix crash on MacText reallocation 2019-12-01 16:29:54 +01:00
Eugene Sandulenko 0bbfe624be MACGUI: Do not recalc empty text 2019-11-24 15:57:08 +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 2d1dc5d1c4 GRAPHICS: MACGUI: Added default font for MacText 2019-10-19 17:43:47 +02:00
Eugene Sandulenko 419cb1e7c7 GRAPHICS: MACGUI: Switched MacText to U32String internally 2019-10-18 17:20:27 +02:00
Paul Gilbert 11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Andrei Prykhodko bb995bc871 GRAPHICS: MACGUI: fixed mem leak in MacText 2018-08-05 23:07:55 +03:00
Eugene Sandulenko 4a1a7f965f GRAPHICS: MACGUI: Do not crash when nothing was drawn yet 2017-08-28 19:17:45 +02:00
Eugene Sandulenko f8284623c4 GRAPHICS: MACGUI: Clear whole surface when resizing
This removes black artifacts when previous text was narrower
2017-08-26 21:34:16 +02:00
Eugene Sandulenko 0f0dd88b61 GRAPHICS: MACGUI: Fix MacText::getTextChunk() for multiline selections 2017-08-15 19:48:16 +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 d51a87a83b GRAPHICS: MACGUI: Correctly expand selection beyond last line 2017-08-07 12:18:20 +02:00
Eugene Sandulenko 9d2ca34ae4 GRAPHICS: MACGUI: Enforce surface cleanup on MacText clearing 2017-08-05 23:55:44 +02:00
Eugene Sandulenko 5091968f4c GRAPHICS: MACGUI: More work on clearing MacTextWindow content 2017-08-05 23:50:45 +02:00
Eugene Sandulenko 75491291f9 GRAPHICS: MACGUI: Made CLIP statemements more useful 2017-08-05 08:12:43 +02:00
D G Turner 81a236ee8f GRAPHICS: MACGUI: Fix GCC Compiler Warnings. 2017-08-05 06:16:22 +01:00
Eugene Sandulenko 1241ada63a GRAPHICS: MACGUI: Fixed bug with column detection in text selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko c7f83cd435 GRAPHICS: MACGUI: Fix end line text selection hihglight 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 9e81f4de89 GRAPHICS: MACGUI: Better selection row detection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 55a241494e GRAPHICS: MACGUI: Improved text selection edge case behaviour 2017-08-04 21:54:20 +02:00
Eugene Sandulenko a5fa164b8e GRAPHICS: MACGUI: Bugfixes for selection copying in MacText 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 23649e8d87 GRAPHICS: MACGUI: Initial code for copying selection to clipboard 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 71aadb5645 GRAPHICS: MACGUI: Correctly calculate row in MacText::getRowCol() 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 08293015e7 GRAPHICS: MACGUI: Implement MacText::getRowCol() method 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 df36b2d7e0 GRAPHICS: MACGUI: Clear rendered text when lines are removed in MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 7333a68636 GRAPHICS: MACGUI: Fix bug in MacText with adding newlines 2017-08-04 21:54:19 +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 d9e7cbaf96 GRAPHICS: MACGUI: Implement MacText resize 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 50078a808c GRAPHICS: MACGUI: Remove unused variable 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 61eb58186c GRAPHICS: MACGUI: Cleanup 2017-08-04 21:54:19 +02:00
Eugene Sandulenko a95899c1b6 GRAPHICS: MACGUI: Fix formatting of the first added text in MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko e236db8c3f GRAPHICS: MACGUI: Fixed appendText() in MacGui: formatting was not passed 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 2e458671f6 GRAPHICS: MACGUI: Fix copy/paste bug in MacText 2017-08-04 21:54:19 +02:00
Eugene Sandulenko fe8ef60e08 GRAPHICS: MACGUI: Added more debug output 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