GG
Public Member Functions | Public Attributes

GG::Font::RenderState Struct Reference

Holds the state of tags during rendering of text. More...

#include <Font.h>

List of all members.

Public Member Functions

 RenderState ()

Public Attributes

std::size_t use_italics
std::size_t draw_underline
std::stack< Clrcolors

Detailed Description

Holds the state of tags during rendering of text.

By keeping track of this state across multiple calls to RenderText(), the user can preserve the functionality of the text formatting tags, if present.

Definition at line 337 of file Font.h.


Member Data Documentation

The count of open <i> tags seen since the last </i> seen.

Definition at line 342 of file Font.h.

The count of open <u> tags seen since the last </u> seen.

Definition at line 345 of file Font.h.

The stack of text colors (as set by previous tags).

Definition at line 348 of file Font.h.


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