32 #ifndef TBX_POINTERINFO_H_
33 #define TBX_POINTERINFO_H_
48 PointerInfo(
bool update_now =
true,
bool get_objects =
true);
52 void Update(
bool get_objects =
true);
Class to store and fetch information about the WIMP mouse pointer.
Definition: pointerinfo.h:43
IconHandle icon_handle() const
Get the WIMP icon handle the pointer was over.
Definition: pointerinfo.h:130
This is the base class for all Gadgets.
Definition: gadget.h:48
int mouse_x() const
Get the x mouse coordinate.
Definition: pointerinfo.h:60
bool on_object() const
Check if pointer is returning object information.
Definition: pointerinfo.h:105
WindowHandle window_handle() const
Get the WIMP window handle the pointer was over.
Definition: pointerinfo.h:121
bool select_down() const
Check if the select button is pressed.
Definition: pointerinfo.h:97
bool user_window() const
Check if the window returned is a user window.
Definition: pointerinfo.h:139
int mouse_y() const
Get the y mouse coordinate.
Definition: pointerinfo.h:66
PointerInfo(bool update_now=true, bool get_objects=true)
Constructor to optionally get the current pointer position.
Definition: pointerinfo.cc:44
int WindowHandle
Type for WIMP windows handle.
Definition: handles.h:35
int button_state() const
Get the button state.
Definition: pointerinfo.h:77
void Update(bool get_objects=true)
Update to current location of mouse.
Definition: pointerinfo.cc:81
bool menu_down() const
Check if then menu button is pressed.
Definition: pointerinfo.h:91
int IconHandle
Type for WIMP icon handle.
Definition: handles.h:37
bool system_icon() const
Check if this is a system icon.
Definition: pointerinfo.h:167
bool adjust_down() const
Check if the adjust button is pressed.
Definition: pointerinfo.h:85
Gadget gadget() const
Return gadget the pointer is over.
Definition: pointerinfo.cc:122
bool on_iconbar() const
Check if the window returned is the iconbar.
Definition: pointerinfo.h:157
Class to manipulate a toolbox object.
Definition: object.h:50
Object object() const
Return object the pointer is over.
Definition: pointerinfo.cc:108
bool on_background() const
Check if the window returned is the desktop background.
Definition: pointerinfo.h:148