vdr
2.2.0
|
Public Member Functions | |
cMenuChannels (void) | |
~cMenuChannels () | |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0) | |
virtual | ~cOsdMenu () |
virtual bool | NeedsFastResponse (void) |
void | SetMenuCategory (eMenuCategory MenuCategory) |
void | SetMenuSortMode (eMenuSortMode MenuSortMode) |
int | Current (void) const |
void | Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL) |
void | Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL) |
virtual void | Display (void) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
bool | IsMenu (void) const |
virtual void | Show (void) |
![]() | |
cOsdItem * | Get (int Index) const |
cOsdItem * | First (void) const |
cOsdItem * | Last (void) const |
cOsdItem * | Prev (const cOsdItem *object) const |
cOsdItem * | Next (const cOsdItem *object) const |
![]() | |
virtual | ~cListBase () |
void | Add (cListObject *Object, cListObject *After=NULL) |
void | Ins (cListObject *Object, cListObject *Before=NULL) |
void | Del (cListObject *Object, bool DeleteObject=true) |
void | Move (cListObject *From, cListObject *To) |
cListObject * | Get (int Index) const |
int | Count (void) const |
void | Sort (void) |
Protected Member Functions | |
eOSState | Number (eKeys Key) |
eOSState | Switch (void) |
eOSState | Edit (void) |
eOSState | New (void) |
eOSState | Delete (void) |
virtual void | Move (int From, int To) |
![]() | |
void | SetDisplayMenu (void) |
cSkinDisplayMenu * | DisplayMenu (void) |
const char * | hk (const char *s) |
void | SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0) |
void | SetHasHotkeys (bool HasHotkeys=true) |
virtual void | Clear (void) |
const char * | Title (void) |
bool | SelectableItem (int idx) |
void | SetCurrent (cOsdItem *Item) |
void | RefreshCurrent (void) |
void | DisplayCurrent (bool Current) |
void | DisplayItem (cOsdItem *Item) |
void | CursorUp (void) |
void | CursorDown (void) |
void | PageUp (void) |
void | PageDown (void) |
void | Mark (void) |
eOSState | HotKey (eKeys Key) |
eOSState | AddSubMenu (cOsdMenu *SubMenu) |
eOSState | CloseSubMenu (bool ReDisplay=true) |
bool | HasSubMenu (void) |
cOsdMenu * | SubMenu (void) |
void | SetStatus (const char *s) |
void | SetTitle (const char *Title) |
void | SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
virtual void | Del (int Index) |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
cListBase (void) | |
Private Member Functions | |
void | Setup (void) |
cChannel * | GetChannel (int Index) |
void | Propagate (void) |
Private Attributes | |
int | number |
cTimeMs | numberTimer |
Additional Inherited Members | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cMenuChannels::cMenuChannels | ( | void | ) |
Definition at line 370 of file menu.c.
References Channels, cChannels::IncBeingEdited(), mcChannel, number, cOsdMenu::SetMenuCategory(), and Setup().
cMenuChannels::~cMenuChannels | ( | ) |
Definition at line 379 of file menu.c.
References Channels, and cChannels::DecBeingEdited().
|
protected |
Definition at line 475 of file menu.c.
References Channels, cInterface::Confirm(), cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Del(), cListBase::Del(), cList< T >::Get(), cChannels::GetByNumber(), GetChannel(), cChannels::GetNextNormal(), cChannels::GetPrevNormal(), cOsdMenu::HasSubMenu(), cChannel::HasTimer(), cListObject::Index(), Interface, isyslog, cSkins::Message(), mtError, cChannel::Number(), osContinue, cDevice::PrimaryDevice(), Propagate(), cDevice::Replaying(), cDevice::SetCurrentChannel(), cChannels::SetModified(), Skins, cChannels::SwitchTo(), tr, and cDevice::Transferring().
Referenced by ProcessKey().
|
protected |
Definition at line 458 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), and osContinue.
Referenced by ProcessKey().
|
private |
Definition at line 409 of file menu.c.
References cMenuChannelItem::Channel(), and cList< cOsdItem >::Get().
Referenced by Delete(), Edit(), Move(), New(), Setup(), and Switch().
|
protectedvirtual |
Reimplemented from cListBase.
Definition at line 512 of file menu.c.
References Channels, cDevice::CurrentChannel(), cChannels::GetByNumber(), GetChannel(), isyslog, cListBase::Move(), cChannel::Number(), cDevice::PrimaryDevice(), Propagate(), cDevice::Replaying(), cDevice::SetCurrentChannel(), cChannels::SetModified(), cChannels::SwitchTo(), and cDevice::Transferring().
|
protected |
Definition at line 468 of file menu.c.
References cOsdMenu::AddSubMenu(), cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), and osContinue.
Referenced by ProcessKey().
Definition at line 424 of file menu.c.
References CHANNELNUMBERTIMEOUT, cOsdMenu::Display(), cList< cOsdItem >::First(), cOsdMenu::HasSubMenu(), cMenuChannelItem::IncSortMode(), k0, cListObject::Next(), number, numberTimer, osContinue, cTimeMs::Set(), cOsdMenu::SetCurrent(), Setup(), and cTimeMs::TimedOut().
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 535 of file menu.c.
References cOsdMenu::Add(), Channels, cOsdMenu::CloseSubMenu(), Delete(), Edit(), cOsdMenu::HasSubMenu(), k0, k9, kBlue, kGreen, kOk, kRed, kYellow, cList< T >::Last(), cOsdMenu::Mark(), New(), Number(), osUnknown, osUser1, cOsdMenu::ProcessKey(), and Switch().
|
private |
Definition at line 415 of file menu.c.
References Channels, cOsdMenu::Display(), cList< cOsdItem >::First(), cListObject::Next(), cChannels::ReNumber(), and cChannels::SetModified().
|
private |
Definition at line 384 of file menu.c.
References cOsdMenu::Add(), Channels, cOsdMenu::Clear(), cMenuChannelItem::csmName, cMenuChannelItem::csmNumber, cMenuChannelItem::csmProvider, cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), cList< T >::First(), cChannels::GetByNumber(), GetChannel(), msmName, msmNumber, msmProvider, cList< T >::Next(), cOsdMenu::SetCurrent(), cOsdMenu::SetHelp(), cOsdMenu::SetMenuSortMode(), cListBase::Sort(), cMenuChannelItem::SortMode(), and tr.
Referenced by cMenuChannels(), and Number().
|
protected |
Definition at line 448 of file menu.c.
References cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), osContinue, osEnd, cDevice::PrimaryDevice(), and cDevice::SwitchChannel().
Referenced by ProcessKey().
|
private |
Definition at line 352 of file menu.c.
Referenced by cMenuChannels(), and Number().
|
private |