mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Fixed two bugs in blue key handling
This commit is contained in:
parent
a8b7c95434
commit
88bb260f4d
2
config.c
2
config.c
@ -28,7 +28,7 @@ cTvguideConfig::cTvguideConfig() {
|
||||
hugeStepHours = 24;
|
||||
channelJumpMode = eNumJump;
|
||||
jumpChannels = 0;
|
||||
blueKeyMode = eBlueKeySwitch;
|
||||
blueKeyMode = 0;
|
||||
closeOnSwitch = 1;
|
||||
numkeyMode = 0;
|
||||
useRemoteTimers = 0;
|
||||
|
6
config.h
6
config.h
@ -30,12 +30,14 @@ enum {
|
||||
eStyleFlat
|
||||
};
|
||||
|
||||
enum {
|
||||
eBlueKeySwitch,
|
||||
|
||||
enum eBlueKeyMode {
|
||||
eBlueKeySwitch = 0,
|
||||
eBlueKeyEPG,
|
||||
eBlueKeyFavorites
|
||||
};
|
||||
|
||||
|
||||
class cTvguideConfig {
|
||||
private:
|
||||
public:
|
||||
|
1
footer.c
1
footer.c
@ -87,6 +87,7 @@ void cFooter::LeaveDetailedViewMode(const cChannel *channel) {
|
||||
if (tvguideConfig.channelJumpMode == eNumJump) {
|
||||
drawGreenButton();
|
||||
drawYellowButton();
|
||||
drawBlueButton();
|
||||
} else {
|
||||
UpdateGroupButtons(channel, true);
|
||||
}
|
||||
|
@ -670,7 +670,7 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) {
|
||||
osdManager.flush();
|
||||
state = osContinue;
|
||||
}
|
||||
} else if ((Key & ~k_Repeat) == kOk && (tvguideConfig.blueKeyMode = eBlueKeyEPG)) {
|
||||
} else if ((Key & ~k_Repeat) == kOk && (tvguideConfig.blueKeyMode == eBlueKeyEPG)) {
|
||||
delete detailView;
|
||||
detailView = NULL;
|
||||
detailViewActive = false;
|
||||
|
Loading…
Reference in New Issue
Block a user