stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::PreviewWidget::LocalInit Struct Reference
Inheritance diagram for stmg::PreviewWidget::LocalInit:
Inheritance graph
[legend]

Public Attributes

int32_t m_nPainterIdx = -1
 The index into Named::painters() to draw the tiles (must exists) or -1 if painter named "Block" should be used. More...
 
int32_t m_nMinTilesW = 1
 The minimum number of horizontal tiles. More...
 
int32_t m_nMinTilesH = 1
 The minimum number of vertical tiles. More...
 

Member Data Documentation

◆ m_nMinTilesH

int32_t stmg::PreviewWidget::LocalInit::m_nMinTilesH = 1

The minimum number of vertical tiles.

Default: 1.

◆ m_nMinTilesW

int32_t stmg::PreviewWidget::LocalInit::m_nMinTilesW = 1

The minimum number of horizontal tiles.

Default: 1.

◆ m_nPainterIdx

int32_t stmg::PreviewWidget::LocalInit::m_nPainterIdx = -1

The index into Named::painters() to draw the tiles (must exists) or -1 if painter named "Block" should be used.

If -1 and painter "Block" is not defined, the theme default should be used. Default: -1.