CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
NameLayout Struct Reference

Two-line text layout produced by splitting a string to fit a slot width. More...

#include <cardRenderer.h>

Collaboration diagram for NameLayout:

Public Attributes

std::string firstName
 
std::optional< std::string > secondName
 

Detailed Description

Two-line text layout produced by splitting a string to fit a slot width.

The second line is present only when the input text does not fit on one line.

Member Data Documentation

◆ firstName

std::string NameLayout::firstName

◆ secondName

std::optional<std::string> NameLayout::secondName

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