Eugene Sandulenko
3e96a0909d
GRAPHICS: MACGUI: Replace magic numbers with named constants
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
94a0eadd30
GRAPHICS: MACGUI: Added hack for fixing cursor position in 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
645ee64da0
GRAPHICS: MACGUI: Avoid double free of MacTextWindow
2017-08-01 10:42:21 +02:00
Eugene Sandulenko
73b6b12cbb
GRAPHICS: MACGUI: Correctly process empty inpt strings in 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
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