stmm-games-doc  0.32.0
Public Member Functions | Protected Member Functions | List of all members
stmg::ImmutableThWidgetImpl< TW > Class Template Reference
Inheritance diagram for stmg::ImmutableThWidgetImpl< TW >:
Inheritance graph
[legend]

Public Member Functions

 ImmutableThWidgetImpl (TW *p0TW) noexcept
 
void reInit (double fTileWHRatio) noexcept
 
NSize getSize () const noexcept
 
NPoint getPos () const noexcept
 
void setPos (int32_t nPixX, int32_t nPixY) noexcept
 
void draw (const Cairo::RefPtr< Cairo::Context > &refCc) noexcept
 
void onAssignedToLayout () noexcept
 
void sizeAndConfig (int32_t nTileW, int32_t nLayoutConfig) noexcept
 
void placeAndMaybeResizeIn (const NRect &oRect) noexcept
 
double getTileWHRatio () const noexcept
 
int32_t getTileW () const noexcept
 
int32_t getLayoutConfig () const noexcept
 
int32_t getPixX () const noexcept
 
int32_t getPixY () const noexcept
 
int32_t getPixW () const noexcept
 
int32_t getPixH () const noexcept
 

Protected Member Functions

void setSize (int32_t nPixW, int32_t nPixH) noexcept
 
TW * getTW () noexcept
 

Constructor & Destructor Documentation

◆ ImmutableThWidgetImpl()

template<class TW>
stmg::ImmutableThWidgetImpl< TW >::ImmutableThWidgetImpl ( TW *  p0TW)
explicitnoexcept

Member Function Documentation

◆ draw()

template<class TW>
void stmg::ImmutableThWidgetImpl< TW >::draw ( const Cairo::RefPtr< Cairo::Context > &  refCc)
noexcept

◆ getLayoutConfig()

template<class TW>
int32_t stmg::ImmutableThWidgetImpl< TW >::getLayoutConfig ( ) const
inlinenoexcept

◆ getPixH()

template<class TW>
int32_t stmg::ImmutableThWidgetImpl< TW >::getPixH ( ) const
inlinenoexcept

◆ getPixW()

template<class TW>
int32_t stmg::ImmutableThWidgetImpl< TW >::getPixW ( ) const
inlinenoexcept

◆ getPixX()

template<class TW>
int32_t stmg::ImmutableThWidgetImpl< TW >::getPixX ( ) const
inlinenoexcept

◆ getPixY()

template<class TW>
int32_t stmg::ImmutableThWidgetImpl< TW >::getPixY ( ) const
inlinenoexcept

◆ getPos()

template<class TW >
NPoint stmg::ImmutableThWidgetImpl< TW >::getPos ( ) const
noexcept

◆ getSize()

template<class TW >
NSize stmg::ImmutableThWidgetImpl< TW >::getSize ( ) const
noexcept

◆ getTileW()

template<class TW>
int32_t stmg::ImmutableThWidgetImpl< TW >::getTileW ( ) const
inlinenoexcept

◆ getTileWHRatio()

template<class TW>
double stmg::ImmutableThWidgetImpl< TW >::getTileWHRatio ( ) const
inlinenoexcept

◆ getTW()

template<class TW>
TW* stmg::ImmutableThWidgetImpl< TW >::getTW ( )
inlineprotectednoexcept

◆ onAssignedToLayout()

template<class TW >
void stmg::ImmutableThWidgetImpl< TW >::onAssignedToLayout ( )
noexcept

◆ placeAndMaybeResizeIn()

template<class TW >
void stmg::ImmutableThWidgetImpl< TW >::placeAndMaybeResizeIn ( const NRect oRect)
noexcept

◆ reInit()

template<class TW >
void stmg::ImmutableThWidgetImpl< TW >::reInit ( double  fTileWHRatio)
noexcept

◆ setPos()

template<class TW >
void stmg::ImmutableThWidgetImpl< TW >::setPos ( int32_t  nPixX,
int32_t  nPixY 
)
noexcept

◆ setSize()

template<class TW >
void stmg::ImmutableThWidgetImpl< TW >::setSize ( int32_t  nPixW,
int32_t  nPixH 
)
protectednoexcept

◆ sizeAndConfig()

template<class TW >
void stmg::ImmutableThWidgetImpl< TW >::sizeAndConfig ( int32_t  nTileW,
int32_t  nLayoutConfig 
)
noexcept