1 #ifndef NEBU_VIDEO_TYPES_H 2 #define NEBU_VIDEO_TYPES_H 3 4 typedef struct { 5 int win_id; /* only the root visual has an id */ 6 int h, w; /* window dimension */ 7 int vp_x, vp_y; /* viewport position */ 8 int vp_h, vp_w; /* viewport dimension */ 9 10 int onScreen; 11 12 unsigned int *textures; /* texture IDs */ 13 } Visual; 14 15 #endif 16