-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosd.h
28 lines (24 loc) · 986 Bytes
/
osd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef VDR_FREECELL_OSD_H
#define VDR_FREECELL_OSD_H
#if VDRVERSNUM < 10307
#include <vdr/osdbase.h>
#else /* VDRVERSNUM < 10307 */
#include <vdr/osd.h>
#endif /* VDRVERSNUM < 10307 */
#if VDRVERSNUM < 10307
void Frame(cOsdBase *Osd, int x1, int y1, int x2, int y2, eDvbColor Color);
void Frame(cBitmap *Bitmap, int x1, int y1, int x2, int y2, eDvbColor Color);
#else /* VDRVERSNUM < 10307 */
void Frame(cOsd *Osd, int x1, int y1, int x2, int y2, tColor Color);
void Frame(cBitmap *Bitmap, int x1, int y1, int x2, int y2, tColor Color);
#endif /* VDRVERSNUM < 10307 */
bool LoadXpm(cBitmap *Bitmap, const char *FileName,
#if VDRVERSNUM < 10307
eDvbColor NoneColor = clrTransparent);
char *WrapText(cBitmap *Bitmap, const char *Text, int Width,
#else /* VDRVERSNUM < 10307 */
tColor NoneColor = clrTransparent);
char *WrapText(cBitmap *Bitmap, const char *Text, int Width, const cFont *Font,
#endif /* VDRVERSNUM < 10307 */
int *Height = NULL);
#endif // VDR_FREECELL_OSD_H