WindowStyle

From Spheriki

Jump to: navigation, search

The WindowStyle object holds a windowstyle in memory to be used for drawing. If Sphere is unable to open the file, the engine will give an error message and exit.

Contents

Initalizers

Methods

Members

None.

Examples

var ws = LoadWindowStyle();
ws.drawWindow(0, 0, 320, 240);
var ws = GetSystemWindowStyle();
ws.drawWindow(0, 0, 320, 240);

Notes

The WindowStyle object may be somewhat lacking for any advanced uses like modifying or creating a windowstyle during runtime. This is because there is no way to access any of the images defined in a windowstyle. Extra functionality that can get the image sizes in windowstyle objects is available in this forum thread.

Personal tools