mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
cc_frm_footer: prepare for c2c gradient
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5599784642
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-04 (Mon, 04 May 2015)
Origin message was:
------------------
- cc_frm_footer: prepare for c2c gradient
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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_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;
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user