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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user