Dokumentation VDR

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cDisplayChannel Class Reference

#include <menu.h>

Inheritance diagram for cDisplayChannel:

Inheritance graph
Collaboration diagram for cDisplayChannel:

Collaboration graph

Detailed Description

Display Channel

Definition at line 36 of file menu.h.

Public Methods

 cDisplayChannel (int Number, bool Switched)
 cDisplayChannel (eKeys FirstKey)
virtual ~cDisplayChannel ()
virtual eOSState ProcessKey (eKeys Key)

Private Methods

void DisplayChannel (const cChannel *Channel)
void DisplayInfo (void)
void Refresh (void)

Private Attributes

int group
bool withInfo
int lines
int lastTime
int number

Constructor & Destructor Documentation

cDisplayChannel::cDisplayChannel int    Number,
bool    Switched

Definition at line 2378 of file menu.c.

References DisplayChannel(), DisplayInfo(), group, lastTime, lines, number, time_ms(), and withInfo.

cDisplayChannel::cDisplayChannel eKeys    FirstKey

Definition at line 2395 of file menu.c.

References group, lastTime, lines, number, ProcessKey(), and time_ms().

cDisplayChannel::~cDisplayChannel   [virtual]

Definition at line 2407 of file menu.c.

Member Function Documentation

void cDisplayChannel::DisplayChannel const cChannel   Channel [private]

Definition at line 2412 of file menu.c.

References DayDateTime(), cChannel::GroupSep(), cStatus::MsgOsdChannel(), cChannel::Name(), number, cChannel::Number(), tr, and cOsdObject::Width().

Referenced by cDisplayChannel(), ProcessKey(), and Refresh().

void cDisplayChannel::DisplayInfo void    [private]

Definition at line 2434 of file menu.c.

References clrBackground, clrYellow, cSchedule::GetFollowingEvent(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), cEventInfo::GetSubtitle(), cEventInfo::GetTime(), cEventInfo::GetTimeString(), cEventInfo::GetTitle(), isempty(), lastTime, lines, cStatus::MsgOsdProgramme(), cSIProcessor::Schedules(), and time_ms().

Referenced by cDisplayChannel(), and ProcessKey().

eOSState cDisplayChannel::ProcessKey eKeys    Key [virtual]

Reimplemented from cOsdObject.

Definition at line 2500 of file menu.c.

References DIRECTCHANNELTIMEOUT, DisplayChannel(), DisplayInfo(), eOSState, group, cChannel::GroupSep(), cListObject::Index(), INFOTIMEOUT, k0, k1, k9, k_Release, k_Repeat, kChanDn, kChanUp, kDown, kLeft, kNone, kOk, kRight, kUp, lastTime, NORMALKEY, number, osContinue, osEnd, cRemote::Put(), Refresh(), cDevice::SwitchChannel(), time_ms(), and withInfo.

Referenced by cDisplayChannel().

void cDisplayChannel::Refresh void    [private]

Definition at line 2492 of file menu.c.

References DisplayChannel(), lastTime, lines, and time_ms().

Referenced by ProcessKey().

Field Documentation

int cDisplayChannel::group [private]

Definition at line 38 of file menu.h.

Referenced by cDisplayChannel(), and ProcessKey().

int cDisplayChannel::lastTime [private]

Definition at line 41 of file menu.h.

Referenced by cDisplayChannel(), DisplayInfo(), ProcessKey(), and Refresh().

int cDisplayChannel::lines [private]

Definition at line 40 of file menu.h.

Referenced by cDisplayChannel(), DisplayInfo(), and Refresh().

int cDisplayChannel::number [private]

Definition at line 42 of file menu.h.

Referenced by cDisplayChannel(), DisplayChannel(), and ProcessKey().

bool cDisplayChannel::withInfo [private]

Definition at line 39 of file menu.h.

Referenced by cDisplayChannel(), and ProcessKey().

The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:08 2003 for VDR by doxygen1.3-rc2