diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-03-12 18:14:36 +0100 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-03-12 18:14:36 +0100 |
commit | 17f89bafd559b28b5a175aa82730226dfe9f7d69 (patch) | |
tree | 7098824c14f462d44eaaccf5dc4c6975673ed275 /mymenusetup.c | |
parent | babfdd26f9d2fbe164205951413d74aa6d21ef23 (diff) | |
download | vdr-plugin-extrecmenu-17f89bafd559b28b5a175aa82730226dfe9f7d69.tar.gz vdr-plugin-extrecmenu-17f89bafd559b28b5a175aa82730226dfe9f7d69.tar.bz2 |
Version 0.3v0.3
- details for directories are shown now (# of entries, # of new entries)
- option to shown the length of a recording
- option to hide recording date, time and/or length
Diffstat (limited to 'mymenusetup.c')
-rw-r--r-- | mymenusetup.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mymenusetup.c b/mymenusetup.c new file mode 100644 index 0000000..2f3ae40 --- /dev/null +++ b/mymenusetup.c @@ -0,0 +1,22 @@ +#include <vdr/menu.h> +#include "mymenusetup.h" + +mySetup mysetup; + +myMenuSetup::myMenuSetup() +{ + showrecdate=mysetup.ShowRecDate; + showrectime=mysetup.ShowRecTime; + showreclength=mysetup.ShowRecLength; + + Add(new cMenuEditBoolItem(tr("Show recording date"),&showrecdate)); + Add(new cMenuEditBoolItem(tr("Show recording time"),&showrectime)); + Add(new cMenuEditBoolItem(tr("Show recording length"),&showreclength)); +} + +void myMenuSetup::Store() +{ + SetupStore("ShowRecDate",mysetup.ShowRecDate=showrecdate); + SetupStore("ShowRecTime",mysetup.ShowRecTime=showrectime); + SetupStore("ShowRecLength",mysetup.ShowRecLength=showreclength); +} |