vdr
1.7.27
|
#include <player.h>
Public Member Functions | |
cPictureControl (cPictureEntry *Pictures, const cPictureEntry *PictureEntry, bool SlideShow=false) | |
virtual | ~cPictureControl () |
virtual eOSState | ProcessKey (eKeys Key) |
Static Public Member Functions | |
static bool | Active (void) |
static const char * | LastDisplayed (void) |
Private Member Functions | |
void | NextPicture (int Direction) |
void | NextDirectory (int Direction) |
void | DisplayCaption (void) |
virtual void | Hide (void) |
Private Attributes | |
cPictureEntry * | pictures |
const cPictureEntry * | pictureEntry |
cPicturePlayer * | player |
cOsd * | osd |
cString | lastPath |
cTimeMs | slideShowDelay |
bool | slideShow |
bool | alwaysDisplayCaption |
Static Private Attributes | |
static int | active = 0 |
static cString | lastDisplayed |
Definition at line 23 of file PLUGINS/src/pictures/player.h.
cPictureControl::cPictureControl | ( | cPictureEntry * | Pictures, |
const cPictureEntry * | PictureEntry, | ||
bool | SlideShow = false |
||
) |
Definition at line 98 of file PLUGINS/src/pictures/player.c.
References active, alwaysDisplayCaption, cPictureEntry::IsDirectory(), lastPath, NextPicture(), osd, pictureEntry, pictures, cTimeMs::Set(), slideShow, SlideShowDelay, and slideShowDelay.
cPictureControl::~cPictureControl | ( | ) | [virtual] |
static bool cPictureControl::Active | ( | void | ) | [inline, static] |
Definition at line 43 of file PLUGINS/src/pictures/player.h.
References active.
Referenced by cPictureMenu::ProcessKey(), and cPictureMenu::Set().
void cPictureControl::DisplayCaption | ( | void | ) | [private] |
Definition at line 159 of file PLUGINS/src/pictures/player.c.
References alwaysDisplayCaption, cSetup::AntiAlias, cOsd::CanHandleAreas(), clrBlack, clrTransparent, clrWhite, DayDateTime(), DELETENULL(), cOsd::DrawRectangle(), DrawTextOutlined(), cOsd::Flush(), Font, fontOsd, cFont::GetFont(), HandleUnderscores(), cFont::Height(), lastDisplayed, lastPath, cPictureEntry::Name(), cOsdProvider::NewOsd(), oeOk, osd, OSD_LEVEL_SUBTITLES, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cPictureEntry::Parent(), cPictureEntry::Path(), pictureEntry, pictures, cOsd::SetAreas(), Setup, cString::Truncate(), and cFont::Width().
Referenced by NextDirectory(), NextPicture(), and ProcessKey().
virtual void cPictureControl::Hide | ( | void | ) | [inline, private, virtual] |
Implements cControl.
Definition at line 38 of file PLUGINS/src/pictures/player.h.
const char * cPictureControl::LastDisplayed | ( | void | ) | [static] |
Definition at line 254 of file PLUGINS/src/pictures/player.c.
References lastDisplayed.
Referenced by cPictureMenu::CreatePictureMenu().
void cPictureControl::NextDirectory | ( | int | Direction | ) | [private] |
Definition at line 133 of file PLUGINS/src/pictures/player.c.
References DisplayCaption(), cPictureEntry::Entries(), cList< T >::First(), cList< T >::Last(), cPictureEntry::NextPicture(), cPictureEntry::Parent(), cPictureEntry::Path(), pictureEntry, player, cPictureEntry::PrevPicture(), and cPicturePlayer::SetPicture().
Referenced by ProcessKey().
void cPictureControl::NextPicture | ( | int | Direction | ) | [private] |
Definition at line 120 of file PLUGINS/src/pictures/player.c.
References DisplayCaption(), cPictureEntry::NextPicture(), cPictureEntry::Path(), pictureEntry, player, cPictureEntry::PrevPicture(), and cPicturePlayer::SetPicture().
Referenced by cPictureControl(), and ProcessKey().
eOSState cPictureControl::ProcessKey | ( | eKeys | Key | ) | [virtual] |
Reimplemented from cOsdObject.
Definition at line 207 of file PLUGINS/src/pictures/player.c.
References alwaysDisplayCaption, cRemote::CallPlugin(), DELETENULL(), DisplayCaption(), k_Repeat, kBack, kBlue, kDown, kGreen, kLeft, kNext, kOk, kPause, kPlay, kPrev, kRight, kStop, kUp, kYellow, NextDirectory(), NextPicture(), osContinue, osd, osEnd, cTimeMs::Set(), slideShow, SlideShowDelay, slideShowDelay, and cTimeMs::TimedOut().
int cPictureControl::active = 0 [static, private] |
Definition at line 25 of file PLUGINS/src/pictures/player.h.
Referenced by Active(), cPictureControl(), and ~cPictureControl().
bool cPictureControl::alwaysDisplayCaption [private] |
Definition at line 34 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), DisplayCaption(), and ProcessKey().
cString cPictureControl::lastDisplayed [static, private] |
Definition at line 26 of file PLUGINS/src/pictures/player.h.
Referenced by DisplayCaption(), and LastDisplayed().
cString cPictureControl::lastPath [private] |
Definition at line 31 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), and DisplayCaption().
cOsd* cPictureControl::osd [private] |
Definition at line 30 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), DisplayCaption(), ProcessKey(), and ~cPictureControl().
const cPictureEntry* cPictureControl::pictureEntry [private] |
Definition at line 28 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), DisplayCaption(), NextDirectory(), and NextPicture().
cPictureEntry* cPictureControl::pictures [private] |
Definition at line 27 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), DisplayCaption(), and ~cPictureControl().
cPicturePlayer* cPictureControl::player [private] |
Reimplemented from cControl.
Definition at line 29 of file PLUGINS/src/pictures/player.h.
Referenced by NextDirectory(), NextPicture(), and ~cPictureControl().
bool cPictureControl::slideShow [private] |
Definition at line 33 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), and ProcessKey().
cTimeMs cPictureControl::slideShowDelay [private] |
Definition at line 32 of file PLUGINS/src/pictures/player.h.
Referenced by cPictureControl(), and ProcessKey().