From 6094765d94e4caaf0813039dff826b731f277753 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sat, 5 Jun 2004 18:06:22 +0000 Subject: - added scrollable texts and "SymbolScrollUp" and "SymbolScrollDown" - added "MenuText", "MenuEventTitle", "MenuEventShortText", "MenuEventDescription", "MenuEventTime", "MenuRecording", "SymbolEventRunning", "SymbolEventTimer" and "SymbolEventVPS" - implemented image caching - added english and german README - removed some workarounds, and added a patch to vdr to the tree (will be included in 1.3.10) - fixed two bugs when displaying replay symbols - implemented tabbed texts in menu --- common.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index 340b5e9..24a7f41 100644 --- a/common.h +++ b/common.h @@ -1,5 +1,5 @@ /* - * $Id: common.h,v 1.6 2004/06/02 20:43:05 lordjaxom Exp $ + * $Id: common.h,v 1.7 2004/06/05 16:52:44 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_COMMON_H @@ -14,14 +14,16 @@ using std::string; using std::vector; using std::map; -#define precond(x) if ((x)) { esyslog("ERROR: text2skin: "#x " not given"); return; } +#ifdef DEBUG +# define Dprintf(x...) fprintf(stderr, x); +#else +# define Dprintf(x...) +#endif class cChannel; 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); -- cgit v1.2.3