The Gnome Chemistry Utils  0.14.15
Public Member Functions | List of all members
gccv::BackgroundTextTag Class Reference

Background color. More...

#include <text-tag.h>

Inheritance diagram for gccv::BackgroundTextTag:
gccv::TextTag

Public Member Functions

 BackgroundTextTag (GOColor color)
 
virtual ~BackgroundTextTag ()
 
void Filter (PangoAttrList *l, unsigned start, unsigned end)
 
bool operator== (TextTag const &tag) const
 
TextTagDuplicate () const
 
GOColor GetColor () const
 
- Public Member Functions inherited from gccv::TextTag
 TextTag (Tag tag, TagPriority priority=TagPriorityFirst)
 
virtual ~TextTag ()
 
virtual bool NeedsNewRun ()
 
virtual TextTagRestrict (TextTag *tag)
 
Tag GetTag (void) const
 
TagPriority GetPriority (void) const
 
void SetStartIndex (unsigned val)
 
unsigned GetStartIndex (void) const
 
unsigned & GetRefStartIndex (void)
 
void SetEndIndex (unsigned val)
 
unsigned GetEndIndex (void) const
 
unsigned & GetRefEndIndex (void)
 
bool GetStacked (void)
 
bool GetNewLine (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from gccv::TextTag
static Tag RegisterTagType ()
 
static bool Order (TextTag *first, TextTag *last)
 
- Static Public Attributes inherited from gccv::TextTag
static Tag MaxTag
 
- Protected Attributes inherited from gccv::TextTag
bool m_Stacked
 
bool m_NewLine
 

Detailed Description

Background color.

TextTag class for background color.

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

Constructor & Destructor Documentation

§ BackgroundTextTag()

gccv::BackgroundTextTag::BackgroundTextTag ( GOColor  color)
Parameters
colorthe background color.

Constructs a BackgroundTextTag with color as background color.

§ ~BackgroundTextTag()

virtual gccv::BackgroundTextTag::~BackgroundTextTag ( )
virtual

The destructor.

Member Function Documentation

§ Duplicate()

TextTag* gccv::BackgroundTextTag::Duplicate ( ) const
virtual

Creates a copy of the BackgroundTextTag with the same background color.

Returns
the new TextTag.

Implements gccv::TextTag.

§ Filter()

void gccv::BackgroundTextTag::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 BackgroundTextTag class.

Implements gccv::TextTag.

§ GetColor()

GOColor gccv::BackgroundTextTag::GetColor ( void  ) const
inline
Returns
the background color.

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

§ operator==()

bool gccv::BackgroundTextTag::operator== ( TextTag const &  tag) const
virtual
Parameters
taga TextTag.

Equality operator.

Returns
true if tag is a BackgroundTextTag and has the same background color than this.

Implements gccv::TextTag.


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