void UIStaticText::SetFont(Font * _font) { textBlock->SetRectSize(size); textBlock->SetFont(_font); PrepareSprite(); }
void UIStaticText::SetMultiline(bool _isMultilineEnabled, bool bySymbol) { textBlock->SetRectSize(size); textBlock->SetMultiline(_isMultilineEnabled, bySymbol); PrepareSprite(); }
void UIStaticText::SetText(const WideString& _string, const Vector2 &requestedTextRectSize/* = Vector2(0,0)*/) { textBlock->SetRectSize(size); textBlock->SetText(_string, requestedTextRectSize); PrepareSprite(); }
void UIStaticText::SetFittingOption(int32 fittingType) { textBlock->SetRectSize(size); textBlock->SetFittingOption(fittingType); PrepareSprite(); }
void TextGameObject::SetMultiline(bool isMultilineEnabled) { textBlock->SetMultiline(isMultilineEnabled); PrepareSprite(); }
void TextGameObject::SetFont( Font *font, bool prepareSprite /*= true*/ ) { textBlock->SetFont(font); if(prepareSprite) PrepareSprite(); }
void TextGameObject::SetFittingOption(int32 fittingType) { textBlock->SetFittingOption(fittingType); PrepareSprite(); }
void TextGameObject::SetText( const WideString &string, const Vector2 &requestedTextRectSize /*= Vector2(0,0)*/ ) { textBlock->SetText(string, requestedTextRectSize); PrepareSprite(); }