GG::Font::FormattingTag Struct Reference

The type of TextElement that represents a text formatting tag. More...

#include <Font.h>

Inheritance diagram for GG::Font::FormattingTag:

GG::Font::TextElement

List of all members.

Public Member Functions

 FormattingTag (bool close)
virtual TextElementType Type () const

Public Attributes

std::vector< Substringparams
Substring tag_name
const bool close_tag


Detailed Description

The type of TextElement that represents a text formatting tag.

Definition at line 243 of file Font.h.


Constructor & Destructor Documentation

GG::Font::FormattingTag::FormattingTag ( bool  close  ) 

Ctor. close indicates that the tag is a close-tag (e.g. "</rgba>").


Member Function Documentation

virtual TextElementType GG::Font::FormattingTag::Type (  )  const [virtual]

Returns the TextElementType of the element.

Reimplemented from GG::Font::TextElement.


Member Data Documentation

The parameter strings within the tag, e.g. "0", "0", "0", and "255" for the tag "<rgba 0 0 0 255>".

Definition at line 253 of file Font.h.

The name of the tag (e.g. for the tag "<i>", tag_name is "i").

Definition at line 256 of file Font.h.

True iff this is a close-tag.

Definition at line 259 of file Font.h.


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

Generated on Sat Mar 26 07:08:38 2011 for GG by  doxygen 1.5.9