CComponents: move variable cc_gradientData, paintGradient into base class

Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling


Origin commit data
------------------
Commit: 64c84fb490
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
This commit is contained in:
2014-09-20 21:34:43 +02:00
committed by [CST] Focus
parent be25b2345e
commit def1a3c5b9
7 changed files with 21 additions and 15 deletions

View File

@@ -200,7 +200,6 @@ void CComponentsWindow::initHeader()
ccw_head->setCaption(ccw_caption, ccw_align_mode);
ccw_head->setContextButton(ccw_buttons);
ccw_head->setCorner(corner_rad, CORNER_TOP);
ccw_head->setPaintGradient(g_settings.gradiant);
}
}