Button

Constructors

this
this(string id, Node parent, int x, int y, int width, int height)
this
this(string id, int x, int y, int width, int height)

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getNumberOfEvents
int getNumberOfEvents()
hasOnLeftClick
bool hasOnLeftClick()
hasOnMiddleClick
bool hasOnMiddleClick()
hasOnMouseInside
bool hasOnMouseInside()
hasOnMouseMove
bool hasOnMouseMove()
hasOnRightClick
bool hasOnRightClick()
isOnLeftClick
bool isOnLeftClick()
isOnMiddleClick
bool isOnMiddleClick()
isOnMouseInside
bool isOnMouseInside()
isOnMouseMove
bool isOnMouseMove()
isOnRightClick
bool isOnRightClick()
onLeftClick
void onLeftClick(void delegate() event)
onMiddleClick
void onMiddleClick(void delegate() event)
onMouseInside
void onMouseInside(void delegate() event)
onMouseMove
void onMouseMove(void delegate() event)
onRender
void onRender(void delegate() event)
onRightClick
void onRightClick(void delegate() event)
onUpdate
void onUpdate(void delegate() event)
position
void position(Vector4I position)
setPosition
void setPosition(int x, int y, int width, int height)
stopListening
void stopListening()
update
void update(float deltaTime)

Variables

height
int height;
width
int width;
x
int x;
y
int y;

Inherited Members

From Widget

_canListen
bool _canListen;
__canListen
bool __canListen;
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.
stopListening
void stopListening()

Meta