From c59cc4e6103c38897ceba54b6a88e6934147f263 Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 12 Jan 2015 12:34:19 +0100 Subject: first weather template --- displaymenu.c | 5 +- skins/metrixhd/themes/default/icons/clear-day.png | Bin 0 -> 4980 bytes .../metrixhd/themes/default/icons/clear-night.png | Bin 0 -> 3115 bytes skins/metrixhd/themes/default/icons/cloudy.png | Bin 0 -> 6433 bytes skins/metrixhd/themes/default/icons/fog.png | Bin 0 -> 3652 bytes .../themes/default/icons/partly-cloudy-day.png | Bin 0 -> 7028 bytes .../themes/default/icons/partly-cloudy-night.png | Bin 0 -> 6409 bytes skins/metrixhd/themes/default/icons/rain.png | Bin 0 -> 6000 bytes skins/metrixhd/themes/default/icons/sleet.png | Bin 0 -> 6021 bytes skins/metrixhd/themes/default/icons/snow.png | Bin 0 -> 7660 bytes skins/metrixhd/themes/default/icons/wind.png | Bin 0 -> 2568 bytes .../plug-weatherforecast-weatherforecast.xml | 99 +++++++++++++++++++++ views/displaymenurootview.c | 2 +- 13 files changed, 104 insertions(+), 2 deletions(-) create mode 100644 skins/metrixhd/themes/default/icons/clear-day.png create mode 100644 skins/metrixhd/themes/default/icons/clear-night.png create mode 100644 skins/metrixhd/themes/default/icons/cloudy.png create mode 100644 skins/metrixhd/themes/default/icons/fog.png create mode 100644 skins/metrixhd/themes/default/icons/partly-cloudy-day.png create mode 100644 skins/metrixhd/themes/default/icons/partly-cloudy-night.png create mode 100644 skins/metrixhd/themes/default/icons/rain.png create mode 100644 skins/metrixhd/themes/default/icons/sleet.png create mode 100644 skins/metrixhd/themes/default/icons/snow.png create mode 100644 skins/metrixhd/themes/default/icons/wind.png create mode 100644 skins/metrixhd/xmlfiles/plug-weatherforecast-weatherforecast.xml diff --git a/displaymenu.c b/displaymenu.c index 7759b61..2908880 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -203,7 +203,10 @@ void cSDDisplayMenu::SetItem(const char *Text, int Index, bool Current, bool Sel for (int i=0; i + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/views/displaymenurootview.c b/views/displaymenurootview.c index 2f3f11d..142949f 100644 --- a/views/displaymenurootview.c +++ b/views/displaymenurootview.c @@ -205,7 +205,7 @@ void cDisplayMenuRootView::SetMenu(eMenuCategory menuCat, bool menuInit) { } void cDisplayMenuRootView::CorrectDefaultMenu(void) { - if (viewType > svMenuDefault) { + if (viewType > svMenuDefault && viewType != svMenuPlugin) { SetMenu(mcUnknown, true); } } -- cgit v1.2.3