1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef WIDGET_H #define WIDGET_H #include "GL/glew.h" #include "../texture.h" typedef struct { int x, y, w, h; texture_t *texture; } widget_t; #endif // WIDGET_H