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 )