mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
CMsgBox: use same colors for window body, footer and button container
Origin commit data
------------------
Branch: ni/coolstream
Commit: 857b494c47
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-05 (Wed, 05 Oct 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -88,6 +88,7 @@ void CMsgBox::init(const int& Height, const int& ShowButtons, const msg_result_t
|
||||
//enable footer and add its height
|
||||
showFooter(true);
|
||||
btn_enable_bg = false;
|
||||
ccw_col_footer = ccw_body->getColorBody();
|
||||
ccw_footer->doPaintBg(false);
|
||||
int h_current = height;
|
||||
h_current += ccw_footer->getHeight();
|
||||
@@ -178,6 +179,7 @@ void CMsgBox::initButtons()
|
||||
}
|
||||
|
||||
ccw_footer->setButtonLabels(v_buttons, 0, 125);
|
||||
ccw_footer->getButtonChainObject()->setColorBody(col_body);
|
||||
|
||||
//show buttons with background and shadow
|
||||
ccw_footer->enableButtonBg(btn_enable_bg);
|
||||
|
Reference in New Issue
Block a user