ysj1173886760
ecac522c7f
GRAPHICS: MACGUI: make mactext can scrollable now
2021-06-03 13:19:10 +02:00
ysj1173886760
eda07a54be
GRAPHICS: MACGUI: modify the behaviour when we inserting character when we have selection in mactext
2021-06-03 13:19:10 +02:00
ysj1173886760
f320de75ff
GRAPHICS: MACGUI: implement delete to mactext by using existing functions
2021-06-03 13:19:10 +02:00
ysj1173886760
1b92db9f80
GRAPHICS: MACGUI: fix incorrect selection drawing when mactext is not active
2021-06-03 13:19:10 +02:00
ysj1173886760
f0763f44cc
GRAPHICS: MACGUI: fix the cursor position when using paste in mactext
2021-06-03 13:19:10 +02:00
ysj1173886760
4d4ad3c310
GRAPHICS: MACGUI: bring copy, paste, cut to mactext. currently, we are using copy with formatting
2021-06-03 13:19:10 +02:00
ysj1173886760
73b10b3e5e
GRAPHICS: MACGUI: clean the surface when we are drawing selection in mactext
2021-06-03 13:19:10 +02:00
ysj1173886760
bd6887a6ea
GRAPHICS: MACGUI: implement deleteSelection by using deletePreviousChar
2021-06-03 13:19:10 +02:00
ysj1173886760
cfac0f0513
GRAPHICS: MACGUI: add offset to drawSelection
2021-06-03 13:19:10 +02:00
ysj1173886760
b11dfdfeaa
GRAPHICS: MACGUI: change the behavior of cursor and selectedText, currently, we won't draw the cursor when we have selectedText
2021-06-03 13:19:10 +02:00
ysj1173886760
0176107051
GRAPHICS: MACGUI: add a check when we disabling the hoveredWidget
2021-06-03 13:19:10 +02:00
ysj1173886760
c84f16ca22
GRAPHICS: MACGUI: fix the coordinate calculating, bring the mactext selection work again
2021-06-03 13:19:10 +02:00
Eugene Sandulenko
f1f031449b
GRAPHICS: MACGUI: Expose another way of setting MacWindow borders
2021-05-26 12:00:28 +02:00
Cameron Cawley
0c59abf327
GRAPHICS: Optimize the Normal scaler slightly
2021-05-23 10:33:18 +03:00
Cameron Cawley
909be8a933
GRAPHICS: Add a Normal5x scaler
2021-05-23 10:33:18 +03:00
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
4df3f33399
GRAPHICS: Fix mess with color components in TransparentSurface
...
We were having it inconsistent for years and since the feature is underused,
nobody noticed. Also endianness doesn't make sense for the shifts,
only for the color indexes
2021-05-12 23:19:19 +02:00
Mathias Parnaudeau
deefffd983
GRAPHICS: Fix leak in managed surface
...
In the case of the ManagedSurface constructor from a Surface object,
_disposeAfterUse is not initialized. But more, copyFrom() sets
_disposeAfterUse to YES after allocation of buffer. And then,
after the call to copyFrom, _disposeAfterUse was set to NO, what
made the pixels buffer not freed.
2021-05-12 14:10:26 +03: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
Kaloyan Chehlarski
aa2b2d4178
GRAPHICS: Compile SJIS code when building AGOS
...
SJIS code only gets built when it's needed by an engine, but AGOS
wasn't marked as one of the engines that requires it, breaking static
engine builds.
2021-05-09 15:13:37 +03:00
D G Turner
a51f5e9c1a
GRAPHICS: Fix GCC Compiler Warnings
2021-05-05 11:36:04 +01:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
Cameron Cawley
d02daaeb2b
SCUMM: Remove direct use of Graphics::Surface from ARM code ( #2931 )
2021-05-04 00:17:52 +03:00
Eugene Sandulenko
6e17562492
GUI: MACGUI: Make MacTextWindow working with plain fonts
2021-05-02 01:03:02 +02:00
Eugene Sandulenko
ed9c2f97ca
GRAPHICS: Implemented debug output for Surface
2021-05-02 01:03:01 +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
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