112 Commits

Author SHA1 Message Date
Eugene Sandulenko
7b7a0fa3ad GRAPHICS: Fix surface reallocation in MacText 2017-02-02 23:53:30 +01:00
Eugene Sandulenko
165f5f1784 GRAPHICS: Fix MacText wrapping. Kudos to wjp 2017-02-02 23:41:58 +01:00
Eugene Sandulenko
3e47d7abf3 GRAPHICS: Fix MacText splitter, so less empty font chunks are generated 2017-02-02 20:39:34 +01:00
Eugene Sandulenko
c30df01130 GRAPHICS: More optimization for empty strings 2017-02-02 10:11:07 +01:00
Eugene Sandulenko
255c76b3ac GRAPHICS: Optimize for empty substrings in MacText 2017-02-02 09:18:08 +01:00
Eugene Sandulenko
d39404c8e8 GRAPHICS: Fix rendering of MacText with font change in the middle of the string 2017-02-01 19:06:36 +01:00
Eugene Sandulenko
6e3e8911c1 GRAPHICS: MacText fixes for in-the middle style change splitting 2017-02-01 18:58:35 +01:00
Eugene Sandulenko
6fbb82f85b GRAPHICS: Add more debug output to MacText 2017-02-01 18:36:25 +01:00
D G Turner
32667eeaa9 GRAPHICS: Fix GCC Compiler Warnings. 2017-02-01 01:17:53 +00:00
Eugene Sandulenko
cc59811205 DIRECTOR: Adjust text wrapping by one pixel 2017-02-01 01:07:14 +01:00
Eugene Sandulenko
d4e4a20cc5 GRAPHICS: Implement rendering of rich MacText 2017-01-31 23:14:37 +01:00
Eugene Sandulenko
c15e063bbd GRAPHICS: Store more metainformation on lines in MacText 2017-01-31 23:14:37 +01:00
Eugene Sandulenko
93265c6d41 GRAPHICS: Fix font transtion formatting for MacText 2017-01-31 23:14:37 +01:00
Eugene Sandulenko
0884aeeba3 GRAPHICS: More fixes to MacText formatting 2017-01-31 19:06:27 +01:00
Eugene Sandulenko
89e8bdc444 GRAPHICS: More fixes to MacText rich text formatting 2017-01-31 19:02:15 +01:00
Eugene Sandulenko
c4f73012e5 DIRECTOR: Generate font style runs for MacText 2017-01-31 18:46:33 +01:00
Eugene Sandulenko
95be2f2b23 GRAPHICS: Overwhauling of MacText rich formatting 2017-01-31 18:46:33 +01:00
Eugene Sandulenko
119e1bd30d GRAPHICS: More work on rich text formatting 2017-01-30 22:58:32 +01:00
Eugene Sandulenko
7b24fb0b01 GRAPHICS: Initial work on rich text formatting in MacText 2017-01-30 10:10:22 +01:00
Eugene Sandulenko
1c6b31397a GRAPHICS: Added MacFontRun structure 2017-01-29 14:31:38 +01:00
Eugene Sandulenko
0691c4e82e GRAPHICS: Pass MacWindowManager to MacText constructor 2017-01-29 14:19:28 +01:00
Eugene Sandulenko
e9bd946043 GRAPHICS: Initial code for MacText formatting 2017-01-29 00:54:31 +01:00
Eugene Sandulenko
ca55163ea1 JANITORIAL: Fix code formatting 2017-01-28 12:14:49 +01:00
Eugene Sandulenko
1f721e929f GRAPHICS: Implemented MacFont fallback 2017-01-28 11:40:45 +01:00
Eugene Sandulenko
fae09e9343 GRAPHICS: Added additional font map registering to MacFontManager 2017-01-27 19:02:37 +01:00
Eugene Sandulenko
01133310c4 GRAPHICS: Overload loadFonts() method in MacResMnager 2017-01-27 10:15:54 +01:00
Eugene Sandulenko
2991871d03 GRAPHICS: Refactor Mac font loading into per file method 2017-01-26 18:50:33 +01:00
Eugene Sandulenko
797be02eb2 GRAPHICS: Fix MacFont association to MacFontFamily 2017-01-25 19:41:53 +01:00
Eugene Sandulenko
b84ab35363 GRAPHICS: Plug MacFont scaler in 2017-01-24 23:33:59 +01:00
Eugene Sandulenko
371adf9ea6 GRAPHICS: Stop leaking memory. MacResMan deletes stream 2017-01-23 23:57:38 +01:00
Eugene Sandulenko
2e956b69d5 GRAPHICS: Fix crash in MacFontManager 2017-01-23 23:44:53 +01:00
Eugene Sandulenko
7396965005 GRAPHICS: Fix number of memory leaks and wanrings 2017-01-23 20:27:00 +01:00
Eugene Sandulenko
1caaf49f20 GRAPHICS: Gracefully process previous version of classicmacfonts.dat 2017-01-23 19:59:42 +01:00
Eugene Sandulenko
a95b8f95dd GRAPHICS: Fix MacFont assignment
We're almost back to the functionality with the BDF fonts.
Current missing feature is font autoscaling
2017-01-19 08:56:31 +01:00
Eugene Sandulenko
f599c8ab50 GRAPHICS: Fix font name generation for MacFonts 2017-01-18 19:13:01 +01:00
Eugene Sandulenko
0b3d7d3e4f GRAPHICS: Further work on MacFont loading 2017-01-18 18:59:52 +01:00
Eugene Sandulenko
6558e94ac3 GRAPHICS: Plug in loaded MacFONTFonts into MacFontManager 2017-01-18 10:24:47 +01:00
Eugene Sandulenko
4ede54e6b0 GRAPHICS: Rename MacFont to MacFONTFont to avoid clashed 2017-01-17 20:30:32 +01:00
stevenhoefel
837b3b22e5 GRAPHICS: MacText calculate longest string inside maxWidth and add alignment. 2017-01-17 22:15:43 +11:00
stevenhoefel
2e48529fa1 DIRECTOR: Utilise MacText class to provide Text Wrapping. 2017-01-15 18:42:50 +11:00
Eugene Sandulenko
0ecaa79f08 GRAPHICS: Renamed Menu to MacMenu to avoid potential name collision 2017-01-14 13:17:38 +01:00
Eugene Sandulenko
a0907d2679 GRAPHICS: MACGUI: Added method for reading menu from resource 2017-01-14 13:04:21 +01:00
stevenhoefel
aecafd473c DIRECTOR: Load fonts by name if exists from map. 2017-01-14 15:02:58 +11:00
stevenhoefel
6e04b361b2 DIRECTOR: Implement Shape Patterns and Borders for D3. 2017-01-13 12:17:36 +11:00
stevenhoefel
12032bb518 DIRECTOR: Round rectangles for Buttons. Improved TextCast alignment. 2017-01-11 11:25:31 +11:00
Willem Jan Palenstijn
87c57e42de GRAPHICS: Fix build 2017-01-10 14:54:14 +01:00
stevenhoefel
19b0cc784d DIRECTOR: Load Shared Cast Bitmaps (anchor point is incorrect).
More Text Cast Formatting.
2017-01-10 23:13:45 +11:00
D G Turner
8ae904e154 GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning. 2017-01-10 03:13:08 +00:00
stevenhoefel
8c3c9df350 DIRECTOR: System beep and Mouse Cursors. 2017-01-09 00:00:17 +01:00
Eugene Sandulenko
57864f5e6c GRAPHICS: Implemented MacText::replaceLastLine() 2016-12-22 18:16:54 +01:00