summaryrefslogtreecommitdiff
path: root/dummygrid.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-05-31 13:58:22 +0200
committerlouis <louis.braun@gmx.de>2013-05-31 13:58:22 +0200
commit4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b (patch)
tree399aebc6fa54aad39fe3e712f44aa7ec3275f783 /dummygrid.c
parent4f93ac2516dacdec5e142aaf60a06c6e1c16daf3 (diff)
downloadvdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.gz
vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.bz2
Added channel group support
Diffstat (limited to 'dummygrid.c')
-rw-r--r--dummygrid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dummygrid.c b/dummygrid.c
index f2c5c03..97a8d1a 100644
--- a/dummygrid.c
+++ b/dummygrid.c
@@ -21,7 +21,7 @@ void cDummyGrid::PositionPixmap() {
int x0, y0;
if (tvguideConfig.displayMode == eVertical) {
x0 = column->getX();
- y0 = tvguideConfig.statusHeaderHeight + tvguideConfig.channelHeaderHeight;
+ y0 = tvguideConfig.statusHeaderHeight + tvguideConfig.channelHeaderHeight + tvguideConfig.channelGroupsHeight;
if ( column->Start() < StartTime() ) {
y0 += (StartTime() - column->Start())/60*tvguideConfig.minutePixel;
}
@@ -34,7 +34,7 @@ void cDummyGrid::PositionPixmap() {
pixmap->SetViewPort(cRect(x0, y0, tvguideConfig.colWidth, viewportHeight));
}
} else if (tvguideConfig.displayMode == eHorizontal) {
- x0 = tvguideConfig.channelHeaderWidth;
+ x0 = tvguideConfig.channelHeaderWidth + tvguideConfig.channelGroupsWidth;
y0 = column->getY();
if ( column->Start() < StartTime() ) {
x0 += (StartTime() - column->Start())/60*tvguideConfig.minutePixel;