diff options
| author | louis <louis.braun@gmx.de> | 2014-10-25 16:58:05 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-10-25 16:58:05 +0200 |
| commit | 0b9e3787a2a920e010ab53330262fe8644e4b0d0 (patch) | |
| tree | 77e7739b11a1c5dba0d96f9eb688f3d37e0af7fb /libcore/pixmapcontainer.c | |
| parent | ee39eb8066f977d2adb3be71b6c34a7d6af4a22c (diff) | |
| download | vdr-plugin-skindesigner-0b9e3787a2a920e010ab53330262fe8644e4b0d0.tar.gz vdr-plugin-skindesigner-0b9e3787a2a920e010ab53330262fe8644e4b0d0.tar.bz2 | |
implemented function drawslope
Diffstat (limited to 'libcore/pixmapcontainer.c')
| -rw-r--r-- | libcore/pixmapcontainer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libcore/pixmapcontainer.c b/libcore/pixmapcontainer.c index 4ee651a..fe5190f 100644 --- a/libcore/pixmapcontainer.c +++ b/libcore/pixmapcontainer.c @@ -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; |
