diff options
author | louis <louis.braun@gmx.de> | 2013-05-31 13:58:22 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-31 13:58:22 +0200 |
commit | 4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b (patch) | |
tree | 399aebc6fa54aad39fe3e712f44aa7ec3275f783 /dummygrid.c | |
parent | 4f93ac2516dacdec5e142aaf60a06c6e1c16daf3 (diff) | |
download | vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.gz vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.bz2 |
Added channel group support
Diffstat (limited to 'dummygrid.c')
-rw-r--r-- | dummygrid.c | 4 |
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; |