Button

Undocumented in source.

Constructors

this
this(Widget parent, string name, string fontName, int fontSize, Alignment alignment, int xOffset, int yOffset, int width, int height)
Undocumented in source.

Members

Functions

draw
void draw(StateContext ctx)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

alignment
Alignment alignment;
Undocumented in source.
fontName
string fontName;
Undocumented in source.
fontSize
int fontSize;
Undocumented in source.
name
string name;
Undocumented in source.
selected
bool selected;
Undocumented in source.

Inherited Members

From Widget

mouseTrack
TRACKMOUSEEVENT mouseTrack;
Undocumented in source.
parent
Widget parent;
Undocumented in source.
hwnd
HWND hwnd;
Undocumented in source.
paintBuffer
PaintBuffer paintBuffer;
Undocumented in source.
ps
PAINTSTRUCT ps;
Undocumented in source.
xOffset
int xOffset;
Undocumented in source.
yOffset
int yOffset;
Undocumented in source.
width
int width;
height
int height;
Undocumented in source.
needsRedraw
bool needsRedraw;
Undocumented in source.
isHidden
bool isHidden;
Undocumented in source.
mouseEntered
bool mouseEntered;
Undocumented in source.
MouseLDown
Signal!() MouseLDown;
Undocumented in source.
MouseClick
alias MouseClick = MouseLDown
Undocumented in source.
MouseMove
Signal!(int, int) MouseMove;
Undocumented in source.
MouseEnter
Signal!() MouseEnter;
Undocumented in source.
MouseLeave
Signal!() MouseLeave;
Undocumented in source.
size
Size!int size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size!int size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(int newXOffset, int newYOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
process
LRESULT process(UINT message, WPARAM wParam, LPARAM lParam)
Undocumented in source. Be warned that the author may not have intended to support it.
redraw
void redraw()
Undocumented in source. Be warned that the author may not have intended to support it.
blit
void blit()
Undocumented in source. Be warned that the author may not have intended to support it.
OnPaint
void OnPaint(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(StateContext ctx)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta