32 #ifndef TBX_FONTMENU_H_ 33 #define TBX_FONTMENU_H_ 35 #include "showpointobject.h" 37 #include "eventinfo.h" 43 class AboutToBeShownListener;
44 class HasBeenHiddenListener;
45 class FontMenuSelectionListener;
59 enum { TOOLBOX_CLASS = 0x82a40 };
94 FontMenu(
const std::string &template_name) :
ShowPointObject(template_name) {check_toolbox_class(FontMenu::TOOLBOX_CLASS);}
148 void font(std::string value) {string_property(0, value);}
158 std::string
font()
const {
return string_property(1);}
193 std::string
font()
const {
return reinterpret_cast<const char *
>(_data.word[4]);}
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
Listener for about to be shown event.
Definition: abouttobeshownlistener.h:76
Structure holding the raw data from a call to Wimp_Poll.
Definition: pollinfo.h:71
Classes to use/edit toolbox resources in memory.
Class to provide information on a toolbox event.
Definition: eventinfo.h:48
Base class for all toolbox event listeners.
Definition: listener.h:33
Object that can be shown at a specific position as well as its default place.
Definition: showpointobject.h:42
Listener for an object has been hidden event.
Definition: hasbeenhiddenlistener.h:36
Information passed back by the Toolbox with each toolbox event providing information on where the eve...
Definition: pollinfo.h:41
Class to manipulate a toolbox object.
Definition: object.h:50
ObjectId handle() const
Return the underlying toolbox object id this object references.
Definition: object.h:93