fix uppercase has no effect if set after settext
This commit is contained in:
@@ -464,6 +464,12 @@ void BitmapText::SetMaxHeight( float fMaxHeight )
|
||||
UpdateBaseZoom();
|
||||
}
|
||||
|
||||
void BitmapText::SetUppercase( bool b )
|
||||
{
|
||||
m_bUppercase = b;
|
||||
BuildChars();
|
||||
}
|
||||
|
||||
void BitmapText::UpdateBaseZoom()
|
||||
{
|
||||
if( m_fMaxWidth == 0 )
|
||||
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
virtual bool EarlyAbortDraw() const;
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
void SetUppercase( bool b ) { m_bUppercase = b; }
|
||||
void SetUppercase( bool b );
|
||||
void SetRainbowScroll( bool b ) { m_bRainbowScroll = b; }
|
||||
void SetJitter( bool b ) { m_bJitter = b; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user