|
vdr 2.7.9
|
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 |
| cPixmap * | CreateTextPixmap (const char *s, int Line, int Layer, tColor ColorFg, tColor ColorBg, const cFont *Font) |
Private Attributes | |
| cOsd * | osd |
| cPoint | cursor |
| cRect | cursorLimits |
| bool | clockwise |
| cPixmap * | destroyablePixmap |
| cPixmap * | toggleablePixmap |
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) |
| cTrueColorDemo::cTrueColorDemo | ( | void | ) |
Definition at line 322 of file osddemo.c.
References clockwise, destroyablePixmap, osd, and toggleablePixmap.
|
overridevirtual |
Definition at line 330 of file osddemo.c.
References cThread::Cancel(), and osd.
|
overrideprivatevirtual |
A derived cThread class must implement the code it wants to execute as a separate thread in this function.
If this is a loop, it must check Running() repeatedly to see whether it's time to stop.
Implements cThread.
Definition at line 349 of file osddemo.c.
References ALPHA_OPAQUE, ArgbToColor(), cPixmap::Clear(), clockwise, clrBlack, clrRed, clrTransparent, clrWhite, clrYellow, cFont::CreateFont(), CreateTextPixmap(), cursor, cursorLimits, destroyablePixmap, cPixmap::DrawEllipse(), cPixmap::DrawPort(), cPixmap::DrawRectangle(), cPixmap::DrawText(), cRect::Grown(), cFont::Height(), cRect::Height(), HsvToColor(), cPixmap::Lock(), LOCK_THREAD, min(), cTimeMs::Now(), osd, cPixmap::Pan(), cRect::Point(), cThread::Running(), cPoint::Set(), cPixmap::SetAlpha(), cPixmap::SetDrawPortPoint(), cPixmap::SetLayer(), cImage::SetPixel(), cRect::SetPoint(), cPixmap::SetTile(), Setup, cPixmap::SetViewPort(), cPoint::SetY(), cPoint::Shifted(), cCondWait::SleepMs(), cString::sprintf(), cThread::Start(), taCenter, toggleablePixmap, cPixmap::Unlock(), cPixmap::ViewPort(), cFont::Width(), cRect::Width(), cPoint::X(), cRect::X(), cPoint::Y(), and cRect::Y().
|
private |
Definition at line 336 of file osddemo.c.
References cPixmap::Clear(), cPixmap::DrawText(), Font, osd, and cPixmap::SetAlpha().
Referenced by Action().
Reimplemented from cOsdObject.
Definition at line 646 of file osddemo.c.
References cThread::Cancel(), clockwise, cursor, cursorLimits, destroyablePixmap, DrawEllipseAlignments(), DrawEllipses(), DrawImages(), DrawSlopes(), k1, k2, k3, k4, k_Repeat, kBack, kDown, kGreen, kLeft, kOk, kRed, kRight, kUp, LOCK_PIXMAPS, LOCK_THREAD, max(), min(), osContinue, osd, osEnd, osUnknown, cOsdObject::ProcessKey(), SetArea(), and toggleablePixmap.
|
private |
Definition at line 625 of file osddemo.c.
References oeOk, osd, cOsd::OsdHeight(), and cOsd::OsdWidth().
Referenced by ProcessKey(), and Show().
|
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().
|
private |
Definition at line 309 of file osddemo.c.
Referenced by Action(), cTrueColorDemo(), and ProcessKey().
|
private |
Definition at line 307 of file osddemo.c.
Referenced by Action(), and ProcessKey().
|
private |
Definition at line 308 of file osddemo.c.
Referenced by Action(), and ProcessKey().
|
private |
Definition at line 310 of file osddemo.c.
Referenced by Action(), cTrueColorDemo(), and ProcessKey().
|
private |
Definition at line 306 of file osddemo.c.
Referenced by Action(), CreateTextPixmap(), cTrueColorDemo(), ProcessKey(), SetArea(), Show(), and ~cTrueColorDemo().
|
private |
Definition at line 311 of file osddemo.c.
Referenced by Action(), cTrueColorDemo(), and ProcessKey().