From e535cdbe09d9c13d79cd6722aafca5798b7d1e35 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Tue, 1 Jun 2004 21:02:41 +0000 Subject: - fixed possible segfault when showing language logo (happened when channel was not available) - fixed some memory leaks - fixed "too many colors used in palette" warning for non-imlib-users --- common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common.h') diff --git a/common.h b/common.h index aea0452..d0280d3 100644 --- a/common.h +++ b/common.h @@ -1,5 +1,5 @@ /* - * $Id: common.h,v 1.4 2004/05/31 19:54:12 lordjaxom Exp $ + * $Id: common.h,v 1.5 2004/06/01 21:02:38 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_COMMON_H @@ -13,6 +13,7 @@ class cText2SkinItem; const char *SkinPath(void); void DrawTextTransparent(cOsd *Osd, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width, int Height, int Alignment); +void DrawBitmap(cOsd *Osd, int x, int y, cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0); const char *ChannelNumber(const cChannel *Channel, int Number); const char *ChannelName(const cChannel *Channel, int Number); string ItemText(cText2SkinItem *Item, const string &Content); -- cgit v1.2.3