aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/vgui_controls/TextImage.h
diff options
context:
space:
mode:
authorJohn Schoenick <[email protected]>2015-09-09 18:35:41 -0700
committerJohn Schoenick <[email protected]>2015-09-09 18:35:41 -0700
commit0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch)
treec831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/public/vgui_controls/TextImage.h
parentUpdated the SDK with the latest code from the TF and HL2 branches. (diff)
downloadsource-sdk-2013-master.tar.xz
source-sdk-2013-master.zip
Updated the SDK with the latest code from the TF and HL2 branches.HEADmaster
Diffstat (limited to 'mp/src/public/vgui_controls/TextImage.h')
-rw-r--r--mp/src/public/vgui_controls/TextImage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mp/src/public/vgui_controls/TextImage.h b/mp/src/public/vgui_controls/TextImage.h
index 499785ff..20446e7b 100644
--- a/mp/src/public/vgui_controls/TextImage.h
+++ b/mp/src/public/vgui_controls/TextImage.h
@@ -105,6 +105,9 @@ public:
void SetColorChangeStream( CUtlSortVector<label_colorchange_t,CColorChangeListLess> *pUtlVecStream );
void ClearColorChangeStream( void ) { m_ColorChangeStream.Purge(); }
+ const wchar_t *GetEllipsesPosition( void ) const { return m_pwszEllipsesPosition; }
+ bool IsWrapping() const { return m_LineBreaks.Count() != 0; }
+
protected:
// truncate the _text string to fit into the draw width
void SizeText(wchar_t *tempText, int stringLength);