Commit Graph
3567 Commits
Author SHA1 Message Date
Eugene Sandulenko 952c4c98ee GRAPHICS: MACGUI: Try to generate different font slant first 2020-07-05 22:45:46 +02:00
Eugene Sandulenko 25c1e4a590 MACGUI: Restrict TTF font generation to regular fonts only 2020-07-05 22:45:07 +02:00
Eugene Sandulenko 561052c476 GRAPHICS: MACGUI: Fix bug when we stopped loading font family after TTF font 2020-07-05 22:42:49 +02:00
Nathanael Gentry 1ddc4bf6bd GRAPHICS: MACGUI: MacButton: Properly mark dirty button states 2020-06-30 12:38:46 -04:00
Nathanael Gentry 30bd4de3a7 Revert "GRAPHICS: MACGUI: Add QuickDraw class"
This reverts commit 3469ed858c.
2020-06-30 12:38:46 -04:00
djsrv 20e29b2198 GRAPHICS: MACGUI: Load TrueType fonts 2020-06-29 22:11:13 -04:00
Eugene Sandulenko f11b5b33dc GRAPHICS: MACGUI: Keep cursor position after paragraph reshuffling 2020-06-30 01:04:08 +02:00
Nathanael Gentry 3469ed858c GRAPHICS: MACGUI: Add QuickDraw class 2020-06-29 10:03:12 -04:00
Nathanael Gentry 2643e2f957 GRAPHICS: MACGUI: MacWindowManager: Optionally set custom patterns
The Director engine, which uses custom patterns, is also updated.
2020-06-29 09:07:05 -04:00
Nathanael Gentry 8e2be0ceb3 GRAPHICS: MACGUI: MacWidget: Accept colours in constructor 2020-06-29 08:49:18 -04:00
Nathanael Gentry d22fea1924 GRAPHICS: MACGUI: MacText: Render chunks with individual palinfo 2020-06-25 13:47:56 -04:00
Nathanael Gentry 335f6f2e3d GRAPHICS: MACGUI: Keep window manager pointer in all widgets 2020-06-23 23:26:49 -04:00
Nathanael Gentry 8dd0c305dd GRAPHICS: MACGUI: Render all of the button 2020-06-23 16:04:17 -04:00
D G Turner 6a2c0e5091 GRAPHICS: MACGUI: Fix Signed vs. Unsigned Compiler Warning 2020-06-23 19:53:32 +01:00
Nathanael Gentry a3f649c10d GRAPHICS: MACGUI: Add colour decomposer 2020-06-23 12:50:58 -04:00
Pawel Kolodziejski 8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
aryanrawlani28 51d95f8978 GRAPHICS: move start + end to Graphics::TextAlign 2020-06-22 00:03:02 +02:00
aryanrawlani28 5a093e4e95 GUI: RTL: Improve right align text drawing
- Fix last chars being eaten
- Add support for input in right-align mode editables
- Fix issue with dirtyness of editables after clicking
- Improve spacing for lists and popup
- Make numbers reversed in lists
2020-06-22 00:03:02 +02:00
Eugene Sandulenko 38337e12b9 GRAPHICS: MACGUI: Properly process deleting character at end of the line 2020-06-19 14:04:28 +02:00
Eugene Sandulenko 6e568ba765 GRAPHICS: MACGUI: Catch 'delete' button in MacText. No code for processing yet 2020-06-18 10:44:47 +02:00
Eugene Sandulenko a6cfbb787e GRAPHICS: MACGUI: Fix crash when deleting last character in MacText 2020-06-18 00:00:20 +02:00
Nathanael Gentry f8fa6ec649 GRAPHICS: MACGUI: Remove redundant conversion 2020-06-17 15:32:18 -04:00
Nathanael Gentry 41871d0909 GRAPHICS: MACGUI: Fix logic errors in empty array handling 2020-06-17 13:47:44 -04:00
Nathanael Gentry 01b2e97c6e GRAPHICS: MACGUI: Draw zoomBox with pixel inversion
The Director engine, which relies upon zoomBox, is also updated.
2020-06-16 08:48:21 -04:00
Nathanael Gentry 3b795ae07a GRAPHICS: MACGUI: Enable macDrawPixel to invert pixels 2020-06-16 08:48:21 -04:00
Nathanael Gentry 0e574c6aab GRAPHICS: MACGUI: MacWidget: Clear composeSurface with background colour 2020-06-15 12:04:45 -04:00
Cameron Cawley 00e3c03755 ALL: Remove unnecessary graphics/colormasks.h includes 2020-06-15 16:59:34 +01:00
Eugene Sandulenko 97a82f212b GRAPHICS: MACGUI: Initialize MacWidget colors to sane values 2020-06-15 12:15:50 +02:00
Nathanael Gentry 874526c563 GRAPHICS: MACGUI: Fix button alignment 2020-06-14 10:12:58 -04:00
Nathanael Gentry 9e69ea280e GRAPHICS: MACGUI: Fix text border computation 2020-06-14 10:12:57 -04:00
Nathanael Gentry 20dde1d917 GRAPHICS: MACGUI: Relocate colours to from MacText to MacWidget 2020-06-12 20:29:50 -04:00
Nathanael Gentry c5021628e2 GRAPHICS: MACGUI: Make text merge a little nicer 2020-06-12 18:22:17 -04:00
Nathanael Gentry 45937130dd GRAPHICS: MACGUI: Begin reorganizing text classes
MacEditableText has been merged into MacText. The Director engine, which relies
upon MacEditableText, is also updated here.
2020-06-12 15:27:37 -04:00
djsrv 51b37067ca GRAPHICS: MACGUI: Add removeMenu 2020-06-12 10:49:57 -04:00
Nathanael Gentry 83418686ee GRAPHICS: MACGUI: Implement basic priority handling 2020-06-11 10:20:17 -04:00
Nathanael Gentry d70fed560d GRAPHICS: MACGUI: MacEditableText: Properly set MacText align 2020-06-11 08:32:20 -04:00
Eugene Sandulenko 2bcc7f2bc4 GRAPHICS: MACGUI: Optimize MacText::getTextChunk() 2020-06-11 01:04:08 +02:00
Nathanael Gentry 033e025365 GRAPHICS: MACGUI: MacWindowManager: Deactivate widget when mouse leaves 2020-06-10 15:42:49 +02:00
Nathanael Gentry 2eecd518b1 GRAPHICS: MACGUI: MacWidget: Make non-abstract 2020-06-10 15:42:49 +02:00
Nathanael Gentry 4160ce4f86 GRAPHICS: MACGUI: MacEditableText: Start off inert 2020-06-10 15:42:49 +02:00
Nathanael Gentry 67bc0b0e88 GRAPHICS: MACGUI: MacEditableText: Properly handle cursor state change 2020-06-10 15:42:49 +02:00
Nathanael Gentry dcb0bded11 GRAPHICS: MACGUI: Delete unnecessary helper functions 2020-06-10 15:42:49 +02:00
Nathanael Gentry ecb0df0620 GRAPHICS: MACGUI: Ensure proper cursor change 2020-06-10 15:42:49 +02:00
Nathanael Gentry d64e41eca2 GRAPHICS: MACGUI: Add MacButton widget 2020-06-10 15:42:49 +02:00
Nathanael Gentry c38ad8bd5e GRAPHICS: MACGUI: MacText: Add shadow 2020-06-10 15:42:49 +02:00
Nathanael Gentry 9f06150a36 GRAPHICS: MACGUI: MacEditableText: Add text features
Border, gutter, box shadow, text alignment
2020-06-10 15:42:49 +02:00
Nathanael Gentry b49f3f6cd3 GRAPHICS: MACGUI: MacEditableText: Stay sane 2020-06-10 15:42:49 +02:00
Nathanael Gentry f099b6a073 GRAPHICS: MACGUI: Generalize pixel inversion plotproc 2020-06-10 15:42:49 +02:00
Eugene Sandulenko 37744bc7bf GRAPHICS: MACGUI: Properly fix double activation of menu 2020-06-10 15:37:51 +02:00
Andrei Prykhodko bb1ad3f357 MACGUI: don't activate menu if it is active 2020-06-04 23:45:19 +02:00