summaryrefslogtreecommitdiff
path: root/channelgroup.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 11:28:11 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 11:44:39 +0200
commit0766d679806e1ed098f562672e88ef324c3cd680 (patch)
tree727689519e3f2a6b098f7dc1337cb639f44d3321 /channelgroup.c
parent3513f82a8c4e01bc375453c9dcb8001b7ea82cd2 (diff)
downloadvdr-plugin-tvguide-0766d679806e1ed098f562672e88ef324c3cd680.tar.gz
vdr-plugin-tvguide-0766d679806e1ed098f562672e88ef324c3cd680.tar.bz2
Change tvguideConfig to Config
Diffstat (limited to 'channelgroup.c')
-rw-r--r--channelgroup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/channelgroup.c b/channelgroup.c
index cc1864c..99420d6 100644
--- a/channelgroup.c
+++ b/channelgroup.c
@@ -36,12 +36,12 @@ void cChannelGroupGrid::SetBackground() {
void cChannelGroupGrid::SetGeometry(int start, int end) {
int x, y, width, height;
- if (tvguideConfig.displayMode == eVertical) {
+ if (config.displayMode == eVertical) {
x = geoManager.timeLineWidth + start*geoManager.colWidth;
y = geoManager.statusHeaderHeight;
width = (end - start + 1) * geoManager.colWidth;
height = geoManager.channelGroupsHeight;
- } else if (tvguideConfig.displayMode == eHorizontal) {
+ } else if (config.displayMode == eHorizontal) {
x = 0;
y = geoManager.statusHeaderHeight + geoManager.timeLineHeight + start*geoManager.rowHeight;
width = geoManager.channelGroupsWidth;
@@ -51,17 +51,17 @@ void cChannelGroupGrid::SetGeometry(int start, int end) {
}
void cChannelGroupGrid::Draw(void) {
- if (tvguideConfig.style == eStyleGraphical) {
+ if (config.style == eStyleGraphical) {
drawBackgroundGraphical(bgChannelGroup);
} else {
drawBackground();
drawBorder();
}
tColor colorText = theme.Color(clrFont);
- tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent;
- if (tvguideConfig.displayMode == eVertical) {
+ tColor colorTextBack = (config.style == eStyleFlat)?color:clrTransparent;
+ if (config.displayMode == eVertical) {
DrawVertical(colorText, colorTextBack);
- } else if (tvguideConfig.displayMode == eHorizontal) {
+ } else if (config.displayMode == eHorizontal) {
DrawHorizontal(colorText, colorTextBack);
}
}