From b6d39db6cfbcb3f5d46ce3b970c82d652d34fca0 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 4 May 2015 08:54:26 +0200 Subject: [PATCH] cc_frm_header: prepare for c2c gradient Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c05e650a02fe5e9359ae60bed1c292596a013372 Author: vanhofen Date: 2015-05-04 (Mon, 04 May 2015) Origin message was: ------------------ - cc_frm_header: prepare for c2c gradient ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_frm_header.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index 44c363607..59359b7c8 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -98,8 +98,9 @@ void CComponentsHeader::initVarHeader( const int& x_pos, const int& y_pos, const col_body = color_body; col_shadow = color_shadow; col_body = COL_MENUHEAD_PLUS_0; - col_body_gradient = g_settings.theme.menu_Head_gradient; - cc_body_gradient_direction = CFrameBuffer::gradientVertical; + col_body_gradient = g_settings.theme.menu_Head_gradient; + cc_body_gradient_direction = CFrameBuffer::gradientVertical; + cc_body_gradient_mode = CColorGradient::gradientLight2Dark; cch_text = caption; cch_icon_name = icon_name;