vdr
2.2.0
|
Public Member Functions | |
cTrueColorDemo (void) | |
virtual | ~cTrueColorDemo () |
virtual void | Show (void) |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
virtual bool | NeedsFastResponse (void) |
bool | IsMenu (void) const |
![]() | |
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) |
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 tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
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 191 of file osddemo.c.
References cLineGame::osd.
|
virtual |
Definition at line 199 of file osddemo.c.
References cLineGame::osd.
|
privatevirtual |
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 218 of file osddemo.c.
References ALPHA_OPAQUE, ArgbToColor(), cPixmap::Clear(), clrBlack, clrRed, clrTransparent, clrWhite, clrYellow, cFont::CreateFont(), cOsd::CreatePixmap(), cPixmap::DrawEllipse(), cPixmap::DrawPort(), cPixmap::DrawRectangle(), cPixmap::DrawText(), cOsd::Flush(), cSetup::FontOsd, cSetup::FontOsdSize, cSetup::FontSml, cSetup::FontSmlSize, cRect::Grown(), cFont::Height(), cRect::Height(), cOsd::Height(), HsvToColor(), cPixmap::Lock(), LOCK_THREAD, min(), cTimeMs::Now(), cLineGame::osd, cPixmap::Pan(), cRect::Point(), 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(), taCenter, cPixmap::Unlock(), cPixmap::ViewPort(), cFont::Width(), cRect::Width(), cOsd::Width(), cLineGame::x, cPoint::X(), cRect::X(), cLineGame::y, cPoint::Y(), and cRect::Y().
|
private |
Definition at line 205 of file osddemo.c.
References cPixmap::Clear(), cOsd::CreatePixmap(), cPixmap::DrawText(), cFont::Height(), cLineGame::osd, cPixmap::SetAlpha(), cFont::Width(), and cOsd::Width().
Reimplemented from cOsdObject.
Definition at line 511 of file osddemo.c.
References cOsd::DestroyPixmap(), DrawEllipses(), DrawSlopes(), k1, k2, k_Repeat, kBack, kDown, kGreen, kLeft, kOk, kRed, kRight, kUp, LOCK_PIXMAPS, LOCK_THREAD, max(), min(), osContinue, cLineGame::osd, osEnd, osUnknown, and cOsdObject::ProcessKey().
|
private |
Definition at line 490 of file osddemo.c.
References oeOk, cLineGame::osd, cOsd::OsdHeight(), cOsd::OsdWidth(), and cOsd::SetAreas().
|
virtual |
Reimplemented from cOsdObject.
Definition at line 499 of file osddemo.c.
References clrGray50, cOsd::DrawRectangle(), cOsd::Flush(), cOsd::Height(), cOsdProvider::NewOsd(), cLineGame::osd, cOsd::OsdLeft(), cOsd::OsdTop(), and cOsd::Width().