mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed bug in default lists
This commit is contained in:
parent
21732b1777
commit
46a716da76
@ -273,6 +273,13 @@ void cLeMenuDefault::CheckProgressBar(const char *text, int tab) {
|
|||||||
tokenContainer->AddIntToken(32 + tab, len);
|
tokenContainer->AddIntToken(32 + tab, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cLeMenuDefault::Clear(void) {
|
||||||
|
if (current && currentElement) {
|
||||||
|
currentElement->Close();
|
||||||
|
}
|
||||||
|
cViewElement::Close();
|
||||||
|
dirty = false;
|
||||||
|
}
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* cVeMenuMain
|
* cVeMenuMain
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
@ -30,7 +30,7 @@ public:
|
|||||||
bool DoScroll(void) { return current; };
|
bool DoScroll(void) { return current; };
|
||||||
virtual void RenderCurrent(void) { };
|
virtual void RenderCurrent(void) { };
|
||||||
void Close(void);
|
void Close(void);
|
||||||
void Clear(void);
|
virtual void Clear(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
@ -70,6 +70,7 @@ public:
|
|||||||
void SetPlugin(const char *plugName) { this->plugName = plugName; };
|
void SetPlugin(const char *plugName) { this->plugName = plugName; };
|
||||||
void SetTokenContainer(void);
|
void SetTokenContainer(void);
|
||||||
bool Parse(bool forced = true);
|
bool Parse(bool forced = true);
|
||||||
|
void Clear(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
<areascroll condition="not{separator} ++ not{setup}" scrollelement="column1" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="{column1width}" layer="3">
|
<areascroll condition="not{separator} ++ not{setup}" scrollelement="column1" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="1%" width="{column1width}" layer="3">
|
||||||
<drawtext name="column1" x="{column1x}" width="{column1width}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column1}" />
|
<drawtext name="column1" x="{column1x}" width="{column1width}" valign="center" font="{light}" fontsize="90%" color="{clrWhite}" text="{column1}" />
|
||||||
</areascroll>
|
</areascroll>
|
||||||
<area condition="not{separator} ++ not{setup}" x="1%" width="100%" layer="3">
|
<area condition="not{separator} ++ not{setup}" x="1%" width="100%" layer="4">
|
||||||
<drawtext condition="{column2set}" x="{column2x}" valign="center" font="{light}" fontsize="90%" width="{column2width}" color="{clrWhite}" text="{column2}" />
|
<drawtext condition="{column2set}" x="{column2x}" valign="center" font="{light}" fontsize="90%" width="{column2width}" color="{clrWhite}" text="{column2}" />
|
||||||
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" width="{column3width}" color="{clrWhite}" text="{column3}" />
|
<drawtext condition="{column3set}" x="{column3x}" valign="center" font="{light}" fontsize="90%" width="{column3width}" color="{clrWhite}" text="{column3}" />
|
||||||
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" width="{column4width}" color="{clrWhite}" text="{column4}" />
|
<drawtext condition="{column4set}" x="{column4x}" valign="center" font="{light}" fontsize="90%" width="{column4width}" color="{clrWhite}" text="{column4}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user