mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
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:
@@ -115,9 +115,7 @@ void CComponentsHeader::initVarHeader( const int& x_pos, const int& y_pos, const
|
||||
cch_icon_w = 0;
|
||||
cch_text_x = cch_offset;
|
||||
cch_buttons_space = cch_offset;
|
||||
|
||||
gradientBuf = NULL;
|
||||
paintGradient = false;
|
||||
paintGradient = g_settings.gradiant;
|
||||
|
||||
addContextButton(buttons);
|
||||
initCCItems();
|
||||
|
Reference in New Issue
Block a user