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
Borja Lorente
f7ba1cb812
GRAPHICS: Rename header guards in macgui
2016-08-02 08:33:50 +02:00
Borja Lorente
bc798d9ff4
GRAPHICS: Add custom border measures
2016-08-02 08:33:43 +02:00
Borja Lorente
3b1ba50c88
GRAPHICS: First approximation to custom border offsets
2016-07-31 14:47:19 +02:00
Borja Lorente
f642ad1cae
GRAPHICS: Refactor MacWindow to accept MacWindowBorder
2016-07-31 14:45:37 +02:00
Borja Lorente
a2955b1025
GRAPHICS: Add active/inactive borders to MacWindowBorders
2016-07-31 14:45:36 +02:00
Borja Lorente
4ab02530ae
GRAPHICS: Add MacWindowBorder to abstract borders
2016-07-31 14:45:36 +02:00
Borja Lorente
26238ee6f9
GRAPHICS: Fix border loading
2016-07-31 14:44:48 +02:00
Borja Lorente
b6722a1477
GRAPHICS: Fix segfault in macwindow
2016-07-31 14:05:15 +02:00
Borja Lorente
4a16f5fc39
WAGE: Begin adding borders to the windows
2016-07-31 14:05:15 +02:00
Borja Lorente
6c89eaa1b8
GRAPHICS: Include border loading code
2016-07-31 14:05:15 +02:00
Borja Lorente
1f00d2a099
GRAPHICS: Introduce NinePatchBitmap to MacWindow
2016-07-31 14:05:15 +02:00
Borja Lorente
80604fb3f5
GRAPHICS: Clean up namespaces
2016-07-31 14:05:14 +02:00
Borja Lorente
941617fc38
GRAPHICS: Create wrapper namespace for MacWindow constants
2016-07-31 14:05:14 +02:00
Borja Lorente
744034bd98
WAGE: Extract MacWindow
2016-07-30 10:06:09 +02:00