diff options
author | louis <louis.braun@gmx.de> | 2013-04-14 12:00:27 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-04-14 12:00:27 +0200 |
commit | 9f70bbf3cd68c12c913dbc84ed28f7d2f7430487 (patch) | |
tree | 4e39ab87c18f90ea5865cc3b78f89a424c91166f /displaymenuview.c | |
parent | 47e4d8da9edc889886edf683390d36bb4a515490 (diff) | |
download | skin-nopacity-9f70bbf3cd68c12c913dbc84ed28f7d2f7430487.tar.gz skin-nopacity-9f70bbf3cd68c12c913dbc84ed28f7d2f7430487.tar.bz2 |
Added display of next Schedules in Channel Menu
Diffstat (limited to 'displaymenuview.c')
-rw-r--r-- | displaymenuview.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/displaymenuview.c b/displaymenuview.c index c43ebaf..d5979ce 100644 --- a/displaymenuview.c +++ b/displaymenuview.c @@ -101,12 +101,15 @@ void cNopacityDisplayMenuView::SetGeometry(void) { void cNopacityDisplayMenuView::SetDescriptionTextWindowSize(void) { int xSchedules = (config.menuAdjustLeft) ? (2 * spaceMenu + contentWidthSchedules + widthScrollbar) : (spaceMenu); int xRecordings = (config.menuAdjustLeft) ? (2 * spaceMenu + contentWidthRecordings + widthScrollbar) : (spaceMenu); + int xChannels = (config.menuAdjustLeft) ? (2 * spaceMenu + contentWidthChannels + widthScrollbar) : (spaceMenu); int height = config.menuHeightInfoWindow * (contentHeight - 2*spaceMenu) / 100; int y = headerHeight + (contentHeight - height - spaceMenu); int widthSchedules = (config.menuAdjustLeft) ? (osdWidth - xSchedules - spaceMenu) : (osdWidth - contentWidthSchedules - widthScrollbar - 2 * spaceMenu); int widthRecordings = (config.menuAdjustLeft) ? (osdWidth - xRecordings - spaceMenu) : (osdWidth - contentWidthRecordings - widthScrollbar - 2 * spaceMenu); + int widthChannels = (config.menuAdjustLeft) ? (osdWidth - xChannels - spaceMenu) : (osdWidth - contentWidthChannels - widthScrollbar - 2 * spaceMenu); textWindowSizeSchedules = cRect(xSchedules,y,widthSchedules,height); textWindowSizeRecordings = cRect(xRecordings,y,widthRecordings,height); + textWindowSizeChannels = cRect(xChannels,y,widthChannels,height); } cRect *cNopacityDisplayMenuView::GetDescriptionTextWindowSize(eMenuCategory menuCat) { @@ -115,6 +118,8 @@ cRect *cNopacityDisplayMenuView::GetDescriptionTextWindowSize(eMenuCategory menu return &textWindowSizeSchedules; case mcRecording: return &textWindowSizeRecordings; + case mcChannel: + return &textWindowSizeChannels; default: return NULL; } |