Difference between revisions of "API Mouse"

From Flowcode Help
Jump to navigationJump to search
(XML import API auto-gen)
(XML import)
Line 2: Line 2:
 
Mouse reading interface
 
Mouse reading interface
  
===Functions provided for this class===
+
==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|}
+
{|
 +
|-
 +
|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 7
 +
|}
  
===Examples===
+
 
 +
==Examples==
 +
''No examples available''

Revision as of 16:34, 11 May 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 7


Examples

No examples available