CComponentsText: add overloaded member setText() for int vars

This commit is contained in:
2013-04-10 20:24:20 +02:00
parent cd1a4c89a8
commit fb64fb5d35
2 changed files with 12 additions and 5 deletions

View File

@@ -194,6 +194,7 @@ class CComponentsText : public CComponentsItem
virtual void setText(const char* ctext, const int mode = ~CTextBox::AUTO_WIDTH, Font* font_text = NULL);
virtual void setText(const std::string& stext, const int mode = ~CTextBox::AUTO_WIDTH, Font* font_text = NULL);
virtual void setText(neutrino_locale_t locale_text, const int mode = ~CTextBox::AUTO_WIDTH, Font* font_text = NULL);
virtual void setText(const int digit, const int mode = ~CTextBox::AUTO_WIDTH, Font* font_text = NULL);
virtual void removeLineBreaks(std::string& str);
//get a Text Box object, so it's possible to get access directly to its methods