Commit Graph
923 Commits
Author SHA1 Message Date
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
Orgad Shaneh 49053f2b9b GRAPHICS: Remove unused const
Amends commit 0443d5a133.

Detected by Clang.
2021-04-10 15:29:08 +03:00
ysj1173886760 2ab965e53e GRAPHICS: MACGUI: fix the bug dumping when initializing Wage Engine 2021-04-01 16:08:56 +02:00
ysj1173886760 0dcde7c96a GRAPHICS: MACGUI: add new feature that when scroll wheel, the scroll bar will also display 2021-04-01 16:08:56 +02:00
ysj1173886760 1afc246a69 GRAPHICS: MACGUI: Added the callback function for drawing invert pixel for default palette, which is used to draw the scroll bar 2021-04-01 16:08:56 +02:00
ysj1173886760 aba96cb38f GRAPHICS: MACGUI: recalc the scrollSize and scrollPos, in order to fix scroll bar for mactextwindow 2021-04-01 16:08:56 +02:00
ysj1173886760 0443d5a133 GRAPHICS: MACGUI: remove drawSimpleBorder which draws the border manually 2021-04-01 16:08:56 +02:00
ysj1173886760 43e95f3a48 GRAPHICS: MACGUI: set palette in macwindowmanager line 41 as default a palette of MacWindowManager 2021-04-01 16:08:56 +02:00
ysj1173886760 c5481d9c02 GRAPHICS: MACGUI: modify the logic of drawInput and appendText, in order to fix the bug of cursor dislocation and incorrectly drawing the input 2021-04-01 16:08:56 +02:00
ysj1173886760 63f5de7069 GRAPHICS: MACGUI: init _textShadow at mactext constructor 2021-04-01 16:08:56 +02:00
ysj1173886760 0fdf29ca19 GRAPHICS: MACGUI: fix the bug when splitting a new line 2021-04-01 16:08:56 +02:00
ysj1173886760 db6a0fce54 GRAPHICS: MACGUI: fix the problem of incorrectly render the cursor and selected area 2021-03-27 13:05:31 +01:00
ysj1173886760 8e8219d0ea GRAPHICS: MACGUI: fix the bug when splitting a new line 2021-03-27 13:05:31 +01:00
ysj1173886760 6aea4cb68b GRAPHICS: MACGUI: fix the bug of MacTextWindow incorrectly drawing the surface 2021-03-27 13:05:31 +01:00
ysj1173886760 85ecee5cde GRAPHICS: MACGUI: fix the bug of splitString which incorrectly deal with \n and incorrect order of draw rectangles in draw function 2021-03-27 13:05:31 +01:00
ysj1173886760 3f4e072632 GRAPHICS: MACGUI: Added flag to load ScummVM wallpaper optionally 2021-03-27 13:05:31 +01:00
ysj1173886760 312788b228 GRAPHICS: MACGUI: fix the bug dumping when initializing Wage Engine 2021-03-27 13:05:31 +01:00
ysj1173886760 2b6754e187 GRAPHICS: MACGUI: fix the bug of dealing with long word in MacText
it now can deal with the word with many font
it now can deal with multi paragraph and had it`s own wrapping
empty string and sequence of \n is tested
2021-03-20 15:15:56 +01:00
Eugene Sandulenko f8ac24d27a GRAPHICS: MACGUI: Better handling for setActiveWidget
This fixes cursor in editable text widgets.
2021-03-19 20:13:57 +01:00
Eugene Sandulenko 3dc6137b6f GRAPHICS: MACGUI: Fix crash for first cursor undrawing 2021-03-03 16:20:51 +01:00
Paul Gilbert 44d616d9c0 GRAPHICS: Compilation fixes 2021-02-26 18:20:11 -08:00
Henrik "Henke37" Andersson 2300f0a7d4 MACGUI: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Cameron Cawley c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Vladimir Serbinenko 3fc822e55c COMMON: introduce substr for U32String (#2585)
It's safer than direct array manipulation. Replace current uses
of subsetting with substr.
2020-11-01 22:53:03 +01:00
Eugene Sandulenko 8c52f6db12 GRAPHICS: MACGUI: Reset MacWindget dirty flag on blit.
This reduces amount of unnecessary redraws.
2020-08-24 20:53:37 +02:00
Nathanael Gentry 2512ca2d5b GRAPHICS: MACGUI: Fix hex format decoding 2020-08-20 13:17:01 -04:00
Nathanael Gentry d2a1102423 GRAPHICS: MACGUI: Fix screen copying with direct draw 2020-08-19 16:59:18 -04:00
Nathanael Gentry 7b82dcd8ac GRAPHICS: MACGUI: Add colour to text render debug 2020-08-19 16:32:45 -04:00
Eugene Sandulenko 367dd5ff66 GRAPHICS: MACGUI: More fixed for 32bpp mode 2020-08-16 23:08:33 +02:00
Eugene Sandulenko f05d2f17c2 GRAPHICS: MACGUI: Made MacDrawPixPtr a global typedef 2020-08-16 00:59:05 +02:00
Eugene Sandulenko 695e8349fe GRAPHICS: MACGUI: BE-safe color creation 2020-08-16 00:59:05 +02:00
Eugene Sandulenko e604c97607 GRAPHICS: MACGUI: Made MacDrawPixel bpp-aware 2020-08-15 16:09:20 +02:00
Eugene Sandulenko 43c3407557 GRAPHICS: MACGUI: More work on making MacWindowBorder 32bpp-aware 2020-08-15 16:09:20 +02:00
Eugene Sandulenko ff49cb2303 GRAPHICS: MACGUI: Make pattern drawing 32bpp-aware 2020-08-15 14:50:27 +02:00
Eugene Sandulenko 56fddcb965 GRAPHICS: MACGUI: Tidy up code 2020-08-15 14:50:27 +02:00
Eugene Sandulenko 6d72ebd1e2 GRAPHICS: MACGUI: Made MacButtons and desktop render in 32bpp 2020-08-15 14:50:26 +02:00
Eugene Sandulenko 29533d9c5e GRAPHICS: MACGUI: Fix typo in findBestColor 2020-08-15 14:50:26 +02:00
Eugene Sandulenko 659e3c72b8 GRAPHICS: MACGUI: Further work on 32bpp blitting 2020-08-14 23:54:16 +02:00
Eugene Sandulenko ee3e1e3af5 GRAPHICS: MACGUI: More 32bpp enhancements 2020-08-14 10:47:33 +02:00
Nathanael Gentry b4c6ab24b0 GRAPHICS: MACGUI: Restore window border transparency 2020-08-13 21:24:52 -04:00
Eugene Sandulenko d61eeb9880 GRAPHICS: MACGUI: Added 32bpp mode form MacWindowManager 2020-08-14 01:10:32 +02:00
Eugene Sandulenko 02b04d3de8 JANITORIAL: Whitespace fixes 2020-08-14 00:52:34 +02:00