Commit Graph
672 Commits
Author SHA1 Message Date
ysj1173886760 60d9b79c0f GRAPHICS: MACGUI: add intersection check with macmenu and macwindow 2021-05-21 10:51:07 +02:00
ysj1173886760 1b211371cf GRAPHICS: MACGUI: fix the offset in macmenu 2021-05-21 10:51:07 +02:00
ysj1173886760 68099e5ebe GRAPHICS: MACGUI: fix the wm was not correctly reflushed when changing the menu items 2021-05-21 10:51:07 +02:00
Eugene Sandulenko 1e85ecf048 GRAPHICS: MACGUI: Draw plain rectangle menu in Win95 mode 2021-05-14 18:49:03 +02:00
Eugene Sandulenko f6c7f99b3d GRAPHICS: MACGUI: Simplified background restoration code in MacMenu 2021-05-14 18:49:02 +02:00
Eugene Sandulenko 463031f88a GRAPHICS: MACGUI: Do not refresh full screen when cursor is away from menu 2021-05-14 18:49:02 +02:00
Eugene Sandulenko dc94b96a95 GRAPHICS: MACGUI: Fixed other cases of off-screen rendering 2021-05-10 14:08:30 +02:00
Eugene Sandulenko 6d82d40db6 GRAPHICS: MACGUI: Fix out-of-screen rendering when submenus are wider than screen 2021-05-10 13:58:26 +02:00
D G Turner a51f5e9c1a GRAPHICS: Fix GCC Compiler Warnings 2021-05-05 11:36:04 +01:00
Eugene Sandulenko 6e17562492 GUI: MACGUI: Make MacTextWindow working with plain fonts 2021-05-02 01:03:02 +02:00
Eugene Sandulenko 5e6e9bf74b GRAPHICS: MACGUI: Expose MacWindowManager palette 2021-05-02 01:03:01 +02:00
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 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 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
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
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +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 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