Difference between revisions of "Legacy:Functions/WindowStyles"
From Spherical
(created) |
(No difference)
|
Latest revision as of 17:33, 22 May 2013
Contents
WindowStyles
- Sphere WindowStyle object: holds a windowstyle for drawing.
- GetSystemWindowStyle(): Get the default window style that comes with the Sphere engine.
- LoadWindowStyle(filename): returns a windowstyle object from 'filename'.
WindowStyle object
Drawing windows
- WindowStyle.drawWindow(x, y, w, h): Draw a window (x, y, w, h) with external borders.
WindowStyle color masking
- WindowStyle.getColorMask(): gets the color mask being used by the windowstyle object
- WindowStyle.setColorMask(color): sets the color mask for a windowstyle (see ApplyColorMask)