Mana
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
LayoutContext Struct Reference

Public Member Functions

 LayoutContext (gcn::Font *font, const Palette &palette)
 
LinePart linePart (int x, std::string text)
 

Public Attributes

int y = 0
 
gcn::Font * font
 
const int fontHeight
 
const int minusWidth
 
const int tildeWidth
 
int lineHeight
 
const gcn::Color textColor
 
const std::optional< gcn::Color > textOutlineColor
 
gcn::Color color
 
std::optional< gcn::Color > outlineColor
 

Detailed Description

Definition at line 76 of file browserbox.cpp.

Constructor & Destructor Documentation

◆ LayoutContext()

LayoutContext::LayoutContext ( gcn::Font *  font,
const Palette palette 
)
inline

Definition at line 94 of file browserbox.cpp.

Member Function Documentation

◆ linePart()

LinePart LayoutContext::linePart ( int  x,
std::string  text 
)
inline

Definition at line 109 of file browserbox.cpp.

Member Data Documentation

◆ color

gcn::Color LayoutContext::color

Definition at line 90 of file browserbox.cpp.

◆ font

gcn::Font* LayoutContext::font

Definition at line 83 of file browserbox.cpp.

◆ fontHeight

const int LayoutContext::fontHeight

Definition at line 84 of file browserbox.cpp.

◆ lineHeight

int LayoutContext::lineHeight

Definition at line 87 of file browserbox.cpp.

◆ minusWidth

const int LayoutContext::minusWidth

Definition at line 85 of file browserbox.cpp.

◆ outlineColor

std::optional<gcn::Color> LayoutContext::outlineColor

Definition at line 91 of file browserbox.cpp.

◆ textColor

const gcn::Color LayoutContext::textColor

Definition at line 88 of file browserbox.cpp.

◆ textOutlineColor

const std::optional<gcn::Color> LayoutContext::textOutlineColor

Definition at line 89 of file browserbox.cpp.

◆ tildeWidth

const int LayoutContext::tildeWidth

Definition at line 86 of file browserbox.cpp.

◆ y

int LayoutContext::y = 0

Definition at line 82 of file browserbox.cpp.


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