add SetTextMaxWidth

This commit is contained in:
Glenn Maynard
2003-05-19 23:48:51 +00:00
parent f8dc0b23b9
commit 0acd471db0
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ public:
bool LoadFromNumbers( CString sTexturePath ) { return LoadFromTextureAndChars(sTexturePath,"0123456789%. :x"); };
bool LoadFromTextureAndChars( CString sTexturePath, CString sChars );
void SetText( CString sText, CString sAlternateText = "" );
void SetTextMaxWidth( float MaxWidth, const CString &text, const CString &alttext = "" );
int GetWidestLineWidthInSourcePixels() { return m_iWidestLineWidth; };
void CropToWidth( int iWidthInSourcePixels );