25 #ifndef TBX_RES_RESLABELLEDBOX_H 26 #define TBX_RES_RESLABELLEDBOX_H 28 #include "resgadget.h" 40 enum {TYPE_ID = 256 };
124 #endif // TBX_RES_RESLABELLEDBOX_H A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
Base class for gadget memory resources.
Definition: resgadget.h:42
void label(const char *value)
Set the text displayed in the labelled box.
Definition: reslabelledbox.h:111
ResLabelledBox()
Construct a labelled box gadget resource.
Definition: reslabelledbox.h:93
Classes to use/edit toolbox resources in memory.
const char * label() const
Get the text displayed in the labelled box.
Definition: reslabelledbox.h:105
ResLabelledBox & operator=(const ResGadget &other)
Assign from a ResGadget.
Definition: reslabelledbox.h:70
ResLabelledBox & operator=(const ResLabelledBox &other)
Assign from another labelled box gadget resource.
Definition: reslabelledbox.h:82
ResLabelledBox(const ResLabelledBox &other)
Construct an labelled box gadget resource.
Definition: reslabelledbox.h:58
const char * message(int offset) const
Get the message string at the given offset.
Definition: resbase.cc:1602
ResBase & operator=(const ResBase &other)
Assignment.
Definition: resbase.cc:1534
ResLabelledBox(const ResGadget &other)
Construct an labelled box gadget resource.
Definition: reslabelledbox.h:48
bool back() const
Check if gadget is at the back (created first)
Definition: resgadget.h:119
Class for LabelledBox gadget template.
Definition: reslabelledbox.h:36
void label(const std::string &value)
Set the text displayed in the labelled box.
Definition: reslabelledbox.h:117
void check_type(int type) const
Check if this gadgets type is as specified.
Definition: reswindow.cc:97
void init_message(int offset, const char *value)
Initialise a message in a constructor helper.
Definition: resbase.cc:1736