mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
CHintBox: fix text mode pass
Rquired in inherited classes
Origin commit data
------------------
Commit: 2952dcc124
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-21 (Fri, 21 Oct 2016)
This commit is contained in:
@@ -131,6 +131,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string
|
||||
lines = 0;
|
||||
timeout = HINTBOX_DEFAULT_TIMEOUT;
|
||||
w_indentation = indent;
|
||||
hb_text_mode = text_mode;
|
||||
|
||||
//set required window width and basic height
|
||||
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;
|
||||
|
||||
if (!Text.empty())
|
||||
addHintItem(Text, text_mode, Picon);
|
||||
addHintItem(Text, hb_text_mode, Picon);
|
||||
}
|
||||
|
||||
CHintBox::~CHintBox()
|
||||
|
Reference in New Issue
Block a user