Added last two objects (Overlay and VideoInfo) XS files for Video
[sdlgit/SDL_perl.git] / src / Core / objects / VideoInfo.xs
1 #include "EXTERN.h"
2 #include "perl.h"
3 #include "XSUB.h"
4
5 #ifndef aTHX_
6 #define aTHX_
7 #endif
8
9 #include <SDL.h>
10
11 MODULE = SDL::VideoInfo         PACKAGE = SDL::VideoInfo    PREFIX = videoinfo_
12
13 =for documentation
14
15 SDL_VideoInfo -- Video target information
16
17 typedef struct{
18     Uint32 hw_available:1;
19     Uint32 wm_available:1;
20     Uint32 blit_hw:1;
21     Uint32 blit_hw_CC:1;
22     Uint32 blit_hw_A:1;
23     Uint32 blit_sw:1;
24     Uint32 blit_sw_CC:1;
25     Uint32 blit_sw_A:1;
26     Uint32 blit_fill:1;
27     Uint32 video_mem;
28     SDL_PixelFormat *vfmt;
29     int current_w;
30     int current_h;
31 } SDL_VideoInfo;
32
33
34
35 =cut
36