Window

Undocumented in source.

Constructors

this
this(Coordinate size, wstring title, string[] extraButtons)

Standard constructor. "size" sets both the initial position and the size of the window. Extra buttons are handled from the StyleSheet, even numbers are unpressed, odd numbers are pressed.

Members

Functions

addElement
void addElement(WindowElement we, int eventProperties)
Undocumented in source. Be warned that the author may not have intended to support it.
addParent
void addParent(IWindowHandler wh)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
drawUpdate
void drawUpdate(WindowElement sender)
Undocumented in source. Be warned that the author may not have intended to support it.
dropFocus
void dropFocus(WindowElement sender)
Undocumented in source. Be warned that the author may not have intended to support it.
extraButtonEvent
void extraButtonEvent(int num)
Undocumented in source. Be warned that the author may not have intended to support it.
getFocus
void getFocus(WindowElement sender)
Undocumented in source. Be warned that the author may not have intended to support it.
getStyleSheet
StyleSheet getStyleSheet()

If the current window doesn't contain a custom StyleSheet, it gets from it's parent.

passKeyboardEvent
void passKeyboardEvent(wchar c, int type, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
passMouseEvent
void passMouseEvent(int x, int y, int state)
Undocumented in source. Be warned that the author may not have intended to support it.
passScrollEvent
void passScrollEvent(int wX, int wY, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

customStyle
StyleSheet customStyle;
Undocumented in source.
header
int header;
Undocumented in source.
output
BitmapDrawer output;
Undocumented in source.
parent
IWindowHandler parent;
Undocumented in source.
position
Coordinate position;
sizeX
int sizeX;
sizeY
int sizeY;
Undocumented in source.
title
wstring title;
Undocumented in source.

Inherited Members

From ElementContainer

getStyleSheet
StyleSheet getStyleSheet()
Undocumented in source.
drawUpdate
void drawUpdate(WindowElement sender)
Undocumented in source.
getFocus
void getFocus(WindowElement sender)
Undocumented in source.
dropFocus
void dropFocus(WindowElement sender)
Undocumented in source.

Meta