CComponentsButton: apply color gradiant to buttons

This commit is contained in:
2014-09-20 21:35:12 +02:00
committed by [CST] Focus
parent d6bf51a593
commit de2aebcebc

View File

@@ -104,6 +104,10 @@ void CComponentsButton::initVarButton( const int& x_pos, const int& y_pos, const
col_frame = color_frame;
col_body = color_body;
col_shadow = color_shadow;
col_body_gradient = g_settings.gradiant;
setColBodyGradient(CColorGradient::gradientDark2Light2Dark, CFrameBuffer::gradientVertical, CColorGradient::light);
cc_item_enabled = enabled;
cc_item_selected = selected;
fr_thickness = 3;