Added max_dimension_use_zoom lua function to control whether an individual BitmapText uses the zoom in maxwidth calculations.

This commit is contained in:
Kyzentun
2014-09-04 18:04:51 -06:00
parent 13066518fe
commit c6f598890b
3 changed files with 26 additions and 5 deletions
+2
View File
@@ -25,6 +25,7 @@ public:
void SetVertSpacing( int iSpacing );
void SetMaxWidth( float fMaxWidth );
void SetMaxHeight( float fMaxHeight );
void SetMaxDimUseZoom(bool use);
void SetWrapWidthPixels( int iWrapWidthPixels );
void CropToWidth( int iWidthInSourcePixels );
@@ -77,6 +78,7 @@ protected:
int m_iWrapWidthPixels; // -1 = no wrap
float m_fMaxWidth; // 0 = no max
float m_fMaxHeight; // 0 = no max
bool m_MaxDimensionUsesZoom;
bool m_bRainbowScroll;
bool m_bJitter;
bool m_bUsingDistortion;