mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CProgressBar/CComponentsInfoBox: add missing value inits
This commit is contained in:
@@ -51,10 +51,10 @@ CComponentsInfoBox::CComponentsInfoBox( const int& x_pos,
|
||||
{
|
||||
cc_item_type = CC_ITEMTYPE_TEXT_INFOBOX;
|
||||
|
||||
x = x_pos;
|
||||
y = y_pos;
|
||||
width = w;
|
||||
height = h;
|
||||
x = x_old = x_pos;
|
||||
y = y_old = y_pos;
|
||||
width = width_old = w;
|
||||
height = height_old = h;
|
||||
shadow = shadow_mode;
|
||||
col_frame = color_frame;
|
||||
cc_enable_frame = true;
|
||||
|
@@ -57,10 +57,10 @@ CProgressBar::CProgressBar( const int x_pos,
|
||||
cc_item_type = CC_ITEMTYPE_PROGRESSBAR;
|
||||
|
||||
//CComponents
|
||||
x = x_pos;
|
||||
y = y_pos;
|
||||
width = w;
|
||||
height = h;
|
||||
x = x_old = x_pos;
|
||||
y = y_old = y_pos;
|
||||
width = width_old = w;
|
||||
height = height_old = h;
|
||||
|
||||
col_frame = color_frame;
|
||||
col_body = color_body;
|
||||
|
Reference in New Issue
Block a user