summaryrefslogtreecommitdiff
path: root/recmenus.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-07-20 11:48:00 +0200
committerlouis <louis.braun@gmx.de>2013-07-20 11:48:00 +0200
commit9f351151edaf8195446b591ab9ac1d43f038c7ca (patch)
tree2846eb93487807a879bd0f290cba956a8fb647e2 /recmenus.c
parent98a301eff519a3fcf8f77055ebaa2c1dce9bb30f (diff)
downloadvdr-plugin-tvguide-9f351151edaf8195446b591ab9ac1d43f038c7ca.tar.gz
vdr-plugin-tvguide-9f351151edaf8195446b591ab9ac1d43f038c7ca.tar.bz2
left alignment of folders menu
Diffstat (limited to 'recmenus.c')
-rw-r--r--recmenus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/recmenus.c b/recmenus.c
index 62cf238..0327a10 100644
--- a/recmenus.c
+++ b/recmenus.c
@@ -76,12 +76,12 @@ public:
infoItem->CalculateHeight(width - 2 * border);
SetHeader(infoItem);
- AddMenuItemScroll(new cRecMenuItemButton(tr("root video folder"), nextAction, true, false));
+ AddMenuItemScroll(new cRecMenuItemButton(tr("root video folder"), nextAction, true, false, true));
readFolders(NULL, "");
int numFolders = folders.size();
for (int i=0; i < numFolders; i++) {
- AddMenuItemScroll(new cRecMenuItemButton(*folders[i], nextAction, false, false));
+ AddMenuItemScroll(new cRecMenuItemButton(*folders[i], nextAction, false, false, true));
if (!CheckHeight())
break;
}
@@ -92,10 +92,10 @@ public:
};
cRecMenuItem *GetMenuItem(int number) {
if (number == 0) {
- cRecMenuItem *result = new cRecMenuItemButton(tr("root video folder"), rmsInstantRecord, false, false);
+ cRecMenuItem *result = new cRecMenuItemButton(tr("root video folder"), rmsInstantRecord, false, false, true);
return result;
} else if ((number > 0) && (number < folders.size()+1)) {
- cRecMenuItem *result = new cRecMenuItemButton(*folders[number-1], rmsInstantRecord, false, false);
+ cRecMenuItem *result = new cRecMenuItemButton(*folders[number-1], rmsInstantRecord, false, false, true);
return result;
}
return NULL;