Modifications for ColorBitmapText: Actually make it possible to accurately limit lines.

This should conclude my heavy modifications, please feel free to edit it now.
This commit is contained in:
Charles Lohr
2005-05-05 20:09:21 +00:00
parent b8bb5890f9
commit 4970c0ce60
3 changed files with 58 additions and 1 deletions
+1 -1
View File
@@ -97,11 +97,11 @@ class ColorBitmapText : public BitmapText
{
public:
ColorBitmapText();
// virtual ~ColorBitmapText();
void SetText( const CString &sText, const CString &sAlternateText = "", int iWrapWidthPixels = -1 );
void DrawPrimitives( );
void SetMaxLines( int iLines, bool bCutBottom = true ); //if bCutBottom = false then, it will crop the top
void SimpleAddLine ( const CString &sAddition, int iWidthPixels );
void SetMaxLines( int iNumLines, int iDirection );
protected:
struct ColorChange
{