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