GG: GG::Font::RenderState Struct Reference

GG

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
GG::Font::RenderState Struct Reference

`#include <Font.h>`

## Public Member Functions
| RenderState ()

## Public Attributes
std::size_t | use_italics
std::size_t | draw_underline
std::stack< Clr > | colors

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

## Member Data Documentation

std::size_t GG::Font::RenderState::use_italics

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

Definition at line 317 of file Font.h.

std::size_t GG::Font::RenderState::draw_underline

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

Definition at line 320 of file Font.h.

std::stack<Clr> GG::Font::RenderState::colors

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

Definition at line 323 of file Font.h.

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

- Font.h