Eugene Sandulenko
67ab2657d8
GRAPHICS: MACGUI: Split out MacTextCanvas into a separate file
2023-10-24 02:38:17 +02:00
Eugene Sandulenko
37deafe413
GRAPHICS: MACGUI: Moved more methods to MacTextCanvas
2023-10-24 02:38:17 +02:00
Eugene Sandulenko
4e614216b2
GRAPHICS: MACGUI: Add equality test for MacFontRun
2023-10-24 02:38:14 +02:00
Eugene Sandulenko
d47d26547b
GRAPHICS: MACGUI: Reduced code duplication in MacText constructors
2023-10-22 09:18:32 -06:00
Eugene Sandulenko
0d40edb121
GRAPHICS: MACGUI: Renamed _bgcolor to _tbgcolor to avoid clashes with MacWidget
2023-10-19 22:28:37 -06:00
Eugene Sandulenko
b859f7d013
GRAPHICS: MACGUI: Refactored more methods into MacTextCanvas
2023-10-19 22:28:37 -06:00
Eugene Sandulenko
0a32c7901c
GRAPHICS: MACGUI: Properly pass table cell alignment from Markdown to MacText
2023-10-14 01:54:05 +02:00
Eugene Sandulenko
c1969faa7b
GRAPHICS: MACGUI: Plug memory leak
2023-10-14 01:54:01 +02:00
Eugene Sandulenko
d133aeb046
GRAPHICS: MACGUI: Release allocated objects in MacText
2023-10-12 17:23:20 +02:00
Eugene Sandulenko
fa3883c86e
GRAPHICS: MACGUI: Initial attempt to render tables in MacText
2023-10-10 01:45:36 +02:00
Eugene Sandulenko
4fba78c13d
GRAPHICS: MACGUI: Render table cells in MacText
2023-10-09 00:22:15 +02:00
Eugene Sandulenko
b2a7bad618
GRAPHICS: MACGUI: Moved more methods int MacTextCanvas
2023-10-09 00:22:15 +02:00
Eugene Sandulenko
6004d955ea
GRAPHICS: MACGUI: Moved several methods to MacTextCanvas
2023-10-09 00:22:15 +02:00
Eugene Sandulenko
74910523c3
GRAPHICS: MACGUI: Turned MacTextCanvas into a class
2023-10-09 00:22:15 +02:00
Eugene Sandulenko
b2fb4dcb3b
GRAPHUCS: MACGUI: Moved more variables to MacTextCanvas
2023-10-09 00:22:14 +02:00
Eugene Sandulenko
382a1acfa7
GRAPHICS: MACGUI: Encapsulate text details in MacTextCanvas
2023-10-09 00:22:14 +02:00
Eugene Sandulenko
74780e65b7
GRAPHICS: MACGUI: Made chunk chopping width-agnostic in MacText
2023-09-30 00:10:25 +02:00
Eugene Sandulenko
601e4fa95f
GRAPHICS: MACGUI: Initial code for column width calculation in MacText
2023-09-28 18:49:27 +02:00
Eugene Sandulenko
7336aee63e
GRAPHICS: MACGUI: Properly calculate minimal line width
2023-09-28 18:49:27 +02:00
Eugene Sandulenko
aee4432ea3
GRAPHICS> MACGUI: Refactor line with calculation for MacText
2023-09-28 18:49:27 +02:00
Eugene Sandulenko
96e90ba36c
GRAPHICS: MACGUI: Calculate minimal line width
2023-09-28 18:49:23 +02:00
Eugene Sandulenko
815c8aa6df
GRAPHICS: MACGUI: Fix bullet lists indentation
2023-09-26 23:40:00 +02:00
Eugene Sandulenko
1a1161f1d9
GRAPHICS: MACGUI: Added Table structs to MacText
2023-09-25 23:30:38 +02:00
Eugene Sandulenko
2df56f182d
GRAPHICS: MACGUI: Wrap more relevant code into #ifdef USE_PNG
2023-09-17 13:43:47 +02:00
Eugene Sandulenko
152feb0f46
GRAPHICS: MACGUI: Properly pass link URLs from Markdown to MacText
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
c4b3ece401
GRAPHICS: MACGUI: Load pictures from a specified zip file in Markdown
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
91a829db69
GRAPHICS: MACGUI: Implemented image rendering in Markdown
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
c668169636
GRAPHICS: MACGUI: Encode images into MacText from Markdown
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
03a758c3b1
GRAPHICS: MACGUI: Proper indentation of bullet lists in Markdown
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
2df991721d
GRAPHICS: MACGUI: Added initial code for indentaiton in MacText
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
125d3dfa69
GRAPPHICS: MACGUI: Added a way to get link under cursor for MacText
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
ce04c4b309
GRAPHICS: MACGUI: Initial stub for MacText::setMarkdownText()
2023-09-17 00:56:28 +02:00
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