added possibility to hide root menu from a subview template

This commit is contained in:
louis
2015-03-15 18:11:07 +01:00
parent b6e6065b0f
commit 19dfd1af7b
7 changed files with 34 additions and 2 deletions

View File

@@ -34,8 +34,12 @@ bool cDisplayPluginView::createOsd(void) {
void cDisplayPluginView::Deactivate(bool hide) {
Stop();
if (!hide)
return;
if (!hide) {
bool hideFromTemplate = tmplView->HideView();
if (!hideFromTemplate)
return;
esyslog("skindesigner: hiding from template");
}
HidePixmaps();
for (map< int, cViewGrid* >::iterator it = viewGrids.begin(); it != viewGrids.end(); it++) {
cViewGrid *viewGrid = it->second;