ui
tkui
MMouseEvent
MMouseEvent.ui::MouseEvent
New(int x, y, state, statechange)
- calcMouseRelv(ui::Vector2f v)
-
calcRelForLayer(Object l)
-
getMouseAbsX() : float
-
getMouseAbsY() : float
-
getMouseRelX() : float
-
getMouseRelY() : float
-
init(int x, y, state, statechange)
-
isAnyButtonDown() : int
- Query whether any mouse button is currently down
isLeftButton() : int
- Query whether the current onMouseDoubleClick(), onMouseClick(), .. was triggered by the left mouse button
isLeftButtonDown() : int
- Query whether the left mouse button is currently down
isMiddleButton() : int
- Query whether the current onMouseDoubleClick(), onMouseClick(), .. was triggered by the middle mouse button
isMiddleButtonDown() : int
- Query whether the middle mouse button is currently down
isRelPosWithinBBox(float x1, y1, x2, y2) : int
-
isRightButton() : int
- Query whether the current onMouseDoubleClick(), onMouseClick(), .. was triggered by the right mouse button
isRightButtonDown() : int
- Query whether the right mouse button is currently down
isWheel() : int
-
leftButtonDown() : int
- Query whether the left mousebutton state has changed from released to pressed
leftButtonUp() : int
- Query whether the left mousebutton state has changed from pressed to released
middleButtonDown() : int
- Query whether the middle mousebutton state has changed from released to pressed
middleButtonUp() : int
- Query whether the middle mousebutton state has changed from pressed to released
rightButtonDown() : int
- Query whether the right mousebutton state has changed from released to pressed
rightButtonUp() : int
- Query whether the right mousebutton state has changed from pressed to released
wheelDown() : int
- Query whether the wheel has changed from released to down
wheelUp() : int
- Query whether the wheel has changed from released to up
yacToString(String s)
- Function New | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Method calcMouseRelv | |||||
Signature | |||||
| |||||
Arguments | |||||
Method getMouseAbsX | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMouseAbsY | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMouseRelX | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMouseRelY | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method init | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Method isAnyButtonDown | |||||
Query whether any mouse button is currently down | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isLeftButton | |||||
Query whether the current onMouseDoubleClick(), onMouseClick(), .. was triggered by the left mouse button | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isLeftButtonDown | |||||
Query whether the left mouse button is currently down | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isMiddleButton | |||||
Query whether the current onMouseDoubleClick(), onMouseClick(), .. was triggered by the middle mouse button | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isMiddleButtonDown | |||||
Query whether the middle mouse button is currently down | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isRelPosWithinBBox | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Returns | ||||||||||||||||||||||||||||||
|
Method isRightButton | |||||
Query whether the current onMouseDoubleClick(), onMouseClick(), .. was triggered by the right mouse button | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isRightButtonDown | |||||
Query whether the right mouse button is currently down | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isWheel | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method leftButtonDown | |||||
Query whether the left mousebutton state has changed from released to pressed | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method leftButtonUp | |||||
Query whether the left mousebutton state has changed from pressed to released | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method middleButtonDown | |||||
Query whether the middle mousebutton state has changed from released to pressed | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method middleButtonUp | |||||
Query whether the middle mousebutton state has changed from pressed to released | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method rightButtonDown | |||||
Query whether the right mousebutton state has changed from released to pressed | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method rightButtonUp | |||||
Query whether the right mousebutton state has changed from pressed to released | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method wheelDown | |||||
Query whether the wheel has changed from released to down | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method wheelUp | |||||
Query whether the wheel has changed from released to up | |||||
Signature | |||||
| |||||
Returns | |||||
|
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06