GL Studio SCECpp Runtime Library
Public Attributes | List of all members
GlsText::CharAttribute Struct Reference

#include <gls_text.h>

Public Attributes

GlsFloat32 baselineShift
 
GlsColor bgColor
 
GlsColor fgColor
 
GlsBool fauxBold
 
GlsBool inverse
 
GlsFloat32 scale
 
GlsFloat32 spacing
 
GlsBool strikeThru
 
GlsBool underline
 

Detailed Description

Attributes for a character in the text display

Member Data Documentation

GlsFloat32 GlsText::CharAttribute::baselineShift

amount of cell height to baseline shift, -1.0f <= baselineShift <= 1.0f

GlsColor GlsText::CharAttribute::bgColor

background color

GlsBool GlsText::CharAttribute::fauxBold

GLS_TRUE if bold is enabled GLS_FALSE

GlsColor GlsText::CharAttribute::fgColor

text color

GlsBool GlsText::CharAttribute::inverse

GLS_TRUE if inverse video enabled else GLS_FALSE

GlsFloat32 GlsText::CharAttribute::scale

scale for character cell, 0.0f < scale <= 1.0f

GlsFloat32 GlsText::CharAttribute::spacing

amount of character width to space the char, spacing >= 0.0f

GlsBool GlsText::CharAttribute::strikeThru

GLS_TRUE if strike thru is enabled else GLS_FALSE

GlsBool GlsText::CharAttribute::underline

GLS_TRUE if underline is enabled