stmm-games-doc  0.32.0
List of all members
stmg::VarWidget::Init Struct Reference
Inheritance diagram for stmg::VarWidget::Init:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from stmg::GameWidget::Init
void setHorizExpand (bool bExpand) noexcept
 
void setVertExpand (bool bExpand) noexcept
 
void setExpand (bool bExpand) noexcept
 
void setHorizAlign (WidgetAxisFit::ALIGN eAlign) noexcept
 
void setVertAlign (WidgetAxisFit::ALIGN eAlign) noexcept
 
void setAlign (WidgetAxisFit::ALIGN eAlign) noexcept
 
- Public Member Functions inherited from stmg::VarWidget::LocalInit
void setTitleAlign (const WidgetAxisFit::ALIGN &eTitleAlign) noexcept
 
void setValueAlign (const WidgetAxisFit::ALIGN &eValueAlign) noexcept
 
- Public Attributes inherited from stmg::GameWidget::Init
std::array< WidgetAxisFit, g_nTotLayoutConfigs > m_aHorizAxisFit = {{WidgetAxisFit(), WidgetAxisFit()}}
 Widget alignment for the x axis for each layout config. More...
 
std::array< WidgetAxisFit, g_nTotLayoutConfigs > m_aVertAxisFit = {{WidgetAxisFit{}, WidgetAxisFit{}}}
 Widget alignment for the y axis. More...
 
int32_t m_nTeam = -1
 The team the widget belongs to. More...
 
int32_t m_nMate = -1
 The mate the widget belongs to. More...
 
int32_t m_nViewWidgetNameIdx = -1
 The name that might be used to select the view (ThemeWidget). More...
 
std::string m_sName
 The name of the widget. More...
 
- Public Attributes inherited from stmg::RelSizedGameWidget::LocalInit
double m_fReferenceWFactor = -1.0
 The width compared to the reference widget's width. More...
 
double m_fReferenceHFactor = -1.0
 The height compared to the reference widget's height. More...
 
double m_fWHRatio = -1.0
 The width to height ratio. More...
 
- Public Attributes inherited from stmg::VarWidget::LocalInit
std::string m_sTitle
 The title that describes the variable. More...
 
int32_t m_nTitleFactorPerc = 30
 The percentage of widget space for the title. More...
 
bool m_bTitleBesideValue = false
 Whether title is left or right of the value or above or below. More...
 
int32_t m_nVarId = -1
 The variable id. More...
 
OwnerType m_eVarOwnerType = OwnerType::GAME
 The variable owner type. More...
 
int32_t m_nVarDigits = 5
 The maximum number of digits of values. More...
 
std::array< WidgetAxisFit::ALIGN, g_nTotLayoutConfigs > m_aTitleAlign = {WidgetAxisFit::ALIGN_FILL, WidgetAxisFit::ALIGN_FILL}
 The alignment of the title for each layout config. More...
 
std::array< WidgetAxisFit::ALIGN, g_nTotLayoutConfigs > m_aValueAlign = {WidgetAxisFit::ALIGN_FILL, WidgetAxisFit::ALIGN_FILL}
 The alignment of the value for each layout config. More...