The Gnome Chemistry Utils 0.13.3
Public Member Functions
gccv::ForegroundTextTag Class Reference

Foreground color. More...

#include <text-tag.h>

Inheritance diagram for gccv::ForegroundTextTag:
gccv::TextTag

List of all members.

Public Member Functions

 ForegroundTextTag (GOColor color)
virtual ~ForegroundTextTag ()
void Filter (PangoAttrList *l, unsigned start, unsigned end)
bool operator== (TextTag const &tag) const
TextTagDuplicate () const
GOColor GetColor () const

Detailed Description

Foreground color.

TextTag class for text color.

Definition at line 717 of file text-tag.h.


Constructor & Destructor Documentation

gccv::ForegroundTextTag::ForegroundTextTag ( GOColor  color)
Parameters:
colorthe text color.

Constructs a ForegroundTextTag with color as text color.

virtual gccv::ForegroundTextTag::~ForegroundTextTag ( ) [virtual]

The destructor.


Member Function Documentation

TextTag* gccv::ForegroundTextTag::Duplicate ( ) const [virtual]

Creates a copy of the ForegroundTextTag with the same text color.

Returns:
the new TextTag.

Implements gccv::TextTag.

void gccv::ForegroundTextTag::Filter ( PangoAttrList *  l,
unsigned  start,
unsigned  end 
) [virtual]
Parameters:
la PangoAttrList.
startthe start index of the relevant text.
endthe end index of the relevant text.

Filter method for the ForegroundTextTag class.

Implements gccv::TextTag.

GOColor gccv::ForegroundTextTag::GetColor ( void  ) const [inline]
Returns:
the text color.

Definition at line 755 of file text-tag.h.

bool gccv::ForegroundTextTag::operator== ( TextTag const &  tag) const [virtual]
Parameters:
taga TextTag.

Equality operator.

Returns:
true if tag is a ForegroundTextTag and has the same text color than this.

Implements gccv::TextTag.


The documentation for this class was generated from the following file: