Inheritance diagram for StyledRegion:
These mappings are stored in HRD files and processed by StyledHRDMapper class.
Public Member Functions | |
StyledRegion (bool _bfore, bool _bback, unsigned int _fore, unsigned int _back, unsigned int _style) | |
Common constructor. | |
StyledRegion () | |
Empty constructor. | |
StyledRegion (const StyledRegion &rd) | |
Copy constructor. | |
void | assignParent (const RegionDefine *_parent) |
Completes region define with it's parent values. | |
void | setValues (const RegionDefine *_rd) |
RegionDefine * | clone () const |
Static Public Member Functions | |
static const StyledRegion * | cast (const RegionDefine *rd) |
Static method, used to cast RegionDefine class into StyledRegion class. | |
Data Fields | |
bool | bfore |
Is foreground value assigned? | |
bool | bback |
Is background value assigned? | |
unsigned int | fore |
Foreground color of region. | |
unsigned int | back |
Background color of region. | |
unsigned int | style |
Bit mask of region's style (bold, italic, underline). | |
Static Public Attributes | |
static const int | RD_BOLD = 1 |
static const int | RD_ITALIC = 2 |
static const int | RD_UNDERLINE = 4 |
static const int | RD_STRIKEOUT = 8 |
|
Copy constructor. Clones all values including region reference. |
|
Static method, used to cast RegionDefine class into StyledRegion class.
|
|
Completes region define with it's parent values. The values only replaced, are these, which are empty in this region define. Style is replaced using OR operation. Implements RegionDefine. |