3046 Commits

Author SHA1 Message Date
SupSuper
41798fca5d GRAPHICS: MACGUI: FreeType required for Win95 fonts
Fixes compilation on platforms without FreeType
2021-05-01 07:44:05 +01:00
Eugene Sandulenko
738db125e3
GRAPHICS: MACGUI: Make MacText work with plain text 2021-05-01 01:49:48 +02:00
Eugene Sandulenko
7d4f064a2a
GRAPHICS: MACGUI: Streamlined MacText initialization 2021-05-01 01:49:48 +02:00
Eugene Sandulenko
364407a5c6
GRAPHICS: Properly initialize ManagedSurface copy constructor 2021-05-01 01:49:48 +02:00
Eugene Sandulenko
c60009da68
GRAPHICS: MACGUI: Initialized class variables 2021-05-01 01:49:48 +02:00
Eugene Sandulenko
d98473ba47
GRAPHICS: MACGUI: Use Win95 fonts for Win95 MacMenu 2021-05-01 01:49:47 +02:00
Eugene Sandulenko
537e654138
GRAPHICS: TTF: Support loading fixed size fonts 2021-05-01 01:49:46 +02:00
Eugene Sandulenko
cc0cdbbd22
GRAPHICS: MACGUI: Plug memory leak 2021-05-01 01:49:46 +02:00
Eugene Sandulenko
81252598e6
GRAPHICS: MACGUI: Optimize MacMenu rendering 2021-05-01 01:49:37 +02:00
Cameron Cawley
07d2c38d7e GRAPHICS: Fix SVG rendering on big endian 2021-04-26 19:18:59 +03:00
ysj1173886760
9c9b553d7a GRAPHICS: MACGUI: fix the logic when calc the coordinate of scrollbar 2021-04-25 02:24:15 +02:00
ysj1173886760
fb7ed6f845 GRAPHICS: MACGUI: add textRGB for mactextwindow to suit new logic of mactext when drawing the text with color. add window feature DynamicScrollbar 2021-04-25 02:24:15 +02:00
ysj1173886760
549511c4b5 GRAPHICS: MACGUI: add rgb parameter for appendText, which makes mactext draws text with color, fix the logic when appending text 2021-04-25 02:24:15 +02:00
ysj1173886760
98cb026f70 GRAPHICS: MACGUI: fix the behaviour when we enable win95 mode when drawing scrollbar 2021-04-25 02:24:15 +02:00
ysj1173886760
c317ca1900 GRAPHICS: MACGUI: load win95scrollbar border as default when enable win95 mode 2021-04-25 02:24:15 +02:00
ysj1173886760
fc702ea9fe GRAPHICS: MACGUI: re-organize the code for drawing scrollbar for macwindow 2021-04-25 02:24:15 +02:00
ysj1173886760
82a55fd8d8 GRAPHICS: MACGUI: add getTextMaxWidth for mactext 2021-04-25 02:24:15 +02:00
ysj1173886760
27986beebc GRAPHICS: MACGUI: add comment for enableScrollbar 2021-04-25 02:24:15 +02:00
ysj1173886760
d437b22b6b GRAPHICS: MACGUI: fix the behaviour of scrollbar of win95 mode 2021-04-25 02:24:15 +02:00
ysj1173886760
15d46a55f8 GRAPHICS: MACGUI: add the feature that you can close the window when using the menu 2021-04-25 02:24:15 +02:00
ysj1173886760
b993ab021d GRAPHICS: MACGUI: fix the algorithm when we calc the coordinate of scrollbar, modify the offsets 2021-04-25 02:24:15 +02:00
ysj1173886760
90b2c02f27 GRAPHICS: MACGUI: init the scrollSize and scrollPos at constructor 2021-04-25 02:24:15 +02:00
ysj1173886760
fa4aaa7608 GRAPHICS: MACGUI: modify the offset when drawing the mactext to suit for pink 2021-04-25 02:24:15 +02:00
ysj1173886760
855583e2e4 GRAPHICS: MACGUI: add win95 mode for scrollbar 2021-04-25 02:24:15 +02:00
ysj1173886760
f81ea96421 GRAPHICS: MACGUI: clean the code, modify the behaviour of win95 menu 2021-04-25 02:24:15 +02:00
ysj1173886760
ba4513c10b GRAPHICS: MACGUI: organize the code 2021-04-25 02:24:15 +02:00
ysj1173886760
1d3cf51b7b GRAPHICS: MACGUI: fix the bug when closing the menu, the highlight part was not correctly set 2021-04-25 02:24:15 +02:00
ysj1173886760
5d2a73fe01 GRAPHICS: MACGUI: add win95 mode for menu behaviour, currently in win95 mode, it will exit the menu only when you click something useful(trigger some event) 2021-04-25 02:24:15 +02:00
ysj1173886760
e459e5acf8 GRAPHICS: MACGUI: add win95 mode for menu padding 2021-04-25 02:24:15 +02:00
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