From 1d6bf7397e9d1cc1d363b6a32300fb4906e73ca4 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() --- 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);