Difference between revisions of "API Mouse"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen) |
(XML import) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <sidebar>API | + | <sidebar>API Contents</sidebar> |
Mouse reading interface | Mouse reading interface | ||
| − | |||
| − | |||
| − | ===Examples=== | + | __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 | ||
| + | |} | ||
| + | |||
| + | |||
| + | ==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