|
| Window () |
| Construct creates an unassigned Window. More...
|
|
| Window (const Window &other) |
| Construct a Window from another Window. More...
|
|
| Window (const Object &other) |
| Construct a Window from an Object that refers to a Window. More...
|
|
| Window (const std::string &template_name) |
| Create a Window from the named template. More...
|
|
| Window (const res::ResWindow &object_template) |
| Create a Window from an in memory template resource. More...
|
|
Window & | operator= (const Window &other) |
| Assign this Window from another. More...
|
|
Window & | operator= (const Object &other) |
| Assign this Window from an Object that refers to a SaveAs. More...
|
|
bool | operator== (const Object &other) const |
| Check if this Window refers to the same underlying toolbox object as another. More...
|
|
bool | operator!= (const Object &other) const |
| Check if this Window does not refers to the same underlying toolbox object as another. More...
|
|
void | show_as_subwindow (const ShowSubWindowSpec &spec) |
| Show this window as a sub window (nested child) of an existing window. More...
|
|
Gadget | gadget (ComponentId component_id) |
| Get the gadget with the given component id. More...
|
|
WindowHandle | window_handle () const |
| Return the underlying WIMP windows handle of the window.
|
|
Gadget | add_gadget (const res::ResGadget &gadget_template) |
| Add a gadget to the window. More...
|
|
void | remove_gadget (ComponentId component_id) |
| Remove a gadget from the window. More...
|
|
void | menu (Menu menu) |
| Set menu used with this window. More...
|
|
Menu | menu () const |
| Get the current menu used by this object. More...
|
|
void | remove_menu () |
| Removes the menu from the window.
|
|
void | help_message (const std::string &message) |
| Set the help message for the Window. More...
|
|
std::string | help_message () const |
| Get the help message for the window. More...
|
|
void | add_shorcut (const res::ResShortcut &shortcut) |
| Add a keyboard shortcut. More...
|
|
void | add_shortcuts (const res::ResShortcut *shortcuts, int num) |
| Add multiple keyboard shortcuts from an array. More...
|
|
void | remove_all_shortcuts () |
| Remove all window shortcuts.
|
|
void | remove_shortcuts (const res::ResShortcut *shortcuts, int num) |
| Remove given window shortcuts.
|
|
std::string | title () const |
| Get the title (caption) of the window. More...
|
|
void | title (std::string new_title) |
| Set the title (caption) of the window. More...
|
|
void | set_toolbars (Window *internal_bottom_left, Window *internal_top_left, Window *external_bottom_left, Window *external_top_left) |
| Set toolbars for this window. More...
|
|
void | get_toolbars (Window *internal_bottom_left, Window *internal_top_left, Window *external_bottom_left, Window *external_top_left) |
| Get toolbars.
|
|
void | ibl_toolbar (Window window) |
| Set internal bottom left toolbar.
|
|
Window | ibl_toolbar () const |
| Get internal bottom left toolbar.
|
|
void | itl_toolbar (Window window) |
| Set internal top left toolbar.
|
|
Window | itl_toolbar () const |
| Get internal top left toolbar.
|
|
void | ebl_toolbar (Window window) |
| Set external bottom left toolbar.
|
|
Window | ebl_toolbar () const |
| Get external bottom left toolbar.
|
|
void | etl_toolbar (Window window) |
| Set external top left toolbar.
|
|
Window | etl_toolbar () const |
| Get external top left toolbar.
|
|
void | extent (const BBox &new_extent) |
| Set the work area extent for the window.
|
|
BBox | extent () const |
| Get the current work area extent for the window.
|
|
void | force_redraw (const BBox &work_area) |
| Force the area to be redrawn. More...
|
|
void | update (const BBox &bounds, RedrawListener *background=0) |
| Update the window immediately using any registered redrawers. More...
|
|
void | update (const BBox &bounds, RedrawListener **redrawers, int redrawer_count) |
| Update the window immediately using the given redrawers. More...
|
|
void | get_state (WindowState &state) const |
| Gets a summary of the current state of the window. More...
|
|
void | get_state (WindowState &state, Window &parent, int &align_flags) const |
| Gets a summary of the current state of the window. More...
|
|
void | get_info (WindowInfo &info) const |
| Get complete information about the windows state. More...
|
|
void | open_window (const WindowOpenInfo &open_info) |
| Open window in a new location. More...
|
|
void | open_subwindow (const WindowOpenInfo &open_info, Window &parent, unsigned int align_flags=0) |
| Open a window as a subwindow. More...
|
|
void | scroll (int x, int y) |
| Scroll window to given coordinates. More...
|
|
void | scroll (const Point &pos) |
| Scroll window to given coordinates. More...
|
|
Point | scroll () const |
| Returns the current scroll coordinates in the window. More...
|
|
void | size (int width, int height) |
| Set the size of the window. More...
|
|
void | size (const Size &size) |
| Set the size of the window. More...
|
|
Size | size () const |
| Returns the size of the window. More...
|
|
void | top_left (int x, int y) |
| Set the position of the top left of the visible area of the Window on the desktop. More...
|
|
void | top_left (const Point &pos) |
| Set the position of the top left of the visible area of the Window on the desktop. More...
|
|
Point | top_left () const |
| Get the position of the top left of the visible area of the Window on the desktop. More...
|
|
void | bounds (const BBox &bounds) |
| Set position and size of the visible area of window on the desktop. More...
|
|
BBox | bounds () const |
| Get position and size of the visible area of window on the desktop. More...
|
|
BBox | outline () const |
| Get the bounding box that completely covers the window on the screen. More...
|
|
void | block_copy (const BBox &bounds, const Point &to) |
| Fast copy of a part of the work area to somewhere else. More...
|
|
void | focus () |
| Sets the focus to an invisible caret a postion 0,0 in the window. More...
|
|
void | add_about_to_be_shown_listener (AboutToBeShownListener *listener) |
| Add a listener for when the window is about to be shown. More...
|
|
void | remove_about_to_be_shown_listener (AboutToBeShownListener *listener) |
| Remove a listener for when a window is about to be shown.
|
|
void | add_has_been_hidden_listener (HasBeenHiddenListener *listener) |
| Add A listener for when the window has been hidden. More...
|
|
void | remove_has_been_hidden_listener (HasBeenHiddenListener *listener) |
| Remove a listener for when a window has been hidden.
|
|
void | add_redraw_listener (RedrawListener *listener) |
| Add a listener to be called when the window needs redrawing. More...
|
|
void | remove_redraw_listener (RedrawListener *listener) |
| Remove a listener for redraw events.
|
|
void | add_open_window_listener (OpenWindowListener *listener) |
| Add a listener to be called when the window is opened. More...
|
|
void | remove_open_window_listener (OpenWindowListener *listener) |
| Remove a listener for window opened events.
|
|
void | add_close_window_listener (CloseWindowListener *listener) |
| Add a listener to be called when the window has received a request to close. More...
|
|
void | remove_close_window_listener (CloseWindowListener *listener) |
| Remove a listener for close window events.
|
|
void | add_pointer_leaving_listener (PointerLeavingListener *listener) |
| Add a listener for the pointer leaving the visible work area of the window.
|
|
void | remove_pointer_leaving_listener (PointerLeavingListener *listener) |
| Remove a listener for pointer leaving events.
|
|
void | add_pointer_entering_listener (PointerEnteringListener *listener) |
| Add a listener of the pointer entering the visible work area of the window.
|
|
void | remove_pointer_entering_listener (PointerEnteringListener *listener) |
| Remove a listener for pointer entering events.
|
|
void | add_mouse_click_listener (MouseClickListener *listener) |
| Add a listener for mouse click events. More...
|
|
void | remove_mouse_click_listener (MouseClickListener *listener) |
| Remove a listener for mouse click events.
|
|
void | add_all_mouse_click_listener (MouseClickListener *listener) |
| Add listener for a mouse click on a window or any of its components. More...
|
|
void | remove_all_mouse_click_listener (MouseClickListener *listener) |
| Remove listener for key press on window or any of its components.
|
|
void | add_key_listener (KeyListener *listener) |
| Add a listener for key pressed events on this window. More...
|
|
void | remove_key_listener (KeyListener *listener) |
| Remove a listener for key pressed events on this window .
|
|
void | add_all_key_listener (KeyListener *listener) |
| Add a listener for key pressed events on this window or the components it contains. More...
|
|
void | remove_all_key_listener (KeyListener *listener) |
| Remove a listener for key pressed events on this window or the components it contains.
|
|
void | add_lose_caret_listener (LoseCaretListener *listener) |
| Add a listener for when the window loses the caret.
|
|
void | remove_lose_caret_listener (LoseCaretListener *listener) |
| Remove a listener for when the window loses the caret.
|
|
void | add_gain_caret_listener (GainCaretListener *listener) |
| Add a listener for when the window gains the caret.
|
|
void | remove_gain_caret_listener (GainCaretListener *listener) |
| Remove a listener for when the window gains the caret.
|
|
void | add_scroll_request_listener (ScrollRequestListener *listener) |
| Add listener for when a click has occurred on a window's scroll bar. More...
|
|
void | remove_scroll_request_listener (ScrollRequestListener *listener) |
| Remove listener for when a click has occurred on a window's scroll bar.
|
|
void | add_loader (Loader *loader, int file_type=-2) |
| Add a file loader. More...
|
|
void | remove_loader (Loader *loader, int file_type=-2) |
| Remove a file loader. More...
|
|
void | drag_point (DragHandler *handler) const |
| Start drag operation of the mouse pointer. More...
|
|
void | drag_point_local (DragHandler *handler) const |
| Drag mouse pointer constrained to this window. More...
|
|
void | drag_point (const BBox &bounds, DragHandler *handler) const |
| Drag mouse pointer constrained to given bounds. More...
|
|
void | drag_box (const BBox &box, DragHandler *handler) const |
| Drag fixed rotating dots box. More...
|
|
void | drag_box_local (const BBox &box, DragHandler *handler) const |
| Drag fixed rotating dots box constrained to this window. More...
|
|
void | drag_box (const BBox &box, const BBox &bounds, DragHandler *handler) const |
| Drag fixed rotating dots box constrained to given bounds. More...
|
|
void | drag_rubber_box (const Point &start, DragHandler *handler) const |
| Start dragging of rubber rotating dashes box. More...
|
|
void | drag_rubber_box_local (const Point &start, DragHandler *handler) const |
| Start dragging of rubber rotating dashes box confined to inside the window. More...
|
|
void | drag_rubber_box (const Point &start, const BBox &bounds, DragHandler *handler) const |
| Start dragging of rubber rotating dashes box confined to inside the window. More...
|
|
void | cancel_drag () const |
| Cancel current drag operation.
|
|
void | drag_sprite (const Sprite &sprite, const BBox &box, DragHandler *handler, int flags=0) const |
| Drag a sprite in the desktop. More...
|
|
void | drag_sprite_local (const Sprite &sprite, const BBox &box, DragHandler *handler, int flags=0) const |
| Drag a sprite within the window the pointer is in the desktop. More...
|
|
void | drag_sprite (const Sprite &sprite, const BBox &box, const BBox &bounds, DragHandler *handler, int flags=0) const |
| Drag a sprite within the specified bounds. More...
|
|
| ShowFullObject () |
| Constructor with no reference to a Toolbox object. More...
|
|
| ShowFullObject (ObjectId handle) |
| Construct from a Toolbox object id. More...
|
|
| ShowFullObject (const Object &other) |
| Construct as reference to another Toolbox object. More...
|
|
| ShowFullObject (const std::string &template_name) |
| Create a Toolbox object and make this object a reference to it. More...
|
|
| ShowFullObject (const res::ResObject &object_template) |
| Create Toolbox object from a memory template and make this object a reference to it. More...
|
|
void | show (const ShowFullSpec &full_spec) |
| Show object with full position specified.
|
|
void | show (const ShowFullSpec &full_spec, const Object &parent) |
| Show object with full position specified.
|
|
void | show (const ShowFullSpec &full_spec, const Component &parent) |
| Show object with full position specified.
|
|
void | show (const Object &parent) |
| Show object with given parent object.
|
|
void | show (const Component &parent) |
| Show object with given parent component.
|
|
void | show (const Point &pos) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Object &parent) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Component &parent) |
| Show object with top left at the given position.
|
|
void | show_as_menu () |
| Show object as a menu at default position.
|
|
void | show_as_menu (const Object &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Component &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Point &pos) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Object &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Component &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_submenu (const MenuItem &parent) |
| Show object as a sub menu from the given menu item.
|
|
void | show_as_submenu (const Point &pos, const MenuItem &parent) |
| Show object as a sub menu at the given point from the given menu item.
|
|
| ShowPointObject () |
| Constructor with no reference to a Toolbox object. More...
|
|
| ShowPointObject (ObjectId handle) |
| Construct from a Toolbox object id. More...
|
|
| ShowPointObject (const Object &other) |
| Construct as reference to another Toolbox object. More...
|
|
| ShowPointObject (const std::string &template_name) |
| Create a Toolbox object and make this object a reference to it. More...
|
|
| ShowPointObject (const res::ResObject &object_template) |
| Create Toolbox object from a memory template and make this object a reference to it. More...
|
|
void | show (const Object &parent) |
| Show object with given parent object.
|
|
void | show (const Component &parent) |
| Show object with given parent component.
|
|
void | show (const Point &pos) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Object &parent) |
| Show object with top left at the given position.
|
|
void | show (const Point &pos, const Component &parent) |
| Show object with top left at the given position.
|
|
void | show_as_menu () |
| Show object as a menu at default position.
|
|
void | show_as_menu (const Object &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Component &parent) |
| Show object as a menu with the given parent.
|
|
void | show_as_menu (const Point &pos) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Object &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_menu (const Point &pos, const Component &parent) |
| Show object as a menu at the given point with the given parent.
|
|
void | show_as_submenu (const MenuItem &parent) |
| Show object as a sub menu from the given menu item.
|
|
void | show_as_submenu (const Point &pos, const MenuItem &parent) |
| Show object as a sub menu at the given point from the given menu item.
|
|
void | show () |
| Show the object at the default place. More...
|
|
| Object () |
| Constructs an object unattached to a toolbox object. More...
|
|
| Object (ObjectId handle) |
| Construct an object referencing the given toolbox object. More...
|
|
| Object (const Object &other) |
| Construct an object referencing the same toolbox object as another.
|
|
| Object (const std::string &template_name) |
| Create a toolbox object with the given name in the application resources and assign a reference to it in this object. More...
|
|
void | delete_object () |
| Delete the underlying toolbox object. More...
|
|
bool | null () const |
| Check if object has been initialised. More...
|
|
ObjectId | handle () const |
| Return the underlying toolbox object id this object references. More...
|
|
Object & | operator= (const Object &other) |
| Assign this object to reference the same toolbox object as another. More...
|
|
bool | operator== (const Object &other) const |
| Check if this object references the same toolbox object as another. More...
|
|
bool | operator!= (const Object &other) const |
| Check if this object does not reference the same toolbox object as another. More...
|
|
| operator bool () const |
| Operator to check if an object has been initialised. More...
|
|
int | toolbox_class () const |
| Get the toolbox class of this object. More...
|
|
void | check_toolbox_class (int class_id) const |
| Check if this objects toolbox class is as specified. More...
|
|
void * | client_handle () const |
| Return user defined handle stored against this object. More...
|
|
void | client_handle (void *client_handle) |
| Set a user defined handle for this object. More...
|
|
Object | parent_object () const |
| Get parent object. More...
|
|
Component | parent_component () const |
| Get parent component. More...
|
|
Object | ancestor_object () const |
| Get ancestor object. More...
|
|
Component | ancestor_component () const |
| Get ancestor component. More...
|
|
void | show () |
| Show the object at the default place. More...
|
|
void | show_centred () |
| Show the object in the centre of the screen. More...
|
|
void | show_at_pointer () |
| Show the object at the current mouse position. More...
|
|
void | hide () |
| Hide the object. More...
|
|
bool | showing () const |
| Check if an object is currently showing.
|
|
void | add_command (int command_id, Command *command) |
| Add a command to this Object. More...
|
|
void | remove_command (int command_id, Command *command) |
| Remove a command from this object. More...
|
|
void | add_user_event_listener (int event_id, UserEventListener *listener) |
| Add a user event listener. More...
|
|
void | remove_user_event_listener (int event_id, UserEventListener *listener) |
| Remove a user event listener from this object. More...
|
|
void | add_object_deleted_listener (ObjectDeletedListener *listener) |
| Add listener for when the toolbox object referenced by this object has been deleted. More...
|
|
void | remove_object_deleted_listener (ObjectDeletedListener *listener) |
| Remove listener for when the toolbox object referenced by this object has been deleted. More...
|
|
void | remove_all_listeners () |
| Remove all listeners and commands from this object. More...
|
|