- cc_frm_footer: prepare for c2c gradient

This commit is contained in:
svenhoefer
2015-05-04 08:53:11 +02:00
parent a8be4f6365
commit 5599784642
2 changed files with 11 additions and 1 deletions

View File

@@ -76,7 +76,9 @@ void CComponentsFooter::initVarFooter( const int& x_pos, const int& y_pos, const
col_frame = color_frame; col_frame = color_frame;
col_body = color_body; col_body = color_body;
col_shadow = color_shadow; 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; btn_auto_frame_col = false;
corner_rad = RADIUS_LARGE; corner_rad = RADIUS_LARGE;

View File

@@ -138,6 +138,14 @@ class CComponentsFooter : public CComponentsHeader
Font* font = NULL, Font* font = NULL,
bool do_save_bg = CC_SAVE_SCREEN_NO 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 #endif