osd.h 1.66 KB
Newer Older
markwkidd's avatar
markwkidd committed
1
2
3
4
5
#ifndef OSD_H
#define OSD_H
/*
	This file is part of FreeIntv.

m4xw's avatar
m4xw committed
6
	FreeIntv is free software; you can redistribute it and/or modify
markwkidd's avatar
markwkidd committed
7
	it under the terms of the GNU General Public License as published by
m4xw's avatar
m4xw committed
8
	the Free Software Foundation; either version 2 of the License, or
markwkidd's avatar
markwkidd committed
9
10
11
12
13
14
15
	(at your option) any later version.

	FreeIntv is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

m4xw's avatar
m4xw committed
16
17
18
	You should have received a copy of the GNU General Public License along
	with FreeIntv; if not, write to the Free Software Foundation, Inc.,
	51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
markwkidd's avatar
markwkidd committed
19
20
*/

recompileorg's avatar
recompileorg committed
21
// On-Screen Display - Intellivision //
markwkidd's avatar
markwkidd committed
22

recompileorg's avatar
recompileorg committed
23
void OSD_drawText(int x, int y, const char *text);
markwkidd's avatar
markwkidd committed
24

recompileorg's avatar
recompileorg committed
25
void OSD_drawPaused(void);
markwkidd's avatar
markwkidd committed
26

recompileorg's avatar
recompileorg committed
27
void OSD_drawLeftRight(void);
markwkidd's avatar
markwkidd committed
28

recompileorg's avatar
recompileorg committed
29
void OSD_drawRightLeft(void);
markwkidd's avatar
markwkidd committed
30

recompileorg's avatar
recompileorg committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// On-Screen Display - General //

void OSD_setDisplay(unsigned int frame[], unsigned int width, unsigned int height);

void OSD_setColor(unsigned int color);

void OSD_setBackground(unsigned int color);

void OSD_HLine(int x, int y, int len);

void OSD_VLine(int x, int y, int len);

void OSD_Box(int x1, int y1, int width, int height);

void OSD_FillBox(int x1, int y1, int width, int height);

void OSD_drawLetter(int x, int y, int c);

void OSD_drawText(int x, int y, const char *text);

recompileorg's avatar
recompileorg committed
51
52
void OSD_drawInt(int x, int y, int num, int base);

recompileorg's avatar
recompileorg committed
53
54
55
56
57
58
59
void OSD_drawTextFree(int x, int y, const char *text);

void OSD_drawTextBG(int x, int y, const char *text);

void OSD_drawTextCenterBG(int y, const char *text);

#endif