mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
cc_frm_window: fix background switch
Background was always on because calling of foo.doPaintBg(false)
was without any effect.
Origin commit data
------------------
Branch: ni/coolstream
Commit: bdd611a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-23 (Thu, 23 Jan 2020)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -149,7 +149,7 @@ void CComponentsWindow::init( const int& x_pos, const int& y_pos, const int& w,
|
||||
ccw_icon_name = iconname;
|
||||
|
||||
dprintf(DEBUG_DEBUG, "[CComponentsWindow] [%s - %d] icon name = %s\n", __func__, __LINE__, ccw_icon_name.c_str());
|
||||
paint_bg = false;
|
||||
paint_bg = true;
|
||||
shadow = shadow_mode;
|
||||
col_frame = color_frame;
|
||||
col_body = color_body;
|
||||
@@ -316,7 +316,7 @@ void CComponentsWindow::initBody()
|
||||
int w_body = width-2*fr_thickness - w_l_sidebar - w_r_sidebar;
|
||||
|
||||
ccw_body->setDimensionsAll(x_body, h_header, w_body, h_body);
|
||||
ccw_body->doPaintBg(true);
|
||||
ccw_body->doPaintBg(paint_bg);
|
||||
ccw_body->setColorBody(col_body);
|
||||
|
||||
//handle corner behavior
|
||||
|
Reference in New Issue
Block a user