From eab0e120a2c2bfcf9f49153f3664a8e9a5182ec0 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 21 Oct 2013 15:14:17 +0200 Subject: [PATCH] CComponentsText: add member to get text color Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e613971c0d8182667f824d374afbbfff2c18f84f Author: Thilo Graf Date: 2013-10-21 (Mon, 21 Oct 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_item_text.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/components/cc_item_text.h b/src/gui/components/cc_item_text.h index e6bf1365e..c20420d9a 100644 --- a/src/gui/components/cc_item_text.h +++ b/src/gui/components/cc_item_text.h @@ -100,6 +100,8 @@ class CComponentsText : public CComponentsItem, public CBox virtual inline void setTextFont(Font* font_text){ct_font = font_text;}; ///set text color virtual inline void setTextColor(fb_pixel_t color_text){ ct_col_text = color_text;}; + ///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;}; ///set text border width