nuclear@0: #ifndef GFX_H_ nuclear@0: #define GFX_H_ nuclear@0: nuclear@0: #ifdef __cplusplus nuclear@0: extern "C" { nuclear@0: #endif nuclear@0: nuclear@0: void *set_video_mode(int xsz, int ysz, int bpp); nuclear@0: int set_text_mode(void); nuclear@0: nuclear@0: int get_color_depth(void); nuclear@0: int get_color_bits(int *rbits, int *gbits, int *bbits); nuclear@0: int get_color_shift(int *rshift, int *gshift, int *bshift); nuclear@0: int get_color_mask(unsigned int *rmask, unsigned int *gmask, unsigned int *bmask); nuclear@0: nuclear@0: void set_palette(int idx, int r, int g, int b); nuclear@0: nuclear@0: #ifdef __cplusplus nuclear@0: } nuclear@0: #endif nuclear@0: nuclear@0: #endif /* GFX_H_ */