Eugene Sandulenko
6e17562492
GUI: MACGUI: Make MacTextWindow working with plain fonts
2021-05-02 01:03:02 +02:00
ysj1173886760
fb7ed6f845
GRAPHICS: MACGUI: add textRGB for mactextwindow to suit new logic of mactext when drawing the text with color. add window feature DynamicScrollbar
2021-04-25 02:24:15 +02:00
ysj1173886760
d437b22b6b
GRAPHICS: MACGUI: fix the behaviour of scrollbar of win95 mode
2021-04-25 02:24:15 +02:00
ysj1173886760
7ef3b88a94
GRAPHICS: MACGUI: save background color for mactextwindow, add new behaviour for win95 mode
2021-04-25 02:24:15 +02:00
ysj1173886760
0dcde7c96a
GRAPHICS: MACGUI: add new feature that when scroll wheel, the scroll bar will also display
2021-04-01 16:08:56 +02:00
Eugene Sandulenko
927825f6ac
GRAPHICS: MACGUI: Fix overridden method footprint
2020-07-07 12:17:18 +02:00
Nathanael Gentry
45937130dd
GRAPHICS: MACGUI: Begin reorganizing text classes
...
MacEditableText has been merged into MacText. The Director engine, which relies
upon MacEditableText, is also updated here.
2020-06-12 15:27:37 -04:00
Eugene Sandulenko
430915ce00
GRAPHICS: MACGUI: Const'ness
2020-04-27 13:57:35 +02:00
Eugene Sandulenko
2fb21ba90a
GRAPHICS: MACGUI: Split drawing and blitting operations for widgets
2020-04-14 00:42:39 +02:00
Eugene Sandulenko
419cb1e7c7
GRAPHICS: MACGUI: Switched MacText to U32String internally
2019-10-18 17:20:27 +02:00
Eugene Sandulenko
695ba47063
GRAPHICS: MACGUI: Added possibility to create read only text windows
2019-10-15 23:58:00 +02:00
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