Label

Undocumented in source.

Constructors

this
this(wstring text, string source, Coordinate coordinates)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
onClick
void onClick(int offsetX, int offsetY, int state, ubyte button)
Undocumented in source. Be warned that the author may not have intended to support it.
setText
void setText(wstring s)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From WindowElement

text
wstring text;
Undocumented in source.
source
string source;
Undocumented in source.
position
Coordinate position;
Undocumented in source.
output
BitmapDrawer output;
Undocumented in source.
elementContainer
ElementContainer elementContainer;
Undocumented in source.
customStyle
StyleSheet customStyle;
Undocumented in source.
state
bool state;
Undocumented in source.
inputHandler
InputHandler inputHandler;
Undocumented in source.
popUpHandler
PopUpHandler popUpHandler;
Undocumented in source.
styleSheet
StyleSheet styleSheet;
Undocumented in source.
onDraw
void delegate() onDraw;
Undocumented in source.
onMouseLClickRel
void delegate(Event ev) onMouseLClickRel;
Undocumented in source.
onMouseRClickRel
void delegate(Event ev) onMouseRClickRel;
Undocumented in source.
onMouseMClickRel
void delegate(Event ev) onMouseMClickRel;
Undocumented in source.
onMouseHover
void delegate(Event ev) onMouseHover;
Undocumented in source.
onMouseMove
void delegate(Event ev) onMouseMove;
Undocumented in source.
onMouseLClickPre
void delegate(Event ev) onMouseLClickPre;
Undocumented in source.
onMouseRClickPre
void delegate(Event ev) onMouseRClickPre;
Undocumented in source.
onMouseMClickPre
void delegate(Event ev) onMouseMClickPre;
Undocumented in source.
onClick
void onClick(int offsetX, int offsetY, int state, ubyte button)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrag
void onDrag(int x, int y, int relX, int relY, ubyte button)
Undocumented in source. Be warned that the author may not have intended to support it.
onKey
void onKey(char c, int type)
Undocumented in source. Be warned that the author may not have intended to support it.
onScroll
void onScroll(int x, int y, int wX, int wY)
Undocumented in source. Be warned that the author may not have intended to support it.
getX
int getX()
Undocumented in source. Be warned that the author may not have intended to support it.
getY
int getY()
Undocumented in source. Be warned that the author may not have intended to support it.
getPosition
Coordinate getPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()

Updates the output.

getText
wstring getText()
Undocumented in source. Be warned that the author may not have intended to support it.
setText
void setText(wstring s)
Undocumented in source. Be warned that the author may not have intended to support it.
getAvailableStyleSheet
StyleSheet getAvailableStyleSheet()
Undocumented in source. Be warned that the author may not have intended to support it.
setCustomStyle
void setCustomStyle(StyleSheet s)
Undocumented in source. Be warned that the author may not have intended to support it.
setState
void setState(bool b)

Enables (b = true) or disables (b = false) the element. All element is enabled by default.

getState
bool getState()

Gets the state of the element.

Meta