summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-02 15:31:10 +0100
committerlouis <louis.braun@gmx.de>2013-03-02 15:31:10 +0100
commit4932c641ee7deb759eeb8c21840f6ed8db7f236d (patch)
treee6aa911501b7619cfa39b4b64e216d1cc3bcdfd9 /displaymenu.c
parentd099b5d5f922e6773ad5c5165e951fc280c5c5c1 (diff)
downloadskin-nopacity-4932c641ee7deb759eeb8c21840f6ed8db7f236d.tar.gz
skin-nopacity-4932c641ee7deb759eeb8c21840f6ed8db7f236d.tar.bz2
nOpacity mirrored
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 59730e4..c184b58 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -373,7 +373,7 @@ bool cNopacityDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Cur
item->SetFontSmall(menuView->GetMenuItemFontSmall(mcSchedule));
item->SetFontEPGWindow(menuView->GetEPGWindowFont());
int spaceTop = menuView->GetMenuTop(currentNumItems, itemSize.Y());
- item->SetGeometry(Index, spaceTop, menuView->spaceMenu, itemSize.X(), itemSize.Y());
+ item->SetGeometry(Index, spaceTop, menuView->GetMenuItemLeft(itemSize.X()), itemSize.X(), itemSize.Y(), menuView->spaceMenu);
item->SetTextWindow(menuView->GetDescriptionTextWindowSize(mcSchedule));
item->SetCurrent(Current);
item->SetBackgrounds(handleBackgrounds);
@@ -410,7 +410,7 @@ bool cNopacityDisplayMenu::SetItemTimer(const cTimer *Timer, int Index, bool Cur
item->SetFont(menuView->GetMenuItemFont(mcTimer));
item->SetFontSmall(menuView->GetMenuItemFontSmall(mcTimer));
int spaceTop = menuView->GetMenuTop(currentNumItems, itemSize.Y());
- item->SetGeometry(Index, spaceTop, menuView->spaceMenu, itemSize.X(), itemSize.Y());
+ item->SetGeometry(Index, spaceTop, menuView->GetMenuItemLeft(itemSize.X()), itemSize.X(), itemSize.Y(), menuView->spaceMenu);
item->SetCurrent(Current);
item->SetBackgrounds(handleBackgrounds);
item->CreateText();
@@ -446,7 +446,7 @@ bool cNopacityDisplayMenu::SetItemChannel(const cChannel *Channel, int Index, bo
item->SetFont(menuView->GetMenuItemFont(mcChannel));
item->SetFontSmall(menuView->GetMenuItemFontSmall(mcChannel));
int spaceTop = menuView->GetMenuTop(currentNumItems, itemSize.Y());
- item->SetGeometry(Index, spaceTop, menuView->spaceMenu, itemSize.X(), itemSize.Y());
+ item->SetGeometry(Index, spaceTop, menuView->GetMenuItemLeft(itemSize.X()), itemSize.X(), itemSize.Y(), menuView->spaceMenu);
item->SetCurrent(Current);
item->SetBackgrounds(handleBackgrounds);
item->CreateText();
@@ -487,7 +487,7 @@ bool cNopacityDisplayMenu::SetItemRecording(const cRecording *Recording, int Ind
item->SetFontSmall(menuView->GetMenuItemFontSmall(mcRecording));
item->SetFontEPGWindow(menuView->GetEPGWindowFont());
int spaceTop = menuView->GetMenuTop(currentNumItems, itemSize.Y());
- item->SetGeometry(Index, spaceTop, menuView->spaceMenu, itemSize.X(), itemSize.Y());
+ item->SetGeometry(Index, spaceTop, menuView->GetMenuItemLeft(itemSize.X()), itemSize.X(), itemSize.Y(), menuView->spaceMenu);
item->SetTextWindow(menuView->GetDescriptionTextWindowSize(mcRecording));
item->SetCurrent(Current);
item->SetBackgrounds(handleBackgrounds);
@@ -541,7 +541,7 @@ void cNopacityDisplayMenu::SetItem(const char *Text, int Index, bool Current, bo
item->SetFont(menuView->GetMenuItemFont(mcUnknown));
}
int spaceTop = menuView->GetMenuTop(currentNumItems, itemSize.Y());
- item->SetGeometry(Index, spaceTop, menuView->spaceMenu, itemSize.X(), itemSize.Y());
+ item->SetGeometry(Index, spaceTop, menuView->GetMenuItemLeft(itemSize.X()), itemSize.X(), itemSize.Y(), menuView->spaceMenu);
item->SetCurrent(Current);
item->SetBackgrounds(handleBackgrounds);
item->SetTabs(strItems, tabItems, MaxTabs);