mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsFooter: don't use default parameters for privat member
Passed init values are better to see here.
This should fix wrong footer color too. See UPNP-Browser, color was not
applied here.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9b9a8d1a78
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -36,7 +36,7 @@ using namespace std;
|
|||||||
CComponentsFooter::CComponentsFooter(CComponentsForm* parent)
|
CComponentsFooter::CComponentsFooter(CComponentsForm* parent)
|
||||||
{
|
{
|
||||||
//CComponentsFooter
|
//CComponentsFooter
|
||||||
initVarFooter(1, 1, 0, 0, 0, parent);
|
initVarFooter(1, 1, 0, 0, 0, parent, CC_SHADOW_OFF, COL_MENUCONTENT_PLUS_6, COL_MENUFOOT_PLUS_0, COL_SHADOW_PLUS_0);
|
||||||
}
|
}
|
||||||
|
|
||||||
CComponentsFooter::CComponentsFooter( const int& x_pos, const int& y_pos, const int& w, const int& h,
|
CComponentsFooter::CComponentsFooter( const int& x_pos, const int& y_pos, const int& w, const int& h,
|
||||||
|
@@ -60,13 +60,13 @@ Missing parameters are filled with default values and must be assigned afterward
|
|||||||
class CComponentsFooter : public CComponentsHeader
|
class CComponentsFooter : public CComponentsHeader
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
void initVarFooter( const int& x_pos, const int& y_pos, const int& w, const int& h = 0,
|
void initVarFooter( const int& x_pos, const int& y_pos, const int& w, const int& h,
|
||||||
const int& buttons = 0,
|
const int& buttons,
|
||||||
CComponentsForm *parent = NULL,
|
CComponentsForm *parent,
|
||||||
int shadow_mode = CC_SHADOW_OFF,
|
int shadow_mode,
|
||||||
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
|
fb_pixel_t color_frame,
|
||||||
fb_pixel_t color_body = COL_MENUFOOT_PLUS_0,
|
fb_pixel_t color_body,
|
||||||
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
|
fb_pixel_t color_shadow );
|
||||||
|
|
||||||
///show button frame and background, default false
|
///show button frame and background, default false
|
||||||
bool btn_contour;
|
bool btn_contour;
|
||||||
|
Reference in New Issue
Block a user