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


Constructor & Destructor Documentation

GG::Font::RenderState::RenderState (  ) 

Default ctor.


Member Data Documentation

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

Definition at line 340 of file Font.h.

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

Definition at line 343 of file Font.h.

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

Definition at line 346 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