- _input
void _input(InputEvent arg0)
- getAction
String getAction()
- getBitmask
Ref!BitMap getBitmask()
- getShape
Ref!Shape2D getShape()
- getTexture
Ref!Texture getTexture()
- getTexturePressed
Ref!Texture getTexturePressed()
- getVisibilityMode
TouchScreenButton.VisibilityMode getVisibilityMode()
- isPassbyPressEnabled
bool isPassbyPressEnabled()
- isPressed
bool isPressed()
Returns true if this button is currently pressed.
- isShapeCentered
bool isShapeCentered()
- isShapeVisible
bool isShapeVisible()
- opAssign
TouchScreenButton opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(TouchScreenButton other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setAction
void setAction(StringArg0 action)
- setBitmask
void setBitmask(BitMap bitmask)
- setPassbyPress
void setPassbyPress(bool enabled)
- setShape
void setShape(Shape2D shape)
- setShapeCentered
void setShapeCentered(bool _bool)
- setShapeVisible
void setShapeVisible(bool _bool)
- setTexture
void setTexture(Texture texture)
- setTexturePressed
void setTexturePressed(Texture texture_pressed)
- setVisibilityMode
void setVisibilityMode(long mode)
- action
String action [@property getter]
String action [@property setter]
The button's action. Actions can be handled with InputEventAction.
- bitmask
BitMap bitmask [@property getter]
BitMap bitmask [@property setter]
- normal
Texture normal [@property getter]
Texture normal [@property setter]
The button's texture for the normal state.
- passbyPress
bool passbyPress [@property getter]
bool passbyPress [@property setter]
If true passby presses are enabled.
- pressed
Texture pressed [@property getter]
Texture pressed [@property setter]
The button's texture for the pressed state.
- shape
Shape2D shape [@property getter]
Shape2D shape [@property setter]
- shapeCentered
bool shapeCentered [@property getter]
bool shapeCentered [@property setter]
If true the button's shape is centered.
- shapeVisible
bool shapeVisible [@property getter]
bool shapeVisible [@property setter]
If true the button's shape is visible.
- visibilityMode
TouchScreenButton.VisibilityMode visibilityMode [@property getter]
long visibilityMode [@property setter]
The button's visibility mode. See VISIBILITY_* constants.
Button for touch screen devices.
You can set it to be visible on all screens, or only on touch devices.