The Gnome Chemistry Utils 0.13.3
|
Foreground color. More...
#include <text-tag.h>
Public Member Functions | |
ForegroundTextTag (GOColor color) | |
virtual | ~ForegroundTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
GOColor | GetColor () const |
gccv::ForegroundTextTag::ForegroundTextTag | ( | GOColor | color | ) |
color | the text color. |
Constructs a ForegroundTextTag with color as text color.
virtual gccv::ForegroundTextTag::~ForegroundTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::ForegroundTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the ForegroundTextTag with the same text color.
Implements gccv::TextTag.
void gccv::ForegroundTextTag::Filter | ( | PangoAttrList * | l, |
unsigned | start, | ||
unsigned | end | ||
) | [virtual] |
l | a PangoAttrList. |
start | the start index of the relevant text. |
end | the end index of the relevant text. |
Filter method for the ForegroundTextTag class.
Implements gccv::TextTag.
GOColor gccv::ForegroundTextTag::GetColor | ( | void | ) | const [inline] |
Definition at line 755 of file text-tag.h.
bool gccv::ForegroundTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Equality operator.
Implements gccv::TextTag.