File: cursor.h

package info (click to toggle)
vdr-plugin-freecell 0.0.2-48
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 684 kB
  • ctags: 343
  • sloc: ansic: 2,413; sh: 152; makefile: 56
file content (29 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (4)
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
28
29
#ifndef VDR_FREECELL_CURSOR_H
#define VDR_FREECELL_CURSOR_H

#if VDRVERSNUM < 10307
#include <vdr/osdbase.h>
#else /* VDRVERSNUM < 10307 */
#include <vdr/osd.h>
#endif /* VDRVERSNUM < 10307 */

class cCursor: public cBitmap {
private:
	int mX, mY;

public:
	cCursor(void);
	virtual ~cCursor();

	static int Width(void) { return 16; }
	static int Height(void) { return 22; }

	void Move(int x, int y) { mX = x; mY = y; }
#if VDRVERSNUM < 10307
	void Paint(cOsdBase *Osd, eDvbColor Color);
#else /* VDRVERSNUM < 10307 */
	void Paint(cOsd *Osd, tColor Color);
#endif /* VDRVERSNUM < 10307 */
};

#endif // VDR_FREECELL_CURSOR_H