364 Commits

Author SHA1 Message Date
Eugene Sandulenko
69343b2db8 GRAPHICS: MACGUI: Actually store palette when it is passed 2020-01-31 00:10:18 +01:00
Eugene Sandulenko
cdd2d9336b GRAPHICS: MACGUI: Simplified color matching 2020-01-31 00:10:18 +01:00
Eugene Sandulenko
2ec72ea3dd GRAPHICS: MACGUI: Add helper method for color searching 2020-01-31 00:10:18 +01:00
Eugene Sandulenko
66455b6aa5 GRAPHICS: MACGUI: Added sanity check to splitString() 2020-01-14 18:48:42 +01:00
Cameron Cawley
948c555ea6 ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
Scott Percival
b31d5ac2b9 DIRECTOR: Align fill patterns to global origin 2020-01-11 11:27:21 +08:00
Eugene Sandulenko
8c8a710d80 GRAPHICS: MACGUI: Generate bold font substitutes in MacFontManager 2020-01-07 21:57:12 +01:00
Eugene Sandulenko
bfd796fec2 GRAPHICS: MACGUI: Use regular slant as font substitutes 2020-01-07 21:57:12 +01:00
Eugene Sandulenko
5a06fcecdd GRAPHICS: MACGUI: Generate MacText surface for empty texts 2020-01-05 11:34:17 +01:00
Eugene Sandulenko
bd4f0aa570 GRAPHICS: MACGUI: Fix text height for one line texts 2020-01-05 10:59:11 +01:00
Eugene Sandulenko
d9f6a0cf4d GRAPHICS: MACGUI: Further work on MacEditableText 2020-01-03 00:50:24 +01:00
Eugene Sandulenko
2d9b3b0b2d GRAPHICS: MACGUI: Initial code for MacEditableText 2020-01-02 18:23:33 +01:00
Eugene Sandulenko
29a07afc58 GRAPHICS: MACGUI: Enhance sanity check for pattern references 2019-12-27 22:43:11 +01:00
Eugene Sandulenko
4512845d58 GRAPHICS: MACGUI: Fix incorrect text dimension calculations 2019-12-26 18:45:30 +01:00
Eugene Sandulenko
95f02a8f9a GRAPHICS: MACGUI: Use proper width when rendering MacText 2019-12-26 18:00:00 +01:00
Eugene Sandulenko
97abe323c4 GRAPHICS: MACGUI: Sanity check for empty lines 2019-12-26 17:47:58 +01:00
Eugene Sandulenko
c47c9eaad4 GRAPHICS: MACGUI: Improved fallback processing for mac font families 2019-12-24 16:28:02 +01:00
Eugene Sandulenko
2886f51539 GRAPHICS: MACGUI: Show menu always when clicked 2019-12-22 12:03:41 +01:00
Eugene Sandulenko
ba4a0d6f2b GRAPHICS: MACGUI: HHid MacText debug output deeper. 2019-12-18 22:47:31 +01:00
Eugene Sandulenko
462998e6d4 GRAPHICS: MACGUI: Delete menu on redefinition 2019-12-16 17:44:53 +01:00
Eugene Sandulenko
64b148afba GRAPHICS: MACGUI: Added possibility to provide action ids in menus in strings 2019-12-16 16:40:51 +01:00
Eugene Sandulenko
2582036ea6 GRAPHICS: MACGUI: Remove flicker when exiting modal menu 2019-12-16 15:26:39 +01:00
Eugene Sandulenko
9f789b4bde GRAPHICS: MACGUI: Optimized drawing of MacMenu 2019-12-16 14:21:11 +01:00
Eugene Sandulenko
4c3cea846b GRAPHICS: MACGUI: Restore background for modal MacMenus 2019-12-16 12:19:36 +01:00
Eugene Sandulenko
8c0590be77 GRAPHICS: MACGUI: Initial code for truly modal MacMenu 2019-12-16 11:23:06 +01:00
Eugene Sandulenko
f724e672f8 GRAPHICS: MACGUI: Save background on menu activation 2019-12-16 11:09:15 +01:00
Eugene Sandulenko
a29f1fdbb4 GRAPHICS: MACGUI: Clear preallocated screen in WM when override is requested 2019-12-16 01:01:22 +01:00
Eugene Sandulenko
6862a4934c GRAPHICS: MACGUI: Lessen size of paragraph spacing 2019-12-15 11:36:26 +01:00
Eugene Sandulenko
cc345bacf4 GRAPHICS: MACGUI: Improved debug output 2019-12-15 11:36:26 +01:00
Eugene Sandulenko
3ceffecb7c GRAPHICS: MACGUI: Fixed parameter parsing 2019-12-15 11:36:26 +01:00
Eugene Sandulenko
9cd37b0d11 GRAPHICS: MACGUI: Improved debug output for MacText 2019-12-15 00:10:27 +01:00
Eugene Sandulenko
9a2371ddfb GRAPHICS: MACGUI: Fixed text format parsing 2019-12-14 00:37:45 +01:00
Eugene Sandulenko
a35259dc0d GRAPHICS: MACGUI: Implemented non-binary version of inline text formatting 2019-12-11 21:45:55 +01:00
Eugene Sandulenko
98b14a36ad GRAPHICS: MACGUI: Added setup sanity checks to MacMenu 2019-12-11 12:00:16 +01:00
Eugene Sandulenko
64eb072103 GRAPHICS: MACGUI: Fix default font size 2019-12-01 21:54:05 +01:00
Eugene Sandulenko
3a7a3e2009 GRAPHICS: MACGUI: Fix crash on MacText reallocation 2019-12-01 16:29:54 +01:00
Eugene Sandulenko
8f7df6230e MACGUI: Recognise the fact that Geneva font lives with 2 IDs 2019-11-24 18:42:45 +01:00
Eugene Sandulenko
0bbfe624be MACGUI: Do not recalc empty text 2019-11-24 15:57:08 +01:00
Eugene Sandulenko
8bb261abba MACGUI: Temporary fix for Geneva font duality 2019-11-24 15:57:08 +01:00
Eugene Sandulenko
694ed6e7bc GRAPHICS: MACGUI: Added possibility to render MacText at any desired place 2019-10-20 20:09:28 +05:00
Eugene Sandulenko
2d1dc5d1c4 GRAPHICS: MACGUI: Added default font for MacText 2019-10-19 17:43:47 +02:00
Eugene Sandulenko
419cb1e7c7 GRAPHICS: MACGUI: Switched MacText to U32String internally 2019-10-18 17:20:27 +02:00
Eugene Sandulenko
4d8a0f22f2 GRAPHICS: MACGUI: Fix compilation without freetype 2019-10-18 09:27:33 +02:00
Eugene Sandulenko
3ae526dfed GRAPHICS: MACGUI: Added support for Unicode fonts in menu 2019-10-18 00:20:54 +02:00
Eugene Sandulenko
23a9ce1880 GRAPHICS: MACGUI: Fix crash when clicking on the top window 2019-10-17 09:27:38 +02:00
Eugene Sandulenko
6100de0b3a GRAPHICS: MACGUI: Add possibility to set WM mode right away
This lets us to not load mac fonts when the built-in mode in enforced
2019-10-17 01:42:44 +02:00
Eugene Sandulenko
695ba47063 GRAPHICS: MACGUI: Added possibility to create read only text windows 2019-10-15 23:58:00 +02:00
Eugene Sandulenko
b8e7f45760 GRAPHICS: MACGUI: Fix window deletion 2019-10-15 19:07:18 +02:00
Eugene Sandulenko
5acaaed860 GRAPHICS: MACGUI: Crash-proof window management. 2019-10-14 21:31:25 +02:00
D G Turner
edf310c894 GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings 2019-10-14 03:29:15 +01:00