stmm-games-doc  0.32.0
List of all members
stmg::ActionWidget::Init Struct Reference
Inheritance diagram for stmg::ActionWidget::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 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::ActionWidget::LocalInit
ACTION_TYPE m_eActionType = ACTION_KEY_ACTION
 
int32_t m_nActionId = -1
 Depending on m_eActionType, the valid key action id, GameProxy::INTERRUPT_TYPE value or event's message (must be >= -1). More...
 
int32_t m_nValue = 0
 Only used if m_eActionType is ACTION_EVENT_MSG. More...
 
std::string m_sActionName
 If m_eActionType is ACTION_EVENT_MSG the non empty event id. More...
 
int32_t m_nImgId = -1
 The id of the shown image (icon) or -1 if not defined. More...
 
std::string m_sText
 The shown text. More...
 
double m_fTextSize = - 1.0
 The font height in tile heights. More...