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
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
bool back() const
Check if gadget is at the back (created first)
Definition: resgadget.h:119
ResLabelledBox()
Construct a labelled box gadget resource.
Definition: reslabelledbox.h:93
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
const char * message(int offset) const
Get the message string at the given offset.
Definition: resbase.cc:1602
ResLabelledBox(const ResLabelledBox &other)
Construct an labelled box gadget resource.
Definition: reslabelledbox.h:58
ResBase & operator=(const ResBase &other)
Assignment.
Definition: resbase.cc:1534
ResLabelledBox(const ResGadget &other)
Construct an labelled box gadget resource.
Definition: reslabelledbox.h:48
void check_type(int type) const
Check if this gadgets type is as specified.
Definition: reswindow.cc:97
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
const char * label() const
Get the text displayed in the labelled box.
Definition: reslabelledbox.h:105
void init_message(int offset, const char *value)
Initialise a message in a constructor helper.
Definition: resbase.cc:1736