Revert "- helpbox/hintbox: use proven font FONT_TYPE_MENU instead of FONT_TYPE_INFOBAR_INFO"

This reverts commit 994d817bd2.


Origin commit data
------------------
Branch: ni/coolstream
Commit: aff78dd6ec
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-11-20 18:34:54 +01:00
parent 4a456fea74
commit c6ce2a6670
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ Helpbox::Helpbox( const string& Title,
hbox_font = default_font_text;
if (default_font_text == NULL)
hbox_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]; //NI
hbox_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO];
if (!Default_Text.empty())
addLine(Default_Text.c_str(), Default_Text, text_mode, line_space, HELPBOX_DEFAULT_LINE_INDENT ,hbox_font);

View File

@@ -132,7 +132,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string
timeout = HINTBOX_DEFAULT_TIMEOUT;
w_indentation = indent;
hb_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]; //NI
hb_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO];
//enable shadow
shadow = true;
@@ -321,7 +321,7 @@ void CHintBox::setMsgText(const std::string& Text, const uint& hint_id, const in
CComponentsInfoBox *obj_text = static_cast<CComponentsInfoBox*>(ccw_body->getCCItem(id));
//set required font and line size
Font* font = font_text == NULL ? g_Font[SNeutrinoSettings::FONT_TYPE_MENU] : font_text; //NI
Font* font = font_text == NULL ? g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO] : font_text;
if (obj_text)
obj_text->setText(Text, mode, font, color_text, style);
}