Jump to content

API Mouse: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of updated API docs
JonnyW (talk | contribs)
XML import of API documentation
Line 1: Line 1:




<sidebar>API contents</sidebar>
<sidebar>API Contents</sidebar>
Mouse reading interface
Mouse reading interface


Line 23: Line 23:
|-
|-
|width="35%"|[[API Mouse.GetClickSide|GetClickSide]]
|width="35%"|[[API Mouse.GetClickSide|GetClickSide]]
|Gets the side of the component clicked on, 0 to 7
|Gets the side of the component clicked on, 0 to 5
|}
|}



Revision as of 14:27, 9 August 2013


<sidebar>API Contents</sidebar> Mouse reading interface


Functions provided for this class

GetButtons Gets the button state from the mouse: 4 for left, 1 for right
GetFocus Gets the handle of the component under the mouse
GetPosition Gets the position of the mouse, intersecting with a component or the viewing plane
GetPosition2D Gets the X/Y position of the mouse in screen coords
GetClickSide Gets the side of the component clicked on, 0 to 5


Examples

No additional examples

See also

No additional information