|
GG
|
#include <Font.h>
Public Member Functions | |
| FormattingTag (bool close) | |
| virtual TextElementType | Type () const |
Public Member Functions inherited from GG::Font::TextElement | |
| TextElement (bool ws, bool nl) | |
| virtual | ~TextElement () |
| X | Width () const |
| CPSize | CodePointSize () const |
Public Attributes | |
| std::vector< Substring > | params |
| Substring | tag_name |
| const bool | close_tag |
Public Attributes inherited from GG::Font::TextElement | |
| Substring | text |
| std::vector< X > | widths |
| const bool | whitespace |
| const bool | newline |
Additional Inherited Members | |
Public Types inherited from GG::Font::TextElement | |
| enum | TextElementType { OPEN_TAG, CLOSE_TAG, TEXT, WHITESPACE, NEWLINE } |
The type of TextElement that represents a text formatting tag.
| GG::Font::FormattingTag::FormattingTag | ( | bool | close | ) |
Ctor. close indicates that the tag is a close-tag (e.g. "</rgba>").
|
virtual |
Returns the TextElementType of the element.
Reimplemented from GG::Font::TextElement.
| std::vector<Substring> GG::Font::FormattingTag::params |
| Substring GG::Font::FormattingTag::tag_name |
| const bool GG::Font::FormattingTag::close_tag |
1.8.3