25 #ifndef TBX_RES_RESCOLOURMENU_H
26 #define TBX_RES_RESCOLOURMENU_H
28 #include "resobject.h"
40 enum {CLASS_ID = 0x82980 };
199 #endif // TBX_RES_RESCOLOURMENU_H
void message_with_length(int offset, const char *value, int length=-1)
Assign a message where the length is at offset+4.
Definition: resbase.cc:1639
ResBase & operator=(const ResBase &other)
Assignment.
Definition: resbase.cc:1534
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
Base class for a resource object that can be edited.
Definition: resobject.h:53
int int_value(int offset) const
Get an integer value.
Definition: resbase.h:316
void init_message(int offset, const char *value)
Initialise a message in a constructor helper.
Definition: resbase.cc:1736
void check_class_id(int class_id) const
Check if this objects class id is as specified.
Definition: resobject.cc:383
bool flag(int offset, int mask) const
Check if any of the bits in a mask are set.
Definition: resbase.h:352
const char * name() const
Return pointer to name of object.
Definition: resobject.h:79
const char * message(int offset) const
Get the message string at the given offset.
Definition: resbase.cc:1602