CComponentsText: fix missing refresh of text mode

assign of text mode was without any effect


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6842dc530a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-14 (Thu, 14 Aug 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-08-14 20:45:10 +02:00
parent b4d12bd23d
commit b4a9f82966

View File

@@ -120,7 +120,7 @@ class CComponentsText : public CComponentsItem, public CBox
///get text color ///get text color
virtual inline fb_pixel_t getTextColor(){return ct_col_text;}; virtual inline fb_pixel_t getTextColor(){return ct_col_text;};
///set text alignment, also see textbox.h for possible alignment modes ///set text alignment, also see textbox.h for possible alignment modes
virtual inline void setTextMode(const int mode){ct_text_mode = mode;}; virtual void setTextMode(const int mode){ct_text_mode = mode; initCCText();};
///set text border width ///set text border width
virtual inline void setTextBorderWidth(const int Hborder, const int Vborder = 0){ct_text_Hborder = Hborder; ct_text_Vborder = Vborder;}; virtual inline void setTextBorderWidth(const int Hborder, const int Vborder = 0){ct_text_Hborder = Hborder; ct_text_Vborder = Vborder;};