mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
implemented function drawslope
This commit is contained in:
@@ -136,6 +136,15 @@ void cPixmapContainer::DrawEllipse(int num, const cRect &Rect, tColor Color, int
|
||||
pixmaps[num]->DrawEllipse(Rect, Color, Quadrants);
|
||||
}
|
||||
|
||||
void cPixmapContainer::DrawSlope(int num, const cRect &Rect, tColor Color, int Type) {
|
||||
if (checkRunning && !Running())
|
||||
return;
|
||||
cMutexLock MutexLock(&mutex);
|
||||
if (!pixmaps[num])
|
||||
return;
|
||||
pixmaps[num]->DrawSlope(Rect, Color, Type);
|
||||
}
|
||||
|
||||
void cPixmapContainer::DrawImage(int num, const cPoint &Point, const cImage &Image) {
|
||||
if (checkRunning && !Running())
|
||||
return;
|
||||
|
@@ -35,6 +35,7 @@ protected:
|
||||
void DrawText(int num, const cPoint &Point, const char *s, tColor ColorFg, tColor ColorBg, std::string fontName, int fontSize);
|
||||
void DrawRectangle(int num, const cRect &Rect, tColor Color);
|
||||
void DrawEllipse(int num, const cRect &Rect, tColor Color, int Quadrants = 0);
|
||||
void DrawSlope(int num, const cRect &Rect, tColor Color, int Type);
|
||||
void DrawImage(int num, const cPoint &Point, const cImage &Image);
|
||||
void DrawBitmap(int num, const cPoint &Point, const cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0, bool Overlay = false);
|
||||
void Fill(int num, tColor Color);
|
||||
|
Reference in New Issue
Block a user