From b22d086526630c623655e3c4d39beca57b174e5b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 22 Sep 2012 21:33:40 +0200 Subject: [PATCH] CTextBox: add missing textmode comments Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/07fa858d6cca6ff1a8de72ea67d1cc6222d577f4 Author: Thilo Graf Date: 2012-09-22 (Sat, 22 Sep 2012) Origin message was: ------------------ *CTextBox: add missing textmode comments --- src/gui/widget/textbox.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/widget/textbox.h b/src/gui/widget/textbox.h index 4b1f87238..de5f60416 100644 --- a/src/gui/widget/textbox.h +++ b/src/gui/widget/textbox.h @@ -89,11 +89,11 @@ class CTextBox /* Variables */ enum textbox_modes { - AUTO_WIDTH = 0x01, - AUTO_HIGH = 0x02, - SCROLL = 0x04, - CENTER = 0x40, - NO_AUTO_LINEBREAK = 0x80 + AUTO_WIDTH = 0x01, //auto adapt frame width to max width or max text width, text is painted with auto linebreak + AUTO_HIGH = 0x02, //auto adapt frame height to max height, text is painted with auto linebreak + SCROLL = 0x04, //frame box contains scrollbars on long text + CENTER = 0x40, //paint text centered + NO_AUTO_LINEBREAK = 0x80 //paint text without auto linebreak, cutting text }; private: