mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Rename isDummy() to IsDummy()
This commit is contained in:
parent
93af9304c8
commit
00ea3fb5ff
12
channelepg.c
12
channelepg.c
@ -214,7 +214,7 @@ void cChannelEpg::AddNewGridsAtStart() {
|
|||||||
const cSchedule *Schedule = NULL;
|
const cSchedule *Schedule = NULL;
|
||||||
Schedule = schedules->GetSchedule(channel);
|
Schedule = schedules->GetSchedule(channel);
|
||||||
if (!Schedule) {
|
if (!Schedule) {
|
||||||
if (firstGrid->isDummy()) {
|
if (firstGrid->IsDummy()) {
|
||||||
firstGrid->SetStartTime(timeManager->GetStart());
|
firstGrid->SetStartTime(timeManager->GetStart());
|
||||||
firstGrid->SetEndTime(timeManager->GetEnd());
|
firstGrid->SetEndTime(timeManager->GetEnd());
|
||||||
}
|
}
|
||||||
@ -238,7 +238,7 @@ void cChannelEpg::AddNewGridsAtStart() {
|
|||||||
}
|
}
|
||||||
if (dummyNeeded) {
|
if (dummyNeeded) {
|
||||||
firstGrid = grids.First();
|
firstGrid = grids.First();
|
||||||
if (firstGrid->isDummy()) {
|
if (firstGrid->IsDummy()) {
|
||||||
firstGrid->SetStartTime(timeManager->GetStart());
|
firstGrid->SetStartTime(timeManager->GetStart());
|
||||||
if (firstGrid->EndTime() >= timeManager->GetEnd())
|
if (firstGrid->EndTime() >= timeManager->GetEnd())
|
||||||
firstGrid->SetEndTime(timeManager->GetEnd());
|
firstGrid->SetEndTime(timeManager->GetEnd());
|
||||||
@ -270,7 +270,7 @@ void cChannelEpg::AddNewGridsAtEnd() {
|
|||||||
const cSchedule *Schedule = NULL;
|
const cSchedule *Schedule = NULL;
|
||||||
Schedule = schedules->GetSchedule(channel);
|
Schedule = schedules->GetSchedule(channel);
|
||||||
if (!Schedule) {
|
if (!Schedule) {
|
||||||
if (lastGrid->isDummy()) {
|
if (lastGrid->IsDummy()) {
|
||||||
lastGrid->SetStartTime(timeManager->GetStart());
|
lastGrid->SetStartTime(timeManager->GetStart());
|
||||||
lastGrid->SetEndTime(timeManager->GetEnd());
|
lastGrid->SetEndTime(timeManager->GetEnd());
|
||||||
}
|
}
|
||||||
@ -293,7 +293,7 @@ void cChannelEpg::AddNewGridsAtEnd() {
|
|||||||
}
|
}
|
||||||
if (dummyNeeded) {
|
if (dummyNeeded) {
|
||||||
lastGrid = grids.Last();
|
lastGrid = grids.Last();
|
||||||
if (lastGrid->isDummy()) {
|
if (lastGrid->IsDummy()) {
|
||||||
lastGrid->SetEndTime(timeManager->GetEnd());
|
lastGrid->SetEndTime(timeManager->GetEnd());
|
||||||
if (lastGrid->StartTime() <= timeManager->GetStart())
|
if (lastGrid->StartTime() <= timeManager->GetStart())
|
||||||
lastGrid->SetStartTime(timeManager->GetStart());
|
lastGrid->SetStartTime(timeManager->GetStart());
|
||||||
@ -313,7 +313,7 @@ void cChannelEpg::ClearOutdatedStart() {
|
|||||||
grids.Del(firstGrid);
|
grids.Del(firstGrid);
|
||||||
firstGrid = NULL;
|
firstGrid = NULL;
|
||||||
} else {
|
} else {
|
||||||
if (firstGrid->isDummy()) {
|
if (firstGrid->IsDummy()) {
|
||||||
firstGrid->SetStartTime(timeManager->GetStart());
|
firstGrid->SetStartTime(timeManager->GetStart());
|
||||||
cGridElement *next = getNext(firstGrid);
|
cGridElement *next = getNext(firstGrid);
|
||||||
if (next) {
|
if (next) {
|
||||||
@ -337,7 +337,7 @@ void cChannelEpg::ClearOutdatedEnd() {
|
|||||||
grids.Del(lastGrid);
|
grids.Del(lastGrid);
|
||||||
lastGrid = NULL;
|
lastGrid = NULL;
|
||||||
} else {
|
} else {
|
||||||
if (lastGrid->isDummy()) {
|
if (lastGrid->IsDummy()) {
|
||||||
lastGrid->SetEndTime(timeManager->GetEnd());
|
lastGrid->SetEndTime(timeManager->GetEnd());
|
||||||
cGridElement *prev = getPrev(lastGrid);
|
cGridElement *prev = getPrev(lastGrid);
|
||||||
if (prev) {
|
if (prev) {
|
||||||
|
@ -51,7 +51,7 @@ public:
|
|||||||
bool Active(void) { return active; };
|
bool Active(void) { return active; };
|
||||||
bool HasTimer(void) {return hasTimer;};
|
bool HasTimer(void) {return hasTimer;};
|
||||||
bool HasSwitchTimer(void) {return hasSwitchTimer;};
|
bool HasSwitchTimer(void) {return hasSwitchTimer;};
|
||||||
bool isDummy(void) { return dummy; };
|
bool IsDummy(void) { return dummy; };
|
||||||
virtual void debug() {};
|
virtual void debug() {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ void cStatusHeader::DrawInfoText(cGridElement *grid) {
|
|||||||
pixmapText->Fill(clrTransparent);
|
pixmapText->Fill(clrTransparent);
|
||||||
int x = border;
|
int x = border;
|
||||||
int y = border;
|
int y = border;
|
||||||
if (!grid->isDummy()) {
|
if (!grid->IsDummy()) {
|
||||||
const cEvent *event = grid->GetEvent();
|
const cEvent *event = grid->GetEvent();
|
||||||
int newX = DrawPoster(event, x, y, height-2*border, border);
|
int newX = DrawPoster(event, x, y, height-2*border, border);
|
||||||
if (newX > 0) {
|
if (newX > 0) {
|
||||||
|
@ -468,7 +468,7 @@ void cTvGuideOsd::processKeyRight() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cTvGuideOsd::processKeyRed() {
|
void cTvGuideOsd::processKeyRed() {
|
||||||
if ((activeGrid == NULL) || activeGrid->isDummy())
|
if ((activeGrid == NULL) || activeGrid->IsDummy())
|
||||||
return;
|
return;
|
||||||
recMenuView->Start(activeGrid->GetEvent());
|
recMenuView->Start(activeGrid->GetEvent());
|
||||||
}
|
}
|
||||||
@ -613,7 +613,7 @@ eOSState cTvGuideOsd::ChannelSwitch(bool *alreadyUnlocked) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cTvGuideOsd::DetailedEPG() {
|
void cTvGuideOsd::DetailedEPG() {
|
||||||
if (!activeGrid->isDummy()) {
|
if (!activeGrid->IsDummy()) {
|
||||||
detailViewActive = true;
|
detailViewActive = true;
|
||||||
detailView = new cDetailView(activeGrid->GetEvent(), footer);
|
detailView = new cDetailView(activeGrid->GetEvent(), footer);
|
||||||
footer->SetDetailedViewMode();
|
footer->SetDetailedViewMode();
|
||||||
|
Loading…
Reference in New Issue
Block a user