CComponentsInfoBox: inherit setTextColor

Origin commit data
------------------
Branch: ni/coolstream
Commit: c4ef839ad4
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-10-24 (Wed, 24 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2012-10-24 15:50:14 +02:00
parent d8738e130b
commit 9fc52e1a2b
2 changed files with 9 additions and 7 deletions

View File

@@ -368,7 +368,6 @@ CComponentsInfoBox::CComponentsInfoBox()
initVarInfobox();
text = NULL;
text_mode = CTextBox::AUTO_WIDTH;
ibox_col_text = COL_MENUCONTENT;
}
CComponentsInfoBox::CComponentsInfoBox(const int x_pos, const int y_pos, const int w, const int h,
@@ -393,7 +392,7 @@ CComponentsInfoBox::CComponentsInfoBox(const int x_pos, const int y_pos, const i
text = info_text;
text_mode = mode;
ct_font = font_text;
ibox_col_text = color_text;
ct_col_text = color_text;
}
CComponentsInfoBox::~CComponentsInfoBox()
@@ -465,7 +464,7 @@ void CComponentsInfoBox::paintText()
//set properties
ct_textbox->setTextFont(ct_font);
ct_textbox->setWindowPos(ct_box);
ct_textbox->setTextColor(ibox_col_text);
ct_textbox->setTextColor(ct_col_text);
//set text
string new_text = static_cast <string> (text);