mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CHintBox: fix text mode pass
Rquired in inherited classes
This commit is contained in:
@@ -131,6 +131,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string
|
|||||||
lines = 0;
|
lines = 0;
|
||||||
timeout = HINTBOX_DEFAULT_TIMEOUT;
|
timeout = HINTBOX_DEFAULT_TIMEOUT;
|
||||||
w_indentation = indent;
|
w_indentation = indent;
|
||||||
|
hb_text_mode = text_mode;
|
||||||
|
|
||||||
//set required window width and basic height
|
//set required window width and basic height
|
||||||
width = max(HINTBOX_MIN_WIDTH, Width);
|
width = max(HINTBOX_MIN_WIDTH, Width);
|
||||||
@@ -160,7 +161,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string
|
|||||||
timeout_pb_timer= NULL;
|
timeout_pb_timer= NULL;
|
||||||
|
|
||||||
if (!Text.empty())
|
if (!Text.empty())
|
||||||
addHintItem(Text, text_mode, Picon);
|
addHintItem(Text, hb_text_mode, Picon);
|
||||||
}
|
}
|
||||||
|
|
||||||
CHintBox::~CHintBox()
|
CHintBox::~CHintBox()
|
||||||
|
@@ -55,6 +55,7 @@ class CHintBox : public CComponentsWindow
|
|||||||
int y_hint_obj;
|
int y_hint_obj;
|
||||||
int h_hint_obj;
|
int h_hint_obj;
|
||||||
int w_indentation;
|
int w_indentation;
|
||||||
|
int hb_text_mode;
|
||||||
|
|
||||||
///global count of lines
|
///global count of lines
|
||||||
uint lines;
|
uint lines;
|
||||||
|
Reference in New Issue
Block a user