#include <text-tag.h>
Public Member Functions | |
BackgroundTextTag (GOColor color) | |
virtual | ~BackgroundTextTag () |
void | Filter (PangoAttrList *l, unsigned start, unsigned end) |
bool | operator== (TextTag const &tag) const |
TextTag * | Duplicate () const |
GOColor | GetColor () const |
TextTag class for background color.
Definition at line 766 of file text-tag.h.
gccv::BackgroundTextTag::BackgroundTextTag | ( | GOColor | color | ) |
color | the background color. |
virtual gccv::BackgroundTextTag::~BackgroundTextTag | ( | ) | [virtual] |
The destructor.
TextTag* gccv::BackgroundTextTag::Duplicate | ( | ) | const [virtual] |
Creates a copy of the BackgroundTextTag with the same background color.
Implements gccv::TextTag.
void gccv::BackgroundTextTag::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. |
Implements gccv::TextTag.
GOColor gccv::BackgroundTextTag::GetColor | ( | void | ) | const [inline] |
bool gccv::BackgroundTextTag::operator== | ( | TextTag const & | tag | ) | const [virtual] |
tag | a TextTag. |
Implements gccv::TextTag.