1 #ifndef OSD_H
2 #define OSD_H
3 /*
4 	This file is part of FreeIntv.
5 
6 	FreeIntv is free software: you can redistribute it and/or modify
7 	it under the terms of the GNU General Public License as published by
8 	the Free Software Foundation, either version 3 of the License, or
9 	(at your option) any later version.
10 
11 	FreeIntv is distributed in the hope that it will be useful,
12 	but WITHOUT ANY WARRANTY; without even the implied warranty of
13 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 	GNU General Public License for more details.
15 
16 	You should have received a copy of the GNU General Public License
17 	along with FreeIntv.  If not, see http://www.gnu.org/licenses/
18 */
19 
20 // On-Screen Display - Intellivision //
21 
22 void OSD_drawText(int x, int y, const char *text);
23 
24 void OSD_drawPaused(void);
25 
26 void OSD_drawLeftRight(void);
27 
28 void OSD_drawRightLeft(void);
29 
30 // On-Screen Display - General //
31 
32 void OSD_setDisplay(unsigned int frame[], unsigned int width, unsigned int height);
33 
34 void OSD_setColor(unsigned int color);
35 
36 void OSD_setBackground(unsigned int color);
37 
38 void OSD_HLine(int x, int y, int len);
39 
40 void OSD_VLine(int x, int y, int len);
41 
42 void OSD_Box(int x1, int y1, int width, int height);
43 
44 void OSD_FillBox(int x1, int y1, int width, int height);
45 
46 void OSD_drawLetter(int x, int y, int c);
47 
48 void OSD_drawText(int x, int y, const char *text);
49 
50 void OSD_drawInt(int x, int y, int num, int base);
51 
52 void OSD_drawTextFree(int x, int y, const char *text);
53 
54 void OSD_drawTextBG(int x, int y, const char *text);
55 
56 void OSD_drawTextCenterBG(int y, const char *text);
57 
58 #endif
59