diff options
author | louis <louis.braun@gmx.de> | 2015-01-15 13:12:47 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-15 13:12:47 +0100 |
commit | c7f71f3f2b580714bd9e5a5c773bc2179c0e8567 (patch) | |
tree | a39d3efd5494b60964152e559eaead76c7897af5 /weatherosd.h | |
download | vdr-plugin-weatherforecast-0.0.1.tar.gz vdr-plugin-weatherforecast-0.0.1.tar.bz2 |
Initial commit0.0.1
Diffstat (limited to 'weatherosd.h')
-rw-r--r-- | weatherosd.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/weatherosd.h b/weatherosd.h new file mode 100644 index 0000000..d1e757f --- /dev/null +++ b/weatherosd.h @@ -0,0 +1,31 @@ +#ifndef __WEATHEROSD_H +#define __WEATHEROSD_H + +#include <vdr/osdbase.h> +#include <string> +#include "libskindesigner/skindesignerosdbase.h" +#include "libforecastio/forecastio.h" + +enum eMenus { + meRoot, + meDetailCurrent, + meDetailHourly, + meDetailDaily +}; + +class cWeatherOsd : public cSkindesignerOsdMenu { +private: + bool isDetailedView; + int lastRootMenuElement; + cForecastIO *forecastIO; + void SetRootMenu(void); + void SetDetailViewCurrent(void); + void SetDetailViewHourly(void); + void SetDetailViewDaily(void); +public: + cWeatherOsd(cForecastIO *forecastIO); + virtual ~cWeatherOsd(); + virtual eOSState ProcessKey(eKeys key); +}; + +#endif //__WEATHEROSD_H
\ No newline at end of file |