mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
CProgressWindow: dont't paint frame on progressbars
This commit is contained in:
@@ -52,6 +52,7 @@ void CProgressWindow::Init()
|
||||
int y_item = 10;
|
||||
int w_item = width-2*x_item;
|
||||
int h_item = 20;
|
||||
w_bar_frame = 0;
|
||||
|
||||
//create status text object
|
||||
status_txt = new CComponentsLabel();
|
||||
@@ -65,7 +66,7 @@ void CProgressWindow::Init()
|
||||
local_bar->setDimensionsAll(x_item, y_item, w_item, h_item);
|
||||
local_bar->setColorBody(col_body);
|
||||
local_bar->setActiveColor(COL_MENUCONTENT_PLUS_7);
|
||||
local_bar->setFrameThickness(2);
|
||||
local_bar->setFrameThickness(w_bar_frame);
|
||||
local_bar->setColorFrame(COL_MENUCONTENT_PLUS_7);
|
||||
addWindowItem(local_bar);
|
||||
y_item += 2*h_item;
|
||||
@@ -75,7 +76,7 @@ void CProgressWindow::Init()
|
||||
global_bar->setDimensionsAll(x_item, y_item, w_item, h_item);
|
||||
global_bar->setColorBody(col_body);
|
||||
global_bar->setActiveColor(COL_MENUCONTENT_PLUS_7);
|
||||
global_bar->setFrameThickness(2);
|
||||
global_bar->setFrameThickness(w_bar_frame);
|
||||
global_bar->setColorFrame(COL_MENUCONTENT_PLUS_7);
|
||||
addWindowItem(global_bar);
|
||||
y_item += 2*h_item;
|
||||
|
@@ -41,6 +41,7 @@ class CProgressWindow : public CComponentsWindow, public CMenuTarget
|
||||
|
||||
unsigned int global_progress;
|
||||
unsigned int local_progress;
|
||||
int w_bar_frame;
|
||||
|
||||
void Init();
|
||||
|
||||
|
Reference in New Issue
Block a user