Le Philousophe
12df7f3767
GRAPHICS: Fix uint vs uint32 discrepancies
2022-08-22 13:09:45 +02:00
Eugene Sandulenko
ba4a260e9e
GRAPHICS: MACGUI: Use uint32 for color information
2022-08-20 22:12:29 +02:00
Pragyansh Chaturvedi
5c17fe70b8
JANITORIAL: Fix conventions and reimplement MacFontManager::rectifyId()
2022-07-17 13:04:14 +02:00
Pragyansh Chaturvedi
94848be816
GRAPHICS: Set MacText->_defaultFormatting values after generating font
2022-07-17 13:04:14 +02:00
Avijeet
dfed81dfff
COMMON: MACGUI: Fix MacTextWindow scrolling
2022-06-30 22:43:06 +02:00
Pragyansh Chaturvedi (r41k0u)
8409314414
DIRECTOR: LINGO: Implement MacText::enforceFontSlant() and implement kTheTextStyle STUB in TextCastMember::setField()
2022-06-06 18:32:14 +02:00
Pragyansh Chaturvedi (r41k0u)
334bbd11a3
DIRECTOR: LINGO: Implement MacText::enforceTextFont() and use it to implement STUB kTheTextFont in TextCastMember::setField()
2022-06-06 18:32:14 +02:00
Pragyansh Chaturvedi (r41k0u)
0a95714cac
DIRECTOR: GRAPHICS: Add getPlainText() function to MacText
2022-06-06 18:32:14 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
b531894158
GRAPHICS: JANITORIAL: Remove 'virtual' when override is specified
2021-11-14 14:31:21 +02:00
ysj1173886760
b60bcbfef7
GRAPHICS: MACGUI: implement getMouseLine
2021-07-31 15:52:41 +08:00
ysj1173886760
9ba14cf696
GRAPHICS: MACGUI: implement getMouseWord
2021-07-31 15:46:50 +08:00
ysj1173886760
87cd99126a
GRAPHICS: MACGUI: implement getMouseWord
2021-07-30 16:38:15 +08:00
ysj1173886760
b1f5de3501
GRAPHICS: MACGUI: implement mouseChar
2021-07-30 16:25:51 +08:00
ysj1173886760
70e2ca433c
GRAPHICS: MACGUI: fix rendering text shadow with non-black text.
2021-07-24 15:10:13 +08:00
djsrv
5bc3ad06c0
GRAPHICS: MACGUI: Move encoding tracking to MacFontRun
...
Font is basically the only way to determine a piece of text's encoding
in Director. Since MacFontRun tracks fonts, it's the nicest place to
handle encoding too.
2021-07-12 00:38:05 -04:00
ysj1173886760
c6bd9f908f
GRAPHICS: MACGUI: fixing mactext for dealing with fg color
2021-07-09 19:48:37 +08:00
ysj1173886760
947764159c
DIRECTOR: fix rendering text separately. read fg color though text, instead of argument
2021-07-09 09:41:31 +08:00
ysj1173886760
dc41917a74
DIRECTOR: implement text chunk fields operations
2021-07-08 02:25:11 +02:00
ysj1173886760
6e2a8fc08f
GRAPHICS: MACGUI: implement setting text slant and text fontId of text chunks
2021-07-08 02:25:11 +02:00
ysj1173886760
42aa4739f8
DIRECTOR: implement chunk field operations for text cast member
2021-07-08 02:25:11 +02:00
ysj1173886760
56fad1585b
DIRECTOR: implement setting text size for text cast member
2021-07-08 02:25:11 +02:00
ysj1173886760
1492a06a84
GRAPHICS: MACGUI: amend interLinear for mactext
2021-07-08 02:25:11 +02:00
ysj1173886760
60c0e78d95
GRAPHICS: MACGUI: add line spacing for mactext
2021-07-08 02:25:11 +02:00
ysj1173886760
a841358e69
DIRECTOR: implement some basic field operations for text cast
2021-07-08 02:25:11 +02:00
djsrv
e9d9b9f569
DIRECTOR: Revert FXmp handling
...
This reverts commit 4dabee7e8b .
This reverts commit 3fda461d5f .
This reverts commit 831c014f9e .
This reverts commit b3b55e59e9 .
2021-07-06 16:47:20 -04:00
djsrv
831c014f9e
DIRECTOR: Make FXmp available to MacText
2021-07-05 22:53:35 -04:00
djsrv
b3b55e59e9
GRAPHICS: MACGUI: Add parent to MacFontRun
2021-07-05 22:53:35 -04:00
ysj1173886760
202f6ce7e5
GRAPHICS: MACGUI: move set fixed dims to ctor for mactext
2021-06-30 16:29:00 +02:00
ysj1173886760
c759e27fe7
GRAPHICS: MACGUI: introduce _fixedDims to mactext, which represent for whether mactext should auto expanding.
2021-06-30 16:29:00 +02:00
ysj1173886760
787454f908
GRAPHICS: MACGUI: support partial color setting in mactext
2021-06-30 16:29:00 +02:00
ysj1173886760
ba858522eb
GRAPHICS: MACGUI: add basic color changing support for mactext
2021-06-30 16:29:00 +02:00
ysj1173886760
76e0494f27
GRAPHICS: MACGUI: clean the code
2021-06-26 16:08:20 +02:00
ysj1173886760
325481b38e
GRAPHICS: MACGUI: amend the behaviour when we destruct mactext and setting the selRange
2021-06-26 16:08:20 +02:00
ysj1173886760
158406487a
GRAPHICS: MACGUI: re-organize the logic of calculating offsets of mactext and macbutton.
2021-06-26 16:08:20 +02:00
ysj1173886760
343597bd43
GRAPHICS: MACGUI: add setText for mactext
2021-06-20 14:33:53 +02:00
ysj1173886760
36be209490
GRAPHICS: MACGUI: modify macbutton to fit new logic of mactext
2021-06-20 14:33:53 +02:00
ysj1173886760
3817c90148
GRAPHICS: MACGUI: deal with plain bytes specially when we calculating the string width.
2021-06-20 14:33:53 +02:00
ysj1173886760
72162c41b4
GRAPHICS: MACGUI: introduce _plainByteMode to mactext for working with plain bytes. introduce _encodeType to mactext for recording encoding type
2021-06-20 14:33:53 +02:00
ysj1173886760
dea9455a96
GRAPHICS: MACGUI: introduce two variable to lingo, _selEnd and _selStart, which has default value -1. selEnd and selStart specify the selection area every time you activated the mactext
2021-06-10 13:58:41 +02:00
ysj1173886760
c88b6e2e04
GRAPHICS: MACGUI: move WM clipboard operations from mactext to macwindowmanager
2021-06-03 13:19:10 +02:00
ysj1173886760
a5e6f59533
GRAPHICS: MACGUI: implement getTextFromClipboard and setTextInClipboard for mactext
2021-06-03 13:19:10 +02:00
ysj1173886760
4d4ad3c310
GRAPHICS: MACGUI: bring copy, paste, cut to mactext. currently, we are using copy with formatting
2021-06-03 13:19:10 +02:00
ysj1173886760
bd6887a6ea
GRAPHICS: MACGUI: implement deleteSelection by using deletePreviousChar
2021-06-03 13:19:10 +02:00
ysj1173886760
cfac0f0513
GRAPHICS: MACGUI: add offset to drawSelection
2021-06-03 13:19:10 +02:00
Eugene Sandulenko
6e17562492
GUI: MACGUI: Make MacTextWindow working with plain fonts
2021-05-02 01:03:02 +02:00
Eugene Sandulenko
738db125e3
GRAPHICS: MACGUI: Make MacText work with plain text
2021-05-01 01:49:48 +02:00
Eugene Sandulenko
c60009da68
GRAPHICS: MACGUI: Initialized class variables
2021-05-01 01:49:48 +02:00
ysj1173886760
549511c4b5
GRAPHICS: MACGUI: add rgb parameter for appendText, which makes mactext draws text with color, fix the logic when appending text
2021-04-25 02:24:15 +02:00
ysj1173886760
82a55fd8d8
GRAPHICS: MACGUI: add getTextMaxWidth for mactext
2021-04-25 02:24:15 +02:00