From 02c4b4417c19edf61b0a0c25888be538f7678e2a Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 14 Sep 2012 16:41:31 +0200 Subject: [PATCH] CTextBox: add methodes setTextMode() and setBackGroundColor() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1d6bf7397e9d1cc1d363b6a32300fb4906e73ca4 Author: Thilo Graf Date: 2012-09-14 (Fri, 14 Sep 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/textbox.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui/widget/textbox.h b/src/gui/widget/textbox.h index b3a34971e..358aa878f 100644 --- a/src/gui/widget/textbox.h +++ b/src/gui/widget/textbox.h @@ -152,6 +152,16 @@ class CTextBox int text_border_width; public: + /* Variables */ + typedef enum mode_ + { + AUTO_WIDTH = 0x01, + AUTO_HIGH = 0x02, + SCROLL = 0x04, + CENTER = 0x40, + NO_AUTO_LINEBREAK = 0x80 + } mode; + /* Constructor */ CTextBox(); CTextBox( const char * text);