Commit Graph
32 Commits
Author SHA1 Message Date
Andrei Prykhodko 75eceedfa5 GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to disable cursor handler 2018-07-29 21:23:04 +03:00
Eugene Sandulenko 8458630e50 GRAPHICS: MACGUI: Added support for scrolling with mouse wheel 2017-08-22 10:25:00 +02:00
Eugene Sandulenko 615af937df GRAPHICS: MACGUI: Initial code for MacTextWindow::cutSelection() 2017-08-14 09:19:41 +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 6e690dbca9 GRAPHICS: MACGUI: Do not draw selection in the initial state 2017-08-07 12:18:20 +02:00
Eugene Sandulenko 4fea533dfd GRAPHICS: MACGUI: Added more selection manipulation methods to MacTextWindow 2017-08-05 00:05:44 +02:00
Eugene Sandulenko dd2123f8bf GRAPHICS: MACGUI: Added method to append input to MacTextWindow 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 afb664df29 GRAPHICS: MACGUI: Made selection affecting the MacMenu 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 145b7c9ec9 GRAPHICS: MACGUI: Initial selection drawing code to 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 c5da0bece4 GRAPHICS: MACGUI: Remove redundant method from MacTextWindow 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 04bb7c3e7a GRAPHICS: MACGUI: Reduce constant scope 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 59d6b63b0f GRAPHICS: MACGUI: undraw input text before resizing MacTextWindow 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 b6970ade92 GRAPHICS: MACGUI: Remove redundant method from MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko bc8d059f38 GRAPHICS: MACGUI: Draw input on MacTextWindow redraw 2017-08-04 21:54:19 +02:00
Eugene Sandulenko a5c99c99f5 GRAPHICS: MACGUI: Remove redundant method from MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko 81c26caaf8 GRAPHICS: MACGUI: Exposed input text from the MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko e832f1d650 GRAPHICS: MACGUI: Update cursor position as text being added to MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko c2944fb5b8 GRAPHICS: MACGUI: Simplified cursor code is MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko a2427fddd7 GRAPHICS: MACGUI: Initial code for cursor drawing in MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko 511b21d3cf GRAPHICS: MACGUI: Added font specifying to MacTextWindow 2017-08-01 10:42:21 +02:00
Eugene Sandulenko 9fe79b9e19 GRAPHICS: MACGUI: Made MacTextWindow processing keyboard input 2017-08-01 10:42:21 +02:00
Eugene Sandulenko 49c72c884a MACGUI: Fix compilation 2017-07-18 00:01:46 +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 a169c7efb3 GRAPHICS: Use MacText::appendText to render formatted text
With this we can specify font, character size and slant that each
appended text will use.
2017-07-17 23:45:22 +02:00
VelocityRa fe63eb7644 GRAPHICS: Introduce drawText, appendText and font in MacTextWindow 2017-07-17 23:45:22 +02:00
VelocityRa b127beb03c GRAPHICS: Fix bug in MacText::draw() on calculating bounding rect size
Change is _surface->w to _surface->h in the fourth arg to Common::Rect
2017-07-17 23:45:22 +02:00
VelocityRa f2f420e15f GRAPHICS: Skeleton of MacTextWindow
Needed to add 2 helper methods to MacWindowManager to make it cleaner
2017-07-17 23:45:22 +02:00