From b4a9f8296654a27a03cb818ec5c5bbcd158cfcb6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 14 Aug 2014 20:45:10 +0200 Subject: [PATCH] CComponentsText: fix missing refresh of text mode assign of text mode was without any effect Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6842dc530aa177695caa1f446c56546ddb21531e Author: Thilo Graf Date: 2014-08-14 (Thu, 14 Aug 2014) ------------------ This commit was generated by Migit --- src/gui/components/cc_item_text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_item_text.h b/src/gui/components/cc_item_text.h index aca43416b..6fc09b7be 100644 --- a/src/gui/components/cc_item_text.h +++ b/src/gui/components/cc_item_text.h @@ -120,7 +120,7 @@ class CComponentsText : public CComponentsItem, public CBox ///get text color virtual inline fb_pixel_t getTextColor(){return ct_col_text;}; ///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 virtual inline void setTextBorderWidth(const int Hborder, const int Vborder = 0){ct_text_Hborder = Hborder; ct_text_Vborder = Vborder;};