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
47d87e059d
GRAPHICS: MACGUI: Fix input text displaying
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
f79a7d049b
GRAPHICS: MACGUI: Fixed input line replacement in 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
77932d5838
GRAPHICS: MACGUI: Mark content as dirty when text is changed
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
D G Turner
485a00b675
GRAPHICS: MACGUI: Suppress Unused Variable Compiler Warning.
2017-08-02 13:27:53 +01:00
Eugene Sandulenko
48f07f0276
GRAPHICS: MACGUI: Render MacTextWindow internally
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
f7ba4f1b0b
GRAPHICS: MACGUI: Properly process border dragging in MacTextWindow
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
a5c99c99f5
GRAPHICS: MACGUI: Remove redundant method from MacTextWindow
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
8319e4093f
GRAPHICS: MACGUI: Force redraw of dirty part of MacTextWindow
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
2c0b73aaef
GRAPHICS: MACGUI: Set MacTextWindow as active when keys are pressed
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
ebcff3a0aa
GRAPHICS: MACGUI: Do not pass event when ascii characters are pressed
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
da9e02cebb
GRAPHICS: MACGUI: Fix crash on backspace in MacTextWindow input
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
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