From 48183807856dff62b4a0942445f3009ef500c94b Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 26 Jan 2005 20:42:21 +0000 Subject: - fixed DrawBitmapOverlay --- screen.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'screen.h') 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); -- cgit v1.2.3