summaryrefslogtreecommitdiffstats
path: root/nebu/include/video/nebu_video_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'nebu/include/video/nebu_video_types.h')
-rw-r--r--nebu/include/video/nebu_video_types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/nebu/include/video/nebu_video_types.h b/nebu/include/video/nebu_video_types.h
new file mode 100644
index 0000000..dece5ee
--- /dev/null
+++ b/nebu/include/video/nebu_video_types.h
@@ -0,0 +1,15 @@
+#ifndef NEBU_VIDEO_TYPES_H
+#define NEBU_VIDEO_TYPES_H
+
+typedef struct {
+ int win_id; /* only the root visual has an id */
+ int h, w; /* window dimension */
+ int vp_x, vp_y; /* viewport position */
+ int vp_h, vp_w; /* viewport dimension */
+
+ int onScreen;
+
+ unsigned int *textures; /* texture IDs */
+} Visual;
+
+#endif