diff options
author | lordjaxom <lordjaxom> | 2005-01-25 20:27:12 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-25 20:27:12 +0000 |
commit | 75fbf0137aafad470843d1b27a1716645dd38de8 (patch) | |
tree | 36f3f7d89f22ad2251f7610a37f1761525b5fc84 /screen.h | |
parent | f5308255a9b3630439b8fe115f45d68150588acb (diff) | |
download | vdr-plugin-text2skin-75fbf0137aafad470843d1b27a1716645dd38de8.tar.gz vdr-plugin-text2skin-75fbf0137aafad470843d1b27a1716645dd38de8.tar.bz2 |
- implemented mask color for DrawBitmap calls
Diffstat (limited to 'screen.h')
-rw-r--r-- | screen.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * $Id: screen.h,v 1.1 2004/12/19 22:03:18 lordjaxom Exp $ + * $Id: screen.h,v 1.2 2005/01/25 20:27:12 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_SCREEN_H @@ -21,6 +21,10 @@ private: bool mOffScreen; int mNumRegions; +protected: + static void DrawBitmapOverlay(cBitmap &Dest, int x, int y, cBitmap &Bitmap, tColor ColorFg = 0, + tColor ColorBg = 0, tColor *ColorMask = NULL); + public: cText2SkinScreen(bool OffScreen = false); ~cText2SkinScreen(); @@ -30,7 +34,8 @@ public: void Clear(void); void DrawBitmap(int x, int y, const cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0); 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); + 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); void DrawEllipse(int x1, int y1, int x2, int y2, tColor Color, int Quadrants = 0); void DrawSlope(int x1, int y1, int x2, int y2, tColor Color, int Type); |