25 #ifndef TBX_RES_RESTABS_H
26 #define TBX_RES_RESTABS_H
28 #include "tbx/res/resgadget.h"
41 enum {TYPE_ID = 0x402c };
158 #endif // TBX_RES_RESTABS_H
ResBase & operator=(const ResBase &other)
Assignment.
Definition: resbase.cc:1534
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
ResTabs(const tbx::res::ResGadget &other)
Construct a Tabs gadget resource.
Definition: restabs.h:49
ResTabs & operator=(const ResTabs &other)
Assign from another Tabs gadget resource.
Definition: restabs.h:83
void nested_windows(const char *value)
Set the names of the windows nested in the tabs gagdet.
Definition: restabs.h:126
Base class for gadget memory resources.
Definition: resgadget.h:43
int int_value(int offset) const
Get an integer value.
Definition: resbase.h:316
unsigned int flags() const
Get all flags as a word raw access.
Definition: resgadget.h:102
Class for Tabs gadget template.
Definition: restabs.h:38
ResGadget(const ResGadget &other)
Construct a resource gadget as a copy of another.
Definition: resgadget.h:59
void foreground(int value)
Set foreground/text colour for the Tabs.
Definition: restabs.h:138
void init_message(int offset, const char *value)
Initialise a message in a constructor helper.
Definition: resbase.cc:1736
bool flag(int offset, int mask) const
Check if any of the bits in a mask are set.
Definition: resbase.h:352
ResTabs & operator=(const tbx::res::ResGadget &other)
Assign from a ResGadget.
Definition: restabs.h:71
ResTabs(const ResTabs &other)
Construct a Tabs gadget resource.
Definition: restabs.h:59
void allow_scroll_arrows(bool value)
Set if Tabs allows scroll arrows.
Definition: restabs.h:114
ResTabs()
Construct a Tabs gadget resource.
Definition: restabs.h:94
const char * nested_windows() const
Get the names of the windows nested in the tabs gagdet.
Definition: restabs.h:120
int foreground() const
Get foreground/text colour for the Tabs.
Definition: restabs.h:132
bool allow_scroll_arrows() const
Check if Tabs allows scroll arrows.
Definition: restabs.h:108
void background(int value)
Set background colour for the Tabs.
Definition: restabs.h:150
void check_type(int type) const
Check if this gadgets type is as specified.
Definition: reswindow.cc:97
int background() const
Get background colour for the Tabs.
Definition: restabs.h:144
const char * message(int offset) const
Get the message string at the given offset.
Definition: resbase.cc:1602