-
Notifications
You must be signed in to change notification settings - Fork 0
Button
kuko0411 edited this page Jan 5, 2013
·
14 revisions
Default layer = 100
onMouseButtonDown() - Fires when left clicked on button. Can be shadowed.
onMouseButtonUp() - Fires when left button is released after onMouseButtonDown. Can be shadowed.
onDrag() - Catches all mouse motion when pressed
Own - caption, visible, pressed, enabled, font, graphic
Shortucts - to Button.rect for moving (bottomleft, topleft, bottomright, topright, midbottom, midtop, midleft, midright, centerx, centery, height, width, bottom, left, right, top, center, size, move)