CComponents: move variable cc_gradientData, paintGradient into base class

Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling
This commit is contained in:
2014-09-20 21:34:43 +02:00
committed by [CST] Focus
parent 8762d4b871
commit 64c84fb490
7 changed files with 21 additions and 15 deletions

View File

@@ -76,6 +76,7 @@ void CComponentsFooter::initVarFooter( const int& x_pos, const int& y_pos, const
col_frame = color_frame;
col_body = color_body;
col_shadow = color_shadow;
paintGradient = false;
corner_rad = RADIUS_LARGE;
corner_type = CORNER_BOTTOM;