Interface XYMouseObject
access this type via: ui.XYMouseObject (provides, requires or uses)
--- extends:ClickableObject
This interface is implemented by graphical objects that want to be notified of detailed mouse events with x/y coordinates and a button type (see MouseButtons).
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[])
void mouseOver()
void mouseOut()
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.
void mouseOver()
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.