summaryrefslogtreecommitdiff
path: root/screen.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-26 20:42:21 +0000
committerlordjaxom <lordjaxom>2005-01-26 20:42:21 +0000
commit48183807856dff62b4a0942445f3009ef500c94b (patch)
tree319691b2d8b2f4774d90c0a796e5e418ceff8534 /screen.h
parent9295b6677b9a3e33704440efbed9c2070ab0a470 (diff)
downloadvdr-plugin-text2skin-48183807856dff62b4a0942445f3009ef500c94b.tar.gz
vdr-plugin-text2skin-48183807856dff62b4a0942445f3009ef500c94b.tar.bz2
- fixed DrawBitmapOverlay
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/screen.h b/screen.h
index c4d11ba..a5eee36 100644
--- a/screen.h
+++ b/screen.h
@@ -1,5 +1,5 @@
/*
- * $Id: screen.h,v 1.2 2005/01/25 20:27:12 lordjaxom Exp $
+ * $Id: screen.h,v 1.3 2005/01/26 20:42:21 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_SCREEN_H
@@ -22,8 +22,8 @@ private:
int mNumRegions;
protected:
- static void DrawBitmapOverlay(cBitmap &Dest, int x, int y, cBitmap &Bitmap, tColor ColorFg = 0,
- tColor ColorBg = 0, tColor *ColorMask = NULL);
+ static void DrawBitmapOverlay(cBitmap &Dest, int x, int y, cBitmap &Bitmap,
+ const tColor *ColorMask = NULL);
public:
cText2SkinScreen(bool OffScreen = false);
@@ -32,7 +32,7 @@ public:
eOsdError SetAreas(const tArea *Areas, int NumAreas);
void Clear(void);
- void DrawBitmap(int x, int y, const cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0);
+ void DrawBitmap(int x, int y, const cBitmap &Bitmap, const tColor *ColorMask = NULL);
void DrawRectangle(int x1, int y1, int x2, int y2, tColor Color);
void DrawText(int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font,
int Width = 0, int Height = 0, int Alignment = taDefault);