vdr
2.4.7
|
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) |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const cOsdItem * | Get (int Index) const |
cOsdItem * | Get (int Index) |
const cOsdItem * | First (void) const |
cOsdItem * | First (void) |
const cOsdItem * | Last (void) const |
cOsdItem * | Last (void) |
const cOsdItem * | Prev (const cOsdItem *Object) const |
cOsdItem * | Prev (const cOsdItem *Object) |
const cOsdItem * | Next (const cOsdItem *Object) const |
cOsdItem * | Next (const cOsdItem *Object) |
![]() | |
virtual | ~cListBase () |
bool | Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const |
void | SetSyncStateKey (cStateKey &StateKey) |
void | SetUseGarbageCollector (void) |
void | SetExplicitModify (void) |
void | SetModified (void) |
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) |
bool | Contains (const cListObject *Object) const |
const cListObject * | Get (int Index) const |
cListObject * | Get (int Index) |
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 (const char *NeedsLocking=NULL) | |
Private Member Functions | |
void | Set (bool Force=false) |
cChannel * | GetChannel (int Index) |
void | Propagate (cChannels *Channels) |
Private Attributes | |
cStateKey | channelsStateKey |
int | number |
cTimeMs | numberTimer |
Additional Inherited Members | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
cMenuChannels::cMenuChannels | ( | void | ) |
|
protected |
Definition at line 486 of file menu.c.
References channelsStateKey, cInterface::Confirm(), cListBase::Contains(), cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), cChannels::Del(), cOsdMenu::Del(), cList< T >::Get(), cChannels::GetByNumber(), GetChannel(), cChannels::GetChannelsWrite(), cChannels::GetNextNormal(), cChannels::GetPrevNormal(), cOsdMenu::HasSubMenu(), cListObject::Index(), Interface, isyslog, LOCK_TIMERS_READ, cSkins::Message(), mtError, cChannel::Number(), osContinue, cDevice::PrimaryDevice(), Propagate(), cStateKey::Remove(), cStateKey::Reset(), cDevice::SetCurrentChannel(), Skins, cChannels::SwitchTo(), and tr.
Referenced by ProcessKey().
|
protected |
Definition at line 467 of file menu.c.
References cOsdMenu::AddSubMenu(), channelsStateKey, cListBase::Count(), cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), LOCK_CHANNELS_READ, and osContinue.
Referenced by ProcessKey().
|
private |
Definition at line 416 of file menu.c.
References cMenuChannelItem::Channel(), and cList< cOsdItem >::Get().
Referenced by Delete(), Edit(), Move(), New(), Set(), and Switch().
|
protectedvirtual |
Reimplemented from cListBase.
Definition at line 533 of file menu.c.
References channelsStateKey, cDevice::CurrentChannel(), cList< cOsdItem >::Get(), GetChannel(), cChannels::GetChannelsWrite(), isyslog, cListBase::Move(), cChannel::Number(), cListObject::Prev(), cDevice::PrimaryDevice(), Propagate(), cStateKey::Remove(), cOsdMenu::SetCurrent(), and cDevice::SetCurrentChannel().
|
protected |
Definition at line 478 of file menu.c.
References cOsdMenu::AddSubMenu(), channelsStateKey, cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), LOCK_CHANNELS_READ, and osContinue.
Referenced by ProcessKey().
Definition at line 431 of file menu.c.
References CHANNELNUMBERTIMEOUT, cOsdMenu::Display(), cList< cOsdItem >::First(), cOsdMenu::HasSubMenu(), cMenuChannelItem::IncSortMode(), k0, LOCK_CHANNELS_READ, cListObject::Next(), number, numberTimer, osContinue, Set(), cTimeMs::Set(), cOsdMenu::SetCurrent(), and cTimeMs::TimedOut().
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 563 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::CloseSubMenu(), cDevice::CurrentChannel(), Delete(), cOsdMenu::Display(), Edit(), cList< cOsdItem >::First(), cOsdMenu::HasSubMenu(), k0, k9, k_Repeat, kBlue, kChanDn, kChanUp, kGreen, kOk, kRed, kYellow, LOCK_CHANNELS_READ, cOsdMenu::Mark(), New(), cListObject::Next(), Number(), osUnknown, osUser1, cOsdMenu::ProcessKey(), Set(), cOsdMenu::SetCurrent(), cOsdMenu::SubMenu(), and Switch().
|
private |
Definition at line 422 of file menu.c.
References cOsdMenu::Display(), cList< cOsdItem >::First(), cListObject::Next(), cChannels::ReNumber(), and cChannels::SetModifiedByUser().
|
private |
Definition at line 386 of file menu.c.
References cOsdMenu::Add(), channelsStateKey, cOsdMenu::Clear(), cMenuChannelItem::csmName, cMenuChannelItem::csmNumber, cMenuChannelItem::csmProvider, cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), GetChannel(), cChannels::GetChannelsRead(), msmName, msmNumber, msmProvider, cListObject::Next(), cStateKey::Remove(), cStateKey::Reset(), cOsdMenu::SetCurrent(), cOsdMenu::SetHelp(), cOsdMenu::SetMenuSortMode(), cListBase::Sort(), cMenuChannelItem::SortMode(), and tr.
Referenced by cMenuChannels(), Number(), and ProcessKey().
|
protected |
Definition at line 456 of file menu.c.
References cOsdMenu::Current(), GetChannel(), cOsdMenu::HasSubMenu(), LOCK_CHANNELS_READ, osContinue, osEnd, cDevice::PrimaryDevice(), and cDevice::SwitchChannel().
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 356 of file menu.c.
Referenced by cMenuChannels(), and Number().
|
private |