summaryrefslogtreecommitdiff
path: root/styledpixmap.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-07-09 00:17:42 +0200
committerlouis <louis.braun@gmx.de>2013-07-09 00:17:42 +0200
commit2a7a011055a44516ec981e525776394a8c04dcfe (patch)
tree55c9828c7b619622ec36da3f4b41318ed6c85ae0 /styledpixmap.h
parent6da4b610d98cafe7c20555c926359d7f89347c76 (diff)
downloadvdr-plugin-tvguide-2a7a011055a44516ec981e525776394a8c04dcfe.tar.gz
vdr-plugin-tvguide-2a7a011055a44516ec981e525776394a8c04dcfe.tar.bz2
Version 0.0.6
Diffstat (limited to 'styledpixmap.h')
-rw-r--r--styledpixmap.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/styledpixmap.h b/styledpixmap.h
index ac974be..af09994 100644
--- a/styledpixmap.h
+++ b/styledpixmap.h
@@ -13,23 +13,26 @@ protected:
tColor colorBlending;
void setPixmap(cPixmap *pixmap);
public:
- cStyledPixmap(void);
- cStyledPixmap(cPixmap *pixmap);
- virtual ~cStyledPixmap(void);
- void drawBackground();
- void drawBlendedBackground();
- void drawSparsedBackground();
- void drawBorder();
- void drawBoldBorder();
- void drawDefaultBorder(int width, int height);
- void drawRoundedCorners(int width, int height, int radius);
- void setColor(tColor color, tColor colorBlending) {this->color = color; this->colorBlending = colorBlending;};
- void SetAlpha(int alpha) {pixmap->SetAlpha(alpha);};
- void DrawText(const cPoint &Point, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font);
- void DrawImage(const cPoint &Point, const cImage &Image);
- void DrawRectangle(const cRect &Rect, tColor Color);
- int Width() {return pixmap->ViewPort().Width();};
- int Height() {return pixmap->ViewPort().Height();};
+ cStyledPixmap(void);
+ cStyledPixmap(cPixmap *pixmap);
+ virtual ~cStyledPixmap(void);
+ void drawBackground();
+ void drawBlendedBackground();
+ void drawSparsedBackground();
+ void drawBorder();
+ void drawBoldBorder();
+ void drawDefaultBorder(int width, int height);
+ void drawRoundedCorners(int width, int height, int radius);
+ void setColor(tColor color, tColor colorBlending) {this->color = color; this->colorBlending = colorBlending;};
+ void SetAlpha(int alpha) {pixmap->SetAlpha(alpha);};
+ void SetLayer(int layer) {pixmap->SetLayer(layer);};
+ void DrawText(const cPoint &Point, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font);
+ void DrawImage(const cPoint &Point, const cImage &Image);
+ void DrawRectangle(const cRect &Rect, tColor Color);
+ void DrawEllipse(const cRect &Rect, tColor Color, int Quadrant);
+ void SetViewPort(const cRect &Rect);
+ int Width() {return pixmap->ViewPort().Width();};
+ int Height() {return pixmap->ViewPort().Height();};
};
#endif //__TVGUIDE_STYLEDPIXMAP_H \ No newline at end of file