command help was optimized for all possible screen resolutions; command fdisk support...
[ZeXOS.git] / kernel / drivers / char / video / video.h
blob3d695eff54014e9ac34e00a897aac9bf2bccce90
1 /*
2 * ZeX/OS
3 * Copyright (C) 2007 Tomas 'ZeXx86' Jedrzejek (zexx86@gmail.com)
4 * Copyright (C) 2009 Tomas 'ZeXx86' Jedrzejek (zexx86@gmail.com)
6 * This program 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.
11 * This program 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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _VIDEO_H
21 #define _VIDEO_H
23 extern const unsigned char font5x8[];
25 extern unsigned int init_video (void);
26 extern void putch (unsigned char c);
27 extern void cls ();
28 extern void settextcolor (unsigned char forecolor, unsigned char backcolor);
29 extern void gotoxy (unsigned x, unsigned y);
30 extern bool video_acthandler (unsigned act, char *block, char *more, int block_len);
31 extern void gpixel (unsigned x, unsigned y, unsigned color);
32 extern void gcls (unsigned color);
33 extern char *init_vgafb ();
34 extern void gexit ();
36 #endif