25 #ifndef TBX_VALUECHANGEDLISTENER_H_
26 #define TBX_VALUECHANGEDLISTENER_H_
29 #include "eventinfo.h"
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
const IdBlock & id_block() const
IdBlock for the current event.
Definition: eventinfo.h:71
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
ValueChangedEvent(IdBlock &id_block, PollBlock &data)
Construct the event from Toolbox and WIMP event data.
Definition: valuechangedlistener.h:47
Event details for a change of an integer value in a gadget.
Definition: valuechangedlistener.h:39
Information passed back by the Toolbox with each toolbox event providing information on where the eve...
Definition: pollinfo.h:42
virtual void value_changed(ValueChangedEvent &event)=0
The value has been changed.
Base class for all toolbox event listeners.
Definition: listener.h:34
Listener for value changed events.
Definition: valuechangedlistener.h:62
int word[64]
Array containing information return from Wimp_Poll.
Definition: pollinfo.h:76
int value() const
Get the value of the gadget that delivered the event.
Definition: valuechangedlistener.h:55
Class to provide information on a toolbox event.
Definition: eventinfo.h:49