eobish
annotate src/dos/vbegfx.h @ 7:6a350c554e46
started DOS port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 19 Jan 2015 15:49:14 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@7 | 1 #ifndef VBEGFX_H_ |
nuclear@7 | 2 #define VBEGFX_H_ |
nuclear@7 | 3 |
nuclear@7 | 4 #ifdef __cplusplus |
nuclear@7 | 5 extern "C" { |
nuclear@7 | 6 #endif |
nuclear@7 | 7 |
nuclear@7 | 8 void *set_video_mode(int xsz, int ysz, int bpp); |
nuclear@7 | 9 int set_text_mode(void); |
nuclear@7 | 10 |
nuclear@7 | 11 int get_color_depth(void); |
nuclear@7 | 12 int get_color_bits(int *rbits, int *gbits, int *bbits); |
nuclear@7 | 13 int get_color_shift(int *rshift, int *gshift, int *bshift); |
nuclear@7 | 14 int get_color_mask(unsigned int *rmask, unsigned int *gmask, unsigned int *bmask); |
nuclear@7 | 15 |
nuclear@7 | 16 void set_palette(int idx, int r, int g, int b); |
nuclear@7 | 17 |
nuclear@7 | 18 void wait_vsync(void); |
nuclear@7 | 19 |
nuclear@7 | 20 #ifdef __cplusplus |
nuclear@7 | 21 } |
nuclear@7 | 22 #endif |
nuclear@7 | 23 |
nuclear@7 | 24 #endif /* VBEGFX_H_ */ |