CProgressBar/CComponentsInfoBox: add missing value inits

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a7f7ab5a6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
2017-06-15 01:01:54 +02:00
parent 2aeab995a7
commit 038b4e36e4
2 changed files with 8 additions and 8 deletions

View File

@@ -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;

View File

@@ -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;