25 #ifndef OPENWINDOWLISTENER_H_
26 #define OPENWINDOWLISTENER_H_
31 #include "eventinfo.h"
Object self_object() const
Get the object the event occured on.
Definition: eventrouter.cc:1615
int x
Definition: point.h:59
PollBlock & _data
raw data from the event
Definition: eventinfo.h:53
Class to represent a two dimensional bounding box.
Definition: bbox.h:37
Structure holding the raw data from a call to Wimp_Poll.
Definition: pollinfo.h:71
const BBox & visible_area() const
Get visible area on screen.
Definition: openwindowlistener.h:64
OpenWindowEvent(IdBlock &id_block, PollBlock &poll_block)
Constructs the event from the information returned by the WIMP.
Definition: openwindowlistener.h:48
int WindowHandle
Type for WIMP windows handle.
Definition: handles.h:35
void behind(WindowHandle h)
Set WIMP Window handle to open behind.
Definition: openwindowlistener.h:89
Point min
Minimum coordinate of the bounding box.
Definition: bbox.h:68
virtual void open_window(OpenWindowEvent &event)=0
virtual function called when the application receives the open window request for the window...
Window window() const
Get Window that generated this event.
Definition: openwindowlistener.h:54
int y
Definition: point.h:60
Class to represent a position in two dimensional space.
Definition: point.h:36
void visible_area(const BBox &area)
Set visible area on screen.
Definition: openwindowlistener.h:69
const Point & scroll() const
Get scroll offsets in work area.
Definition: openwindowlistener.h:74
Point max
Maximum coordinate of the bounding box.
Definition: bbox.h:72
The Window object represents a toolbox window.
Definition: window.h:69
Class to provide information on a toolbox event.
Definition: eventinfo.h:48
Base class for all toolbox event listeners.
Definition: listener.h:33
WindowHandle handle() const
Wimp window handle of window being opened.
Definition: openwindowlistener.h:59
int word[64]
Array containing information return from Wimp_Poll.
Definition: pollinfo.h:76
WindowHandle behind() const
Get WIMP Window handle opened behind.
Definition: openwindowlistener.h:84
void scroll(const Point &offsets)
Set scroll offsets in work area.
Definition: openwindowlistener.h:79
Listener for Wimp Open Window Request events.
Definition: openwindowlistener.h:97
const IdBlock & id_block() const
IdBlock for the current event.
Definition: eventinfo.h:71
Event data for open window request listener.
Definition: openwindowlistener.h:39
Information passed back by the Toolbox with each toolbox event providing information on where the eve...
Definition: pollinfo.h:41