diff --git a/src/gui/components/cc_frm_footer.cpp b/src/gui/components/cc_frm_footer.cpp index cb84e182c..369e3d0ee 100644 --- a/src/gui/components/cc_frm_footer.cpp +++ b/src/gui/components/cc_frm_footer.cpp @@ -76,7 +76,9 @@ void CComponentsFooter::initVarFooter( const int& x_pos, const int& y_pos, const col_frame = color_frame; col_body = color_body; col_shadow = color_shadow; - col_body_gradient = false; + col_body_gradient = false; /*g_settings.theme.Foot_gradient*/; //TODO: not implemented at the moment + cc_body_gradient_direction = CFrameBuffer::gradientVertical; + cc_body_gradient_mode = CColorGradient::gradientDark2Light; btn_auto_frame_col = false; corner_rad = RADIUS_LARGE; diff --git a/src/gui/components/cc_frm_footer.h b/src/gui/components/cc_frm_footer.h index 602c06963..04871319a 100644 --- a/src/gui/components/cc_frm_footer.h +++ b/src/gui/components/cc_frm_footer.h @@ -138,6 +138,14 @@ class CComponentsFooter : public CComponentsHeader Font* font = NULL, bool do_save_bg = CC_SAVE_SCREEN_NO ); + + enum + { + CC_FOOTER_SIZE_LARGE = 0, + CC_FOOTER_SIZE_SMALL = 1 + }; + ///set size of footer, possible values are CC_FOOTER_SIZE_LARGE, CC_FOOTER_SIZE_SMALL + virtual void setSizeMode(const int& size_mode){cch_size_mode = size_mode; initCCItems();}; }; #endif