diff options
author | louis <louis.braun@gmx.de> | 2014-01-25 15:04:03 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-25 15:04:03 +0100 |
commit | 0cbc226651dbce5c01167ba24edc1d417634fb39 (patch) | |
tree | 10524b67acc2f3ca07eef3254649d2d28f1bcf51 /footer.c | |
parent | 0d3d2efd62817b7ed9fe290ec08801eb19e081b0 (diff) | |
download | vdr-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.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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);
}
|