vdr 2.7.7
cTrueColorDemo Class Reference

Public Member Functions

 cTrueColorDemo (void)
virtual ~cTrueColorDemo () override
virtual void Show (void) override
virtual eOSState ProcessKey (eKeys Key) override
Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
virtual ~cOsdObject ()
virtual bool NeedsFastResponse (void)
bool IsMenu (void) const
Public Member Functions inherited from cThread
 cThread (const char *Description=NULL, bool LowPriority=false)
virtual ~cThread ()
void SetDescription (const char *Description,...) __attribute__((format(printf
void bool Start (void)
bool Active (void)

Private Member Functions

bool SetArea (void)
virtual void Action (void) override
cPixmapCreateTextPixmap (const char *s, int Line, int Layer, tColor ColorFg, tColor ColorBg, const cFont *Font)

Private Attributes

cOsdosd
cPoint cursor
cRect cursorLimits
bool clockwise
cPixmapdestroyablePixmap
cPixmaptoggleablePixmap

Additional Inherited Members

Static Public Member Functions inherited from cThread
static tThreadId ThreadId (void)
static tThreadId IsMainThread (void)
static void SetMainThreadId (void)
Protected Member Functions inherited from cOsdObject
void SetNeedsFastResponse (bool NeedsFastResponse)
Protected Member Functions inherited from cThread
void SetPriority (int Priority)
void SetIOPriority (int Priority)
void Lock (void)
void Unlock (void)
bool Running (void)
void Cancel (int WaitSeconds=0)

Detailed Description

Definition at line 304 of file osddemo.c.

Constructor & Destructor Documentation

◆ cTrueColorDemo()

cTrueColorDemo::cTrueColorDemo ( void )

Definition at line 322 of file osddemo.c.

References clockwise, destroyablePixmap, osd, and toggleablePixmap.

◆ ~cTrueColorDemo()

cTrueColorDemo::~cTrueColorDemo ( )
overridevirtual

Definition at line 330 of file osddemo.c.

References cThread::Cancel(), and osd.

Member Function Documentation

◆ Action()

◆ CreateTextPixmap()

cPixmap * cTrueColorDemo::CreateTextPixmap ( const char * s,
int Line,
int Layer,
tColor ColorFg,
tColor ColorBg,
const cFont * Font )
private

Definition at line 336 of file osddemo.c.

References cPixmap::Clear(), cPixmap::DrawText(), Font, osd, and cPixmap::SetAlpha().

Referenced by Action().

◆ ProcessKey()

◆ SetArea()

bool cTrueColorDemo::SetArea ( void )
private

Definition at line 625 of file osddemo.c.

References oeOk, osd, cOsd::OsdHeight(), and cOsd::OsdWidth().

Referenced by ProcessKey(), and Show().

◆ Show()

void cTrueColorDemo::Show ( void )
overridevirtual

Reimplemented from cOsdObject.

Definition at line 634 of file osddemo.c.

References clrGray50, cOsdProvider::NewOsd(), osd, cOsd::OsdLeft(), cOsd::OsdTop(), SetArea(), and cThread::Start().

Member Data Documentation

◆ clockwise

bool cTrueColorDemo::clockwise
private

Definition at line 309 of file osddemo.c.

Referenced by Action(), cTrueColorDemo(), and ProcessKey().

◆ cursor

cPoint cTrueColorDemo::cursor
private

Definition at line 307 of file osddemo.c.

Referenced by Action(), and ProcessKey().

◆ cursorLimits

cRect cTrueColorDemo::cursorLimits
private

Definition at line 308 of file osddemo.c.

Referenced by Action(), and ProcessKey().

◆ destroyablePixmap

cPixmap* cTrueColorDemo::destroyablePixmap
private

Definition at line 310 of file osddemo.c.

Referenced by Action(), cTrueColorDemo(), and ProcessKey().

◆ osd

cOsd* cTrueColorDemo::osd
private

◆ toggleablePixmap

cPixmap* cTrueColorDemo::toggleablePixmap
private

Definition at line 311 of file osddemo.c.

Referenced by Action(), cTrueColorDemo(), and ProcessKey().


The documentation for this class was generated from the following file: