mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsWindow: add missing member paint()
This is a partial revert off57ccb8d5a
Origin commit data ------------------ Branch: ni/coolstream Commit:0ae3d34ceb
Author: Thilo Graf <dbt@novatux.de> Date: 2013-11-17 (Sun, 17 Nov 2013) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -317,6 +317,9 @@ class CComponentsWindow : public CComponentsForm
|
|||||||
|
|
||||||
///refresh position and dimension and reinitialize elemenatary properties
|
///refresh position and dimension and reinitialize elemenatary properties
|
||||||
void Refresh(){initCCWItems();};
|
void Refresh(){initCCWItems();};
|
||||||
|
|
||||||
|
///paint all window items, this overwriting paint() from CComponentsForm
|
||||||
|
virtual void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -254,3 +254,11 @@ void CComponentsWindow::initCCWItems()
|
|||||||
addCCItem(ccw_footer);
|
addCCItem(ccw_footer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CComponentsWindow::paint(bool do_save_bg)
|
||||||
|
{
|
||||||
|
//prepare items before paint
|
||||||
|
initCCWItems();
|
||||||
|
|
||||||
|
//paint form contents
|
||||||
|
paintForm(do_save_bg);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user