Commit Graph
3567 Commits
Author SHA1 Message Date
Cameron Cawley ba035ac532 GRAPHICS: Add a function to vertically flip surfaces 2020-01-02 20:53:29 +02:00
Eugene Sandulenko 2d9b3b0b2d GRAPHICS: MACGUI: Initial code for MacEditableText 2020-01-02 18:23:33 +01:00
Cameron Cawley ff3f7170f8 GRAPHICS: Fix loading NE cursors 2019-12-31 19:19:21 +01:00
Eugene Sandulenko 29a07afc58 GRAPHICS: MACGUI: Enhance sanity check for pattern references 2019-12-27 22:43:11 +01:00
Eugene Sandulenko 4e58ef479b GRAPHICS: Make ManagedSurface::clip() public 2019-12-27 13:39:56 +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 40cb3b8f92 GRAPHICS: FONT: Really fix mismatched new/delete 2019-12-26 17:31:42 +01:00
Eugene Sandulenko 043acc1ccc GRAPHICS: FONTS: Fix mismatched new/delete. 2019-12-26 17:25:31 +01:00
Eugene Sandulenko a61bca2075 DIRECTOR: Added drawing for QuickDraw cast members 2019-12-25 18:05:33 +01:00
Cameron Cawley e2e72af31d SDL: Remove duplicated cursorStretch200To240() function 2019-12-25 08:52:19 +02: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
athrxx 1f42999a7c GRAPHICS: implement left sided shadowing for SJIS font
The current shadow mode draws a shadow on the right side of the character. This allows drawing one on the left.
Adapt LOOM/PCE accordingly.
2019-12-18 20:50:44 +01:00
Dries Harnie dbe9763af3 GRAPHICS: Define a ROUND macro instead of overriding round
Modern OpenGL implementations emit
>  "0:4(15): error: A shader cannot redefine built-in function `round'
>  in GLSL ES 1.00"

This commit uses a ROUND macro instead, which should not trigger this
error.
2019-12-17 10:18:17 +01:00
Cameron Cawley 6f62481548 GRAPHICS: Remove more unused scalers 2019-12-17 01:18:11 +02:00
Cameron Cawley de096f56a5 GRAPHICS: Remove unused scaler code 2019-12-17 01:18:11 +02: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
D G Turner cb06c44d27 GRAPHICS: Fix Missing Default Switch Cases in LarryScale
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-11 05:37:23 +00:00
Bastien Bouclet feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056 2019-12-08 17:06:42 +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
Bastien Bouclet 2c812a6b7a GUI: Add DropdownButtonWidget and use it in the launcher for mass add
DropdownButtonWidget is a button split in two parts vertically. Clicking
the left part triggers a default action. Clicking the right part shows a
list of other actions the user can choose from.

Using this widget on the launcher lets 'Mass add' be a secondary action
of the 'Add' button, removing the necessity of pressing the shift key to
access the feature.
2019-11-24 14:06:25 +01:00
Cameron Cawley c4b1695505 GRAPHICS: Remove downscalers only used by the Windows CE port 2019-11-17 22:33:56 +01:00
D G Turner be56e9afed GRAPHICS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-17 10:11:25 +00:00
Eugene Sandulenko b45cadb065 GRAPHICS: Enhanced setAlpha method 2019-11-13 22:07:08 +01:00
Eugene Sandulenko c450854165 GRAPHICS: Added setAlpha() method to TransparentSurface 2019-11-13 22:07: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