mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsHeader: move init members into its own member
Origin commit data
------------------
Branch: ni/coolstream
Commit: 562b091e66
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-19 (Mon, 19 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -501,6 +501,7 @@ class CComponentsHeader : public CComponentsForm
|
||||
void initCCHeaderIcon();
|
||||
void initCCHeaderText();
|
||||
void initCCHeaderButtons();
|
||||
void initCCHItems();
|
||||
|
||||
protected:
|
||||
void initVarHeader();
|
||||
|
@@ -1832,14 +1832,8 @@ void CComponentsHeader::initCCHeaderText()
|
||||
|
||||
}
|
||||
|
||||
void CComponentsHeader::paint(bool do_save_bg)
|
||||
void CComponentsHeader::initCCHItems()
|
||||
{
|
||||
//paint body
|
||||
paintInit(do_save_bg);
|
||||
|
||||
//clean up first possible old item objects, includes delete and clean up vector
|
||||
clearCCItems();
|
||||
|
||||
//init icon
|
||||
initCCHeaderIcon();
|
||||
|
||||
@@ -1856,6 +1850,18 @@ void CComponentsHeader::paint(bool do_save_bg)
|
||||
addCCItem(cch_text_obj); //text
|
||||
if (cch_btn_obj)
|
||||
addCCItem(cch_btn_obj); //buttons
|
||||
}
|
||||
|
||||
void CComponentsHeader::paint(bool do_save_bg)
|
||||
{
|
||||
//paint body
|
||||
paintInit(do_save_bg);
|
||||
|
||||
//clean up first possible old item objects, includes delete and clean up vector
|
||||
clearCCItems();
|
||||
|
||||
//init default header ccitems
|
||||
initCCHItems();
|
||||
|
||||
//paint
|
||||
paintCCItems();
|
||||
|
Reference in New Issue
Block a user