mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added weather viewelement to displayreplay
This commit is contained in:
parent
a1269c2667
commit
5eaad6565e
@ -117,6 +117,7 @@ enum class eVeDisplayReplay {
|
||||
datetime,
|
||||
time,
|
||||
scrapercontent,
|
||||
currentweather,
|
||||
rectitle,
|
||||
recinfo,
|
||||
currenttime,
|
||||
|
@ -41,6 +41,7 @@ void cViewReplay::SetViewElements(void) {
|
||||
viewElementNames.insert(pair<string, int>("datetime", (int)eVeDisplayReplay::datetime));
|
||||
viewElementNames.insert(pair<string, int>("time", (int)eVeDisplayReplay::time));
|
||||
viewElementNames.insert(pair<string, int>("scrapercontent", (int)eVeDisplayReplay::scrapercontent));
|
||||
viewElementNames.insert(pair<string, int>("currentweather", (int)eVeDisplayReplay::currentweather));
|
||||
viewElementNames.insert(pair<string, int>("rectitle", (int)eVeDisplayReplay::rectitle));
|
||||
viewElementNames.insert(pair<string, int>("recinfo", (int)eVeDisplayReplay::recinfo));
|
||||
viewElementNames.insert(pair<string, int>("currenttime", (int)eVeDisplayReplay::currenttime));
|
||||
@ -275,6 +276,7 @@ void cViewReplay::Flush(void) {
|
||||
Render((int)eVeDisplayReplay::rectitle);
|
||||
Render((int)eVeDisplayReplay::recinfo);
|
||||
Render((int)eVeDisplayReplay::scrapercontent);
|
||||
Render((int)eVeDisplayReplay::currentweather);
|
||||
Render((int)eVeDisplayReplay::customtokens);
|
||||
} else {
|
||||
Render((int)eVeDisplayReplay::backgroundmodeonly);
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!ENTITY % functions SYSTEM "functions.dtd">
|
||||
|
||||
<!ELEMENT displayreplay (background | backgroundmodeonly |datetime | time |
|
||||
scrapercontent | rectitle | recinfo | currenttime |
|
||||
scrapercontent | currentweather | rectitle | recinfo | currenttime |
|
||||
totaltime | endtime | progressbar | cutmarks | controlicons |
|
||||
controliconsmodeonly | progressmodeonly | jump | message | onpause |
|
||||
onpausemodeonly | customtokens)*>
|
||||
@ -88,6 +88,19 @@
|
||||
condition CDATA #IMPLIED
|
||||
>
|
||||
|
||||
<!ELEMENT currentweather (areacontainer|area|areascroll)*>
|
||||
<!ATTLIST currentweather
|
||||
delay CDATA #IMPLIED
|
||||
fadetime CDATA #IMPLIED
|
||||
shifttime CDATA #IMPLIED
|
||||
shifttype CDATA #IMPLIED
|
||||
shiftmode CDATA #IMPLIED
|
||||
startx CDATA #IMPLIED
|
||||
starty CDATA #IMPLIED
|
||||
debug CDATA #IMPLIED
|
||||
condition CDATA #IMPLIED
|
||||
>
|
||||
|
||||
<!ELEMENT rectitle (areacontainer|area|areascroll)*>
|
||||
<!ATTLIST rectitle
|
||||
delay CDATA #IMPLIED
|
||||
|
Loading…
Reference in New Issue
Block a user