mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added parameter mode to viewelement <devices>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "displayviewelements.h"
|
||||
|
||||
cViewElementDevices::cViewElementDevices(cTemplateViewElement *tmplViewElement) : cViewElement(tmplViewElement) {
|
||||
cViewElementDevices::cViewElementDevices(bool light, cTemplateViewElement *tmplViewElement) : cViewElement(tmplViewElement) {
|
||||
this->light = light;
|
||||
init = true;
|
||||
}
|
||||
|
||||
@@ -11,7 +12,7 @@ bool cViewElementDevices::Render(void) {
|
||||
|
||||
if (init)
|
||||
InitDevices();
|
||||
bool changed = SetDevices(init, &intTokens, &devices);
|
||||
bool changed = SetDevices(init, light, &intTokens, &devices);
|
||||
init = false;
|
||||
|
||||
if (!changed)
|
||||
|
Reference in New Issue
Block a user