00001
00006 #ifndef DISPLAY_H
00007 #define DISPLAY_H
00008
00009 #include <shveu/shveu.h>
00010
00014 struct DISPLAY;
00015 typedef struct DISPLAY DISPLAY;
00016
00022 DISPLAY *display_open(void);
00023
00028 void display_close(DISPLAY *disp);
00029
00034 int display_get_format(DISPLAY *disp);
00035
00040 int display_get_width(DISPLAY *disp);
00041
00046 int display_get_height(DISPLAY *disp);
00047
00052 unsigned char *display_get_back_buff(DISPLAY *disp);
00053
00058 int display_flip(DISPLAY *disp);
00059
00060
00061
00062
00063
00068 void display_set_fullscreen(DISPLAY *disp);
00069
00074 void display_set_position(DISPLAY *disp, int w, int h, int x, int y);
00075
00081 int display_update(
00082 DISPLAY *disp,
00083 struct ren_vid_surface *src);
00084
00085 #endif
00086