diff options
author | louis <louis.braun@gmx.de> | 2014-01-26 09:42:27 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-26 09:42:27 +0100 |
commit | ba90eeecb93ceeff123b33b2cbe27c4e3fcec787 (patch) | |
tree | ebc86c1b326f64122c1d979538e5b0d8750c8049 /recmenuitem.h | |
parent | 2a3eecd99e9d7d8a138543ebdb892347f68aeaa2 (diff) | |
download | vdr-plugin-tvguide-ba90eeecb93ceeff123b33b2cbe27c4e3fcec787.tar.gz vdr-plugin-tvguide-ba90eeecb93ceeff123b33b2cbe27c4e3fcec787.tar.bz2 |
directories for timers and searchtimers can be edited
Diffstat (limited to 'recmenuitem.h')
-rw-r--r-- | recmenuitem.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recmenuitem.h b/recmenuitem.h index 5a0136e..47b6d01 100644 --- a/recmenuitem.h +++ b/recmenuitem.h @@ -267,6 +267,35 @@ public: cString GetStringValue(void) { return strings[currentVal].c_str(); }; }; +// --- cRecMenuItemSelectDirectory ------------------------------------------------------- +class cRecMenuItemSelectDirectory : public cRecMenuItem { +private: + cString text; + std::string originalFolder; + std::string seriesFolder; + std::vector<std::string> folders; + int currentVal; + char *callback; + int numValues; + cPixmap *pixmapVal; + void DrawValue(void); + void ReadFolders(cList<cNestedItem> *rootFolders, cString path); + int GetInitial(void); + void SetCallback(void); +public: + cRecMenuItemSelectDirectory(cString text, + std::string originalFolder, + bool active = false, + char *callback = NULL, + eRecMenuState action = rmsNotConsumed); + virtual ~cRecMenuItemSelectDirectory(void); + void SetPixmaps(void); + void Hide(void); + void Show(void); + eRecMenuState ProcessKey(eKeys Key); + void Draw(void); +}; + // --- cRecMenuItemText ------------------------------------------------------- class cRecMenuItemText : public cRecMenuItem { private: |