summaryrefslogtreecommitdiff
path: root/footer.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-01-25 15:04:03 +0100
committerlouis <louis.braun@gmx.de>2014-01-25 15:04:03 +0100
commit0cbc226651dbce5c01167ba24edc1d417634fb39 (patch)
tree10524b67acc2f3ca07eef3254649d2d28f1bcf51 /footer.c
parent0d3d2efd62817b7ed9fe290ec08801eb19e081b0 (diff)
downloadvdr-plugin-tvguide-0cbc226651dbce5c01167ba24edc1d417634fb39.tar.gz
vdr-plugin-tvguide-0cbc226651dbce5c01167ba24edc1d417634fb39.tar.bz2
removed color buttons if detailed view is called from recmenu
Diffstat (limited to 'footer.c')
-rw-r--r--footer.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/footer.c b/footer.c
index 3e376d8..7a5b9e5 100644
--- a/footer.c
+++ b/footer.c
@@ -74,20 +74,24 @@ void cFooter::UpdateGroupButtons(const cChannel *channel, bool force) {
}
}
-void cFooter::SetDetailedViewMode(void) {
+void cFooter::SetDetailedViewMode(bool fromRecMenu) {
ClearButton(positionButtons[1]);
ClearButton(positionButtons[2]);
- if (tvguideConfig.blueKeyMode != eBlueKeySwitch) {
+ if (fromRecMenu) {
+ ClearButton(positionButtons[0]);
+ ClearButton(positionButtons[3]);
+ } else if (tvguideConfig.blueKeyMode != eBlueKeySwitch) {
ClearButton(positionButtons[3]);
drawBlueButton(true);
}
}
void cFooter::LeaveDetailedViewMode(const cChannel *channel) {
+ drawRedButton();
+ drawBlueButton();
if (tvguideConfig.channelJumpMode == eNumJump) {
drawGreenButton();
drawYellowButton();
- drawBlueButton();
} else {
UpdateGroupButtons(channel, true);
}