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;
|
hugeStepHours = 24;
|
||||||
channelJumpMode = eNumJump;
|
channelJumpMode = eNumJump;
|
||||||
jumpChannels = 0;
|
jumpChannels = 0;
|
||||||
blueKeyMode = eBlueKeySwitch;
|
blueKeyMode = 0;
|
||||||
closeOnSwitch = 1;
|
closeOnSwitch = 1;
|
||||||
numkeyMode = 0;
|
numkeyMode = 0;
|
||||||
useRemoteTimers = 0;
|
useRemoteTimers = 0;
|
||||||
|
6
config.h
6
config.h
@ -30,12 +30,14 @@ enum {
|
|||||||
eStyleFlat
|
eStyleFlat
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
|
||||||
eBlueKeySwitch,
|
enum eBlueKeyMode {
|
||||||
|
eBlueKeySwitch = 0,
|
||||||
eBlueKeyEPG,
|
eBlueKeyEPG,
|
||||||
eBlueKeyFavorites
|
eBlueKeyFavorites
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class cTvguideConfig {
|
class cTvguideConfig {
|
||||||
private:
|
private:
|
||||||
public:
|
public:
|
||||||
|
1
footer.c
1
footer.c
@ -87,6 +87,7 @@ void cFooter::LeaveDetailedViewMode(const cChannel *channel) {
|
|||||||
if (tvguideConfig.channelJumpMode == eNumJump) {
|
if (tvguideConfig.channelJumpMode == eNumJump) {
|
||||||
drawGreenButton();
|
drawGreenButton();
|
||||||
drawYellowButton();
|
drawYellowButton();
|
||||||
|
drawBlueButton();
|
||||||
} else {
|
} else {
|
||||||
UpdateGroupButtons(channel, true);
|
UpdateGroupButtons(channel, true);
|
||||||
}
|
}
|
||||||
|
@ -670,7 +670,7 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) {
|
|||||||
osdManager.flush();
|
osdManager.flush();
|
||||||
state = osContinue;
|
state = osContinue;
|
||||||
}
|
}
|
||||||
} else if ((Key & ~k_Repeat) == kOk && (tvguideConfig.blueKeyMode = eBlueKeyEPG)) {
|
} else if ((Key & ~k_Repeat) == kOk && (tvguideConfig.blueKeyMode == eBlueKeyEPG)) {
|
||||||
delete detailView;
|
delete detailView;
|
||||||
detailView = NULL;
|
detailView = NULL;
|
||||||
detailViewActive = false;
|
detailViewActive = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user