wxStatusBarBase::wxStatusBarBase() { m_nFields = 0; InitWidths(); InitStacks(); InitStyles(); }
void scCachedStyle::Init( TypeSpec& ts ) { if ( ts.ptr() ) { TSGetStyle( ts, *this ); SetSpec( ts ); fTimeStamp = ++scCachedStyle::fCacheTime; fPtConv = (REAL)GetGlyphHeight() / scBaseRLUsystem; fSetConv = (REAL)GetGlyphWidth() / scBaseRLUsystem; InitWidths(); ComputeExtentsnCursor(); } else { TypeSpec nullSpec; SetSpec( nullSpec ); fPtConv = 0; fSetConv = 0; InitWidths(); fTimeStamp = 0; } }
void scCachedStyle::InitFlowdir( const scFlowDir& fd ) { fFlowDir = fd; InitWidths(); ComputeExtentsnCursor(); }