Commit Graph
3567 Commits
Author SHA1 Message Date
ysj1173886760 0a9ffd5f06 GRAPHICS: MACGUI: remove unnecessary codes 2021-04-25 02:24:15 +02:00
ysj1173886760 ee8d9dea03 GRAPHICS: MACGUI: set fgcolor as default format color when we are in win95 mode 2021-04-25 02:24:15 +02:00
ysj1173886760 7ef3b88a94 GRAPHICS: MACGUI: save background color for mactextwindow, add new behaviour for win95 mode 2021-04-25 02:24:15 +02:00
ysj1173886760 47f4912083 GRAPHICS: MACGUI: add new flag kWMModeWin95 for macwindowmanager 2021-04-25 02:24:15 +02:00
ysj1173886760 a98097e8d2 GRAPHICS: MACGUI: set fgcolor as default color, fix the behaviour for appendText when _str is empty 2021-04-25 02:24:15 +02:00
ysj1173886760 803cd6d715 GRAPHICS: MACGUI: bring kWMModeNoDesktop flag useful again 2021-04-25 02:24:15 +02:00
Cameron Cawley 394288db98 GRAPHICS: Move rotoscale code out of TransparentSurface 2021-04-19 03:08:11 +03:00
Cameron Cawley 8dda238e6a GRAPHICS: Avoid modifying the built-in Topaz font data 2021-04-18 15:28:51 +02:00
Cameron Cawley 601de67de1 GRAPHICS: Add a basic keyBlit() function 2021-04-18 15:28:51 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Eugene Sandulenko 55ed48afba GRAPHICS: Fix 16-bpp rendering for AmigaFont 2021-04-15 21:20:35 +02:00
Eugene Sandulenko 4d75629be1 GRAPHICS: Expose first and last character code for AmigaFont 2021-04-15 17:45:37 +02:00
Eugene Sandulenko 12b3708fa1 GRAPHICS: Make AmigaFont universal 2021-04-15 17:45:37 +02:00
Eugene Sandulenko 925d9d250d GRAPHICS: Fixes to AmigaFont drawing 2021-04-15 17:45:37 +02:00
Eugene Sandulenko 24596bc806 GRAPHICS: Font class for drawing Amiga Topaz font 2021-04-15 17:45:37 +02:00
Eugene Sandulenko c27ad28ab2 GRAPHICS: GUI: Take tab shadow size from theme 2021-04-13 08:09:16 +02:00
ysj1173886760 3b47e56155 GRAPHICS: MACGUI: clean the codes 2021-04-12 14:04:25 +02:00
ysj1173886760 39b84a1574 GRAPHICS: MACGUI: modify the titlePos in datafiles 2021-04-12 14:04:25 +02:00
ysj1173886760 b8f8fdbf19 GRAPHICS: MACGUI: make title color depend on the border color 2021-04-12 14:04:25 +02:00
ysj1173886760 dc2861dbed GRAPHICS: MACGUI: fix the bug when we calc the 9-patch offset 2021-04-12 14:04:25 +02:00
ysj1173886760 3b53a4f2f7 GRAPHICS: MACGUI: move titlePos into BorderOffsets 2021-04-12 14:04:25 +02:00
ysj1173886760 7f47b9f6c0 GRAPHICS: MACGUI: move border stuff into macwindowborder 2021-04-12 14:04:25 +02:00
ysj1173886760 c2353d3797 GRAPHICS: MACGUI: use lazy load to load built-in border types, add scrollbar flag to indicate whether the window has scroll bar 2021-04-12 14:04:25 +02:00
ysj1173886760 aeacf0d4d2 GRAPHICS: MACGUI: modify the position where it draws the title, currently, it will draw title at the center of title box 2021-04-12 14:04:25 +02:00
ysj1173886760 83341beddd GRAPHICS: MACGUI: modify the way that setBorderType set the border, currently, it will set all borders which is the subset of flag 2021-04-12 14:04:25 +02:00
ysj1173886760 a0964d690c GRAPHICS: MACGUI: Add border flags to the builtin border types, fix the remaining part of macgui which are not adapt to border flags. 2021-04-12 14:04:25 +02:00
ysj1173886760 858624c0c9 GRAPHICS: MACGUI: fix the bug of the border flag is not correctly initialized 2021-04-12 14:04:25 +02:00
ysj1173886760 6d7e794ed3 GRAPHICS: MACGUI: Add flag to indicate the border type, move drawTitle and drawScrollBar into macwindowborder 2021-04-12 14:04:25 +02:00
ysj1173886760 307147c565 GRAPHICS: MACGUI: use titlePos to calc titleIndex, change the titleWidth in 9-patch when title is changed 2021-04-12 14:04:25 +02:00
ysj1173886760 9298eba78d GRAPHICS: MACGUI: remove the check that is not needed 2021-04-12 14:04:25 +02:00
ysj1173886760 8894317e89 GRAPHICS: MACGUI: add titleIndex and titleWidth to macborder in order suit to 9-patch 2021-04-12 14:04:25 +02:00
ysj1173886760 179654939e GRAPHICS: add title to 9-patch image 2021-04-12 14:04:25 +02:00
Eugene Sandulenko 382d4a6cd7 GRAPHICS: GUI: Do not use transparency when restoring background 2021-04-11 23:47:24 +02:00
Eugene Sandulenko 97547267e1 GRAPHICS: Optimize 1-bit case in PixelFormat 2021-04-11 21:21:44 +02:00
Eugene Sandulenko d3f5d34b62 GRAPHICS: Unify VectorRenderer blitting routines 2021-04-11 21:21:44 +02:00
Eugene Sandulenko dbf192fd13 GRAPHICS: Simplify VectorRenderer blitting routines 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 2839715a45 GUI: Remove TransparentSurface remnants aka alphabitmaps from themes 2021-04-11 21:21:44 +02:00
Eugene Sandulenko bd083c7fa7 GUI: Switch GUI to ManagedSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 6217cf8a37 GRAPHICS: Added ManagedSurface constructor from Surface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 09f11bd37e GRAPHICS: Fix transparency in ManagedSurface bitmaps 2021-04-11 21:21:44 +02:00
Eugene Sandulenko a299f8b8f7 GRAPHICS: Retain original SVG transparency and expose its pixelformat 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 916859ab86 GRAPHICS: Added (hacky) blitManagedSurface
So far, it is hardcoded, but in reality we need to merge
ManagedSurface and TransparentSurface and add blit() methods
to TransparentSurface
2021-04-11 21:21:44 +02:00
Eugene Sandulenko 66f10061d2 GRAPHICS: Switch SVG renderer to ManagedSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 9894efd574 GRAPHICS: Added copyFrom(Surface) to ManagerSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 6b785ecdd0 GRAPHICS: Fix pixelformat for SVG 2021-04-11 21:21:44 +02:00
Eugene Sandulenko b19fd0b60f GRAPHICS: Properly scale SVG image on rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 5f80a79871 GUI: Fix crash when requested 0 x 0 SVG rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko f78155b12f GRAPHICS: Fix rounded square rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 88fa55c7c6 GRAPHICS: Fix warnings 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 40018d0882 GRAPHICS: Initial code for SVG rendering 2021-04-11 21:21:44 +02:00