Jump to content

API Mouse: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
 
JonnyW (talk | contribs)
XML import
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
wiki page name
<sidebar>API Contents</sidebar>
==Mouse==
Mouse reading interface
 
 
__TOC__
 
==Functions provided for this class==
{|
|-
|width="35%"|[[API Mouse.GetButtons|GetButtons]]
|Gets the button state from the mouse: 4 for left, 1 for right
|-
|width="35%"|[[API Mouse.GetFocus|GetFocus]]
|Gets the handle of the component under the mouse
|-
|width="35%"|[[API Mouse.GetPosition|GetPosition]]
|Gets the position of the mouse, intersecting with a component or the viewing plane
|-
|width="35%"|[[API Mouse.GetPosition2D|GetPosition2D]]
|Gets the X/Y position of the mouse in screen coords
|-
|width="35%"|[[API Mouse.GetClickSide|GetClickSide]]
|Gets the side of the component clicked on, 0 to 5
|}


Mouse reading interface
----
===Functions provided for this class===
{||-|[[API Mouse.GetButtons|GetButtons]]|Gets the button state from the mouse: 4 for left, 1 for right|-|[[API Mouse.GetFocus|GetFocus]]|Gets the handle of the component under the mouse|-|[[API Mouse.GetPosition|GetPosition]]|Gets the position of the mouse, intersecting with a component or the viewing plane|-|[[API Mouse.GetPosition2D|GetPosition2D]]|Gets the X/Y position of the mouse in screen coords|-|[[API Mouse.GetClickSide|GetClickSide]]|Gets the side of the component clicked on, 0 to 7|}


===Examples===
==Examples==
''<span style="color:red;">No additional examples</span>''
 
==See also==
''<span style="color:red;">No additional information</span>''

Latest revision as of 15:57, 16 January 2014

<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