GG
Public Member Functions | Public Attributes

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 245 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 255 of file Font.h.

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

Definition at line 258 of file Font.h.

True iff this is a close-tag.

Definition at line 261 of file Font.h.


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