Eugene Sandulenko
f1f031449b
GRAPHICS: MACGUI: Expose another way of setting MacWindow borders
2021-05-26 12:00:28 +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
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
27986beebc
GRAPHICS: MACGUI: add comment for enableScrollbar
2021-04-25 02:24:15 +02:00
ysj1173886760
3b47e56155
GRAPHICS: MACGUI: clean the codes
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
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
8894317e89
GRAPHICS: MACGUI: add titleIndex and titleWidth to macborder in order suit to 9-patch
2021-04-12 14:04:25 +02:00
ysj1173886760
0443d5a133
GRAPHICS: MACGUI: remove drawSimpleBorder which draws the border manually
2021-04-01 16:08:56 +02:00
Paul Gilbert
44d616d9c0
GRAPHICS: Compilation fixes
2021-02-26 18:20:11 -08:00
Nathanael Gentry
a639ae4002
GRAPHICS: MACGUI: Add WM direct copy mode
...
This does not keep the current screen state cached in a surface, but re-creates
the screen from its various components each time something changes. This avoids
an intermediate blitting.
The mode is enabled just by not providing a surface to the WM, and instead
providing a width and height.
2020-08-12 02:34:45 -04:00
Nathanael Gentry
07166de33f
GRAPHICS: MACGUI: Add dirty rect handling to MacWindow
...
The Director engine, which relied on this functionality in its Window class, is
also updated.
2020-08-12 02:34:24 -04:00
djsrv
8bc5e73d0a
DIRECTOR: LINGO: Properly implement titleVisible
2020-08-07 13:40:52 -04:00
Nathanael Gentry
fba1993465
GRAPHICS: MACGUI: MacWindow: Add centering function
2020-08-06 12:50:25 -04:00
djsrv
c29ccaa0bb
GRAPHICS: MACGUI: Draw title on ninepatch borders
2020-08-05 19:20:14 -04:00
djsrv
6189a36d12
GRAPHICS: MACGUI: Add border types
2020-07-31 16:38:37 -04:00
djsrv
d7b1d27ccd
GRAPHICS: MACGUI: Add title functions
2020-07-24 00:32:02 -04:00
Nathanael Gentry
a7426c2872
GRAPHICS: MACGUI: Eliminate window composition surface
...
Now there is just the composeSurface from the widget. This fixes a bug where the
inner window contents would be blitted with transparency and also eliminates a
redundant copying. Now the border and inner surfaces are composed together on demand.
2020-07-21 14:48:27 -04:00
Eugene Sandulenko
670ea3485f
GRAPHICS: MACGUI: Extend setVisible() method to allow proper overloading
2020-07-10 10:06:11 +02:00
djsrv
57bb4359ef
DIRECTOR: LINGO: Implement the visible of window
2020-07-09 00:54:31 -04:00
djsrv
3aaeced035
GRAPHICS: MACGUI: Allow windows to be hidden
2020-07-08 17:10:55 -04:00
Nathanael Gentry
03ddc4dd4d
GRAPHICS: MACGUI: Standardize destructors for widget subclasses
2020-07-07 16:41:53 -04:00
djsrv
d8725510b6
GRAPHICS: MACGUI: Don't draw border over contents
2020-07-06 13:12:55 -04:00
Nathanael Gentry
335f6f2e3d
GRAPHICS: MACGUI: Keep window manager pointer in all widgets
2020-06-23 23:26:49 -04:00
Eugene Sandulenko
7a4d5f45e9
GRAPHICS: MACGUI: Renamed clashing methods
2020-04-25 13:44:18 +02:00
Eugene Sandulenko
7242a104ab
GRAPHICS: MACGUI: Inherit enable/disable methods from MacWidget
2020-04-25 13:44:18 +02:00
Eugene Sandulenko
2fb21ba90a
GRAPHICS: MACGUI: Split drawing and blitting operations for widgets
2020-04-14 00:42:39 +02:00
Eugene Sandulenko
06fc491663
GRAPHOCS: MACGUI: Renamed MacWindow::getSurface() to getWindowSurface()
2020-04-14 00:27:49 +02:00
Eugene Sandulenko
8ae73ce263
GRAPHICS: MACGUI: Add disableBorder() to MacWindow
2020-04-08 00:47:11 +02:00
Eugene Sandulenko
52137f6627
GRAPHICS: MACGUI: Turned MacWindow into MacWidget
2020-04-07 00:56:27 +02:00
Eugene Sandulenko
37485b9670
GRAPHICS: MACGUI: Implemented event dispatcher for MacWidget
2020-04-06 21:09:13 +02:00
Eugene Sandulenko
7d81e1c14f
GRAPHICS: MACGUI: Implemented addWidget() to BaseMacWindow class
2020-02-25 18:23:00 +01:00
Eugene Sandulenko
2d9b3b0b2d
GRAPHICS: MACGUI: Initial code for MacEditableText
2020-01-02 18:23:33 +01:00
Eugene Sandulenko
93e8109cdf
GRAPHICS: MACGUI: Add possibility to pass borders as a surface
2019-10-04 19:10:03 +02:00
Eugene Sandulenko
3fbcc67766
GRAPHICS: MACGUI: Load border padding directly from the 9-patch
2019-09-29 23:26:05 +02:00
Eugene Sandulenko
20734108e3
GRAPHICS: MACGUI: Incapsulate MacWindow internals
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
085eea68c3
GRAPHICS: MACGUI: Use proper dimensions for maxTextWidth in MacTextWindow
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
8609572b87
GRAPHICS: MACGUI: Correctly set MacTextWindow internal MacText size
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
a2427fddd7
GRAPHICS: MACGUI: Initial code for cursor drawing in MacTextWindow
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
ff8a2ade68
GRAPHICS: MACGUI: Made more MacWindow methods public
2017-08-01 10:42:21 +02:00
Eugene Sandulenko
b2dcd1bb1e
GRAPHICS: Move font-related MacGUI code to MacFontManager
2016-10-06 23:49:39 +02:00
Torbjörn Andersson
40c65540fa
GRAPHICS: Add setBackgroundPattern() to MacWindow
...
Set a background pattern for the window surface. For instance, the
exits window in the MacVenture engine should have a light gray
background, rather than a white one, and this will allow it to get
one without having to draw it by itself.
2016-09-04 08:31:39 +02:00
Eugene Sandulenko
fab199d37e
JANITORIAL: Make GPL headers uniform
2016-09-03 12:46:38 +02:00
Borja Lorente
5ce231a527
GRAPHICS: Add macwindow documentation
2016-08-02 08:33:50 +02:00
Borja Lorente
c4f6c4c2fd
GRAPHICS: Add documentation to BaseMacWindow
2016-08-02 08:33:50 +02:00
Borja Lorente
e809320f58
GRAPHICS: Fix indentation
2016-08-02 08:33:50 +02:00