diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-15 15:23:14 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-18 16:53:27 +0200 |
commit | a1aa30025958754feadc4313f56b63cc1d260fc0 (patch) | |
tree | 2549e6345eb03d4cfa680dfa7470ef36b7eb248a /recmenuitem.h | |
parent | b7970e5723083d086d3e921ebf7651b934a10909 (diff) | |
download | vdr-plugin-tvguide-a1aa30025958754feadc4313f56b63cc1d260fc0.tar.gz vdr-plugin-tvguide-a1aa30025958754feadc4313f56b63cc1d260fc0.tar.bz2 |
Rework indent & refresh
Diffstat (limited to 'recmenuitem.h')
-rw-r--r-- | recmenuitem.h | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/recmenuitem.h b/recmenuitem.h index 6f1250e..9c7c261 100644 --- a/recmenuitem.h +++ b/recmenuitem.h @@ -194,8 +194,6 @@ private: int *callback; int minVal; int maxVal; -// bool refresh; - int indent; cPixmap *pixmapVal; bool fresh; void DrawValue(void); @@ -204,11 +202,9 @@ public: int initialVal, int minVal, int maxVal, -// bool refresh = false, bool active = false, int *callback = NULL, - eRecMenuState action = rmsNotConsumed, - int indent = 0); + eRecMenuState action = rmsNotConsumed); virtual ~cRecMenuItemInt(void); void SetPixmaps(void); void Hide(void); @@ -224,7 +220,6 @@ class cRecMenuItemBool : public cRecMenuItem { private: cString text; bool yes; - int indent; bool *callback; cPixmap *pixmapVal; bool refresh; @@ -232,18 +227,16 @@ private: public: cRecMenuItemBool(cString text, bool initialVal, - bool refresh = false, bool active = false, bool *callback = NULL, eRecMenuState action = rmsNotConsumed, - int indent = 0); + bool refresh = false); cRecMenuItemBool(cString text, bool initialVal, - bool refresh = false, bool active = false, int *callback = NULL, eRecMenuState action = rmsNotConsumed, - int indent = 0); + bool refresh = false); virtual ~cRecMenuItemBool(void); void SetPixmaps(void); void Hide(void); @@ -260,7 +253,6 @@ private: int currentVal; int *callback; bool refresh; - int indent; std::vector<std::string> strings; int numValues; cPixmap *pixmapVal; @@ -272,8 +264,7 @@ public: bool active = false, int *callback = NULL, eRecMenuState action = rmsNotConsumed, - bool refresh = false, - int indent = 0); + bool refresh = false); virtual ~cRecMenuItemSelect(void); void SetPixmaps(void); void Hide(void); @@ -292,7 +283,6 @@ private: std::vector<std::string> folders; int currentVal; char *callback; - int indent; int numValues; cPixmap *pixmapVal; void DrawValue(void); @@ -304,8 +294,7 @@ public: bool active = false, char *callback = NULL, eRecMenuState action = rmsNotConsumed, - bool isSearchTimer = false, - int indent = 0); + bool isSearchTimer = false); virtual ~cRecMenuItemSelectDirectory(void); void SetPixmaps(void); void Hide(void); @@ -379,7 +368,6 @@ private: cString text; int value; int *callback; - int indent; int mm; int hh; int pos; @@ -391,8 +379,7 @@ public: int initialVal, bool active = false, int *callback = NULL, - eRecMenuState action = rmsNotConsumed, - int indent = 0); + eRecMenuState action = rmsNotConsumed); virtual ~cRecMenuItemTime(void); void SetPixmaps(void); void Hide(void); @@ -512,7 +499,6 @@ private: const cChannel *channel; int channelNumber; int *callback; - int indent; bool initialChannelSet; bool fresh; cPixmap *pixmapChannel; @@ -522,8 +508,7 @@ public: const cChannel *initialChannel, bool active = false, int *callback = NULL, - eRecMenuState action = rmsNotConsumed, - int indent = 0); + eRecMenuState action = rmsNotConsumed); virtual ~cRecMenuItemChannelChooser(void); void SetPixmaps(void); void Hide(void); @@ -539,7 +524,6 @@ private: cString text; int weekdays; int *callback; - int indent; bool epgsearchMode; std::string days; int daysX; @@ -557,8 +541,7 @@ public: cRecMenuItemDayChooser (cString text, int weekdays, bool active = false, - int *callback = NULL, - int indent = 0); + int *callback = NULL); virtual ~cRecMenuItemDayChooser(void); void SetPixmaps(void); void Hide(void); |