Interface XYMouseObject
access this type via: ui.XYMouseObject (provides, requires or uses)
--- extends:ClickableObject
Events
setCursor(CursorSetEvent cse)
Functions
void mouseDown(int x, int y, int button)
void mouseUp(int x, int y, int button)
void mouseMove(int x, int y)
void dropFile(int x, int y, char path[])
CursorSetEvent mouseOver(int x, int y)
void mouseOut()
void mouseWheel(int xAdd, int xSub, int yAdd, int ySub)
Events
setCursor This windowing event is intended for the windowing system only, and is fired when the object requests a specific cursor to be used.
void mouseDown(int x, int y, int button)
This function is called by the windowing system when a mouse button is pressed down over this object.
void mouseUp(int x, int y, int button)
This function is called by the windowing system when a mouse button is released over this object.
void mouseMove(int x, int y)
This function is called by the windowing system when the mouse pointer is moved over this object.
void dropFile(int x, int y, char path[])
This function is called by the windowing system when a file is dropped onto this object.
CursorSetEvent mouseOver(int x, int y)
This function is called by the windowing system when the mouse pointer enters the bounding box of this object.
void mouseOut()
This function is called by the windowing system when the mouse pointer exits the bounding box of this object.
void mouseWheel(int xAdd, int xSub, int yAdd, int ySub)
This function is called by the windowing system when the mouse wheel is moved, and indicates how much movement is suggested by the mouse wheel input in left, right, up, and down directions.