Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::render::ControlsTableStyle Struct Reference

Styles and spacing of a controls table. More...

#include <aegis2d/render/controls_table.hpp>

Public Attributes

TextStyle action
 Style of the action column.
 
TextStyle keys
 Style of the keys column.
 
float column_gap = 24.0F
 Space between the two columns, in logical pixels.
 
float row_gap = 6.0F
 Space between two rows, in logical pixels, added to the line height.
 

Detailed Description

Styles and spacing of a controls table.

Member Data Documentation

◆ action

TextStyle aegis2d::render::ControlsTableStyle::action

Style of the action column.

◆ column_gap

float aegis2d::render::ControlsTableStyle::column_gap = 24.0F

Space between the two columns, in logical pixels.

◆ keys

TextStyle aegis2d::render::ControlsTableStyle::keys

Style of the keys column.

◆ row_gap

float aegis2d::render::ControlsTableStyle::row_gap = 6.0F

Space between two rows, in logical pixels, added to the line height.


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