Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
ConfigTextBox_t Struct Reference

Configuration information for a TextBox object. More...

#include <TextBox_Definitions.h>

Public Attributes

uint16_t x
 UL x-position of TextBox in the Canvas.
 
uint16_t y
 UL y-position of TextBox in the Canvas.
 
uint16_t textWidth
 Width in pixels of the DynamicText holding the main text.
 
Shape_tshape
 Geometric configuration information.
 
GrFontTextFont
 Font object used to render the primary text.
 
GrFontUnitsFont
 Font object used to render units text.
 

Detailed Description

Configuration information for a TextBox object.

Member Data Documentation

◆ shape

Shape_t* ConfigTextBox_t::shape

Geometric configuration information.

The information in this structure define certain geometric characteristics of TextBox. These characteristics depend upon the fonts being used. So, the shape information provided must be appropriate for the selected TextFont and UnitsFont.

◆ TextFont

GrFont* ConfigTextBox_t::TextFont

Font object used to render the primary text.

◆ textWidth

uint16_t ConfigTextBox_t::textWidth

Width in pixels of the DynamicText holding the main text.

◆ UnitsFont

GrFont* ConfigTextBox_t::UnitsFont

Font object used to render units text.

◆ x

uint16_t ConfigTextBox_t::x

UL x-position of TextBox in the Canvas.

◆ y

uint16_t ConfigTextBox_t::y

UL y-position of TextBox in the Canvas.


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