http://wiki.spheredev.org/index.php?title=Legacy:Functions/WindowStyles&feed=atom&action=historyLegacy:Functions/WindowStyles - Revision history2024-03-28T20:46:32ZRevision history for this page on the wikiMediaWiki 1.29.0http://wiki.spheredev.org/index.php?title=Legacy:Functions/WindowStyles&diff=481&oldid=prevApollolux: created2013-05-22T17:33:54Z<p>created</p>
<p><b>New page</b></p><div>== WindowStyles ==<br />
* Sphere [[API:WindowStyle|WindowStyle]] object: holds a windowstyle for drawing.<br />
* [[API:GetSystemWindowStyle|GetSystemWindowStyle]](): Get the default window style that comes with the Sphere engine.<br />
* [[API:LoadWindowStyle|LoadWindowStyle]](filename): returns a [[API:WindowStyle|windowstyle]] object from 'filename'.<br />
<br />
=== WindowStyle object ===<br />
<br />
==== Drawing windows ====<br />
<br />
* [[API:WindowStyle/drawWindow|WindowStyle.drawWindow]](''x'', ''y'', ''w'', ''h''): Draw a window (''x'', ''y'', ''w'', ''h'') with external borders.<br />
<br />
==== WindowStyle color masking ====<br />
<br />
* [[API:WindowStyle/getColorMask|WindowStyle.getColorMask]](): gets the color mask being used by the [[API:WindowStyle|windowstyle]] object<br />
* [[API:WindowStyle/setColorMask|WindowStyle.setColorMask]](color): sets the color mask for a windowstyle (see [[API:ApplyColorMask|ApplyColorMask]])</div>Apollolux