mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- cc_frm_footer: prepare for c2c gradient
This commit is contained in:
@@ -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;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user