mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsWindow: add missing member paint()
This is a partial revert of cbeb9f3ac6
This commit is contained in:
@@ -317,6 +317,9 @@ class CComponentsWindow : public CComponentsForm
|
||||
|
||||
///refresh position and dimension and reinitialize elemenatary properties
|
||||
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);
|
||||
}
|
||||
|
||||
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