mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsForm: add member hideCCItems()
In case of items with cached background it is useful to have possibility to restore their background. (eg. items are painted outside of form).
This commit is contained in:
@@ -532,6 +532,12 @@ void CComponentsForm::killCCItems(const fb_pixel_t& bg_color, bool ignore_parent
|
||||
v_cc_items[i]->kill(bg_color, ignore_parent);
|
||||
}
|
||||
|
||||
void CComponentsForm::hideCCItems()
|
||||
{
|
||||
for(size_t i=0; i<v_cc_items.size(); i++)
|
||||
v_cc_items[i]->hide();
|
||||
}
|
||||
|
||||
void CComponentsForm::setPageCount(const u_int8_t& pageCount)
|
||||
{
|
||||
u_int8_t new_val = pageCount;
|
||||
|
Reference in New Issue
Block a user