mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
components: remove initVarHeader calls in classes derived from CComponentsHeader
This commit is contained in:
@@ -113,6 +113,8 @@ class CComponentsIconForm : public CComponentsForm
|
|||||||
|
|
||||||
class CComponentsHeader : public CComponentsForm
|
class CComponentsHeader : public CComponentsForm
|
||||||
{
|
{
|
||||||
|
private:
|
||||||
|
void initVarHeader();
|
||||||
protected:
|
protected:
|
||||||
CComponentsPicture * cch_icon_obj;
|
CComponentsPicture * cch_icon_obj;
|
||||||
CComponentsText * cch_text_obj;
|
CComponentsText * cch_text_obj;
|
||||||
@@ -132,8 +134,6 @@ class CComponentsHeader : public CComponentsForm
|
|||||||
void initDefaultButtons();
|
void initDefaultButtons();
|
||||||
void initButtonFormSize();
|
void initButtonFormSize();
|
||||||
|
|
||||||
void initVarHeader();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
@@ -65,9 +65,6 @@ CComponentsFooter::CComponentsFooter( const int x_pos, const int y_pos, const in
|
|||||||
|
|
||||||
void CComponentsFooter::initVarFooter()
|
void CComponentsFooter::initVarFooter()
|
||||||
{
|
{
|
||||||
//CComponentsHeader
|
|
||||||
initVarHeader();
|
|
||||||
|
|
||||||
cc_item_type = CC_ITEMTYPE_FOOTER;
|
cc_item_type = CC_ITEMTYPE_FOOTER;
|
||||||
corner_rad = RADIUS_LARGE;
|
corner_rad = RADIUS_LARGE;
|
||||||
corner_type = CORNER_BOTTOM;
|
corner_type = CORNER_BOTTOM;
|
||||||
|
Reference in New Issue
Block a user