mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
cc_frm_footer: add sizemode als default paramter to constructor
Origin commit data
------------------
Commit: aeec949f14
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-02-17 (Thu, 17 Feb 2022)
This commit is contained in:
@@ -35,10 +35,10 @@ using namespace std;
|
|||||||
|
|
||||||
//-------------------------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------------------------
|
||||||
//sub class CComponentsFooter inherit from CComponentsHeader
|
//sub class CComponentsFooter inherit from CComponentsHeader
|
||||||
CComponentsFooter::CComponentsFooter(CComponentsForm* parent):CCButtonSelect()
|
CComponentsFooter::CComponentsFooter(CComponentsForm* parent, int sizeMode):CCButtonSelect()
|
||||||
{
|
{
|
||||||
//CComponentsFooter
|
//CComponentsFooter
|
||||||
initVarFooter(1, 1, 0, 0, 0, parent, CC_SHADOW_OFF, COL_FRAME_PLUS_0, COL_MENUFOOT_PLUS_0, COL_SHADOW_PLUS_0, CC_HEADER_SIZE_LARGE);
|
initVarFooter(1, 1, 0, 0, 0, parent, CC_SHADOW_OFF, COL_FRAME_PLUS_0, COL_MENUFOOT_PLUS_0, COL_SHADOW_PLUS_0, sizeMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
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,
|
||||||
|
@@ -76,7 +76,7 @@ class CComponentsFooter : public CComponentsHeader, public CCButtonSelect
|
|||||||
int initButtonContainer(const int& chain_width);
|
int initButtonContainer(const int& chain_width);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CComponentsFooter(CComponentsForm *parent = NULL);
|
CComponentsFooter(CComponentsForm *parent = NULL, int sizeMode = CC_HEADER_SIZE_LARGE);
|
||||||
CComponentsFooter( const int& x_pos, const int& y_pos, const int& w, const int& h = 0,
|
CComponentsFooter( const int& x_pos, const int& y_pos, const int& w, const int& h = 0,
|
||||||
const int& buttons = 0,
|
const int& buttons = 0,
|
||||||
CComponentsForm *parent = NULL,
|
CComponentsForm *parent = NULL,
|
||||||
|
Reference in New Issue
Block a user