vdr
1.7.27
|
#include <menu.h>
Public Member Functions | |
cPictureMenu (const cPictureEntry *PictureEntry, const char *Path=NULL) | |
~cPictureMenu () | |
virtual eOSState | ProcessKey (eKeys Key) |
Static Public Member Functions | |
static cPictureMenu * | CreatePictureMenu (void) |
Private Member Functions | |
void | Set (const char *Path) |
eOSState | SelectItem (const char *Path=NULL, bool SlideShow=false) |
Private Attributes | |
const cPictureEntry * | pictureEntry |
Static Private Attributes | |
static cPictureEntry * | pictures = NULL |
Definition at line 18 of file PLUGINS/src/pictures/menu.h.
cPictureMenu::cPictureMenu | ( | const cPictureEntry * | PictureEntry, |
const char * | Path = NULL |
||
) |
Definition at line 41 of file PLUGINS/src/pictures/menu.c.
References HandleUnderscores(), cPictureEntry::Name(), cPictureEntry::Parent(), PictureDirectory, pictureEntry, pictures, Set(), cOsdMenu::SetTitle(), and cString::sprintf().
Referenced by CreatePictureMenu(), and SelectItem().
Definition at line 56 of file PLUGINS/src/pictures/menu.c.
References DELETENULL(), cPictureEntry::Parent(), pictureEntry, and pictures.
cPictureMenu * cPictureMenu::CreatePictureMenu | ( | void | ) | [static] |
Definition at line 126 of file PLUGINS/src/pictures/menu.c.
References cPictureMenu(), and cPictureControl::LastDisplayed().
Referenced by cPluginPictures::MainMenuAction().
eOSState cPictureMenu::ProcessKey | ( | eKeys | Key | ) | [virtual] |
Reimplemented from cOsdMenu.
Definition at line 108 of file PLUGINS/src/pictures/menu.c.
References cPictureControl::Active(), kBlue, kOk, kPlay, kRed, kStop, osStopReplay, osUnknown, and SelectItem().
eOSState cPictureMenu::SelectItem | ( | const char * | Path = NULL , |
bool | SlideShow = false |
||
) | [private] |
Definition at line 82 of file PLUGINS/src/pictures/menu.c.
References cOsdMenu::AddSubMenu(), cPictureMenu(), cOsdMenu::Current(), cPictureEntry::Entries(), cList< cOsdItem >::Get(), cList< T >::Get(), cPictureEntry::IsDirectory(), cControl::Launch(), osContinue, osEnd, pictureEntry, and pictures.
Referenced by ProcessKey(), and Set().
void cPictureMenu::Set | ( | const char * | Path | ) | [private] |
Definition at line 62 of file PLUGINS/src/pictures/menu.c.
References cPictureControl::Active(), cOsdMenu::Add(), cOsdMenu::Clear(), cListBase::Count(), cOsdMenu::Current(), cPictureEntry::Entries(), cList< T >::First(), HandleUnderscores(), cList< T >::Next(), NextLevel(), PathStartsWith(), pictureEntry, SelectItem(), cOsdMenu::SetHelp(), and cString::Truncate().
Referenced by cPictureMenu().
const cPictureEntry* cPictureMenu::pictureEntry [private] |
Definition at line 21 of file PLUGINS/src/pictures/menu.h.
Referenced by cPictureMenu(), SelectItem(), Set(), and ~cPictureMenu().
cPictureEntry * cPictureMenu::pictures = NULL [static, private] |
Definition at line 20 of file PLUGINS/src/pictures/menu.h.
Referenced by cPictureMenu(), SelectItem(), and ~cPictureMenu().