vg4->input->mouse_position()
Return mouse-position in window.
SYNTAX
VG_BOOL
vg4->input->mouse_position(int *xpos, int *ypos)
FUNCTION PARAMETERS
xpos | For returning x-position |
ypos | For returning y-position |
RETURN VALUE
Returns whether mouse is grabbed in window:
- VG_TRUE: Yes
- VG_FALSE: No
DESCRIPTION
Return mouse-position in window.
If mouse-grabbing is activated, the mouse must be catched in the window.
To catch the mouse into the window or release it from the window,
if mouse-grabbing is activated, use: [CTRL]+[Backspace]
SEE ALSO