diff options
author | lordjaxom <lordjaxom> | 2004-06-05 18:06:22 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-06-05 18:06:22 +0000 |
commit | 6094765d94e4caaf0813039dff826b731f277753 (patch) | |
tree | fed79334167f26d5a81a6cae9be3f1341375a36f /common.h | |
parent | e0c2ee1d37c0f213f22a04df71710bebe3526f85 (diff) | |
download | vdr-plugin-text2skin-6094765d94e4caaf0813039dff826b731f277753.tar.gz vdr-plugin-text2skin-6094765d94e4caaf0813039dff826b731f277753.tar.bz2 |
- added scrollable texts and "SymbolScrollUp" and "SymbolScrollDown"v0.0.1
- 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
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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); |