fix uppercase has no effect if set after settext

This commit is contained in:
Chris Danford
2008-07-05 02:08:17 +00:00
parent 310c83d066
commit 30cbd33146
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -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 )
+1 -1
View File
@@ -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; }