1 #ifndef _UTIL_H_ 2 #define _UTIL_H_ 3 4 typedef struct _Coord { 5 int x, y; 6 } Coord; 7 8 static inline SDL_Color mk_SDL_Color(int r, int g, int b, int a) { 9 SDL_Color const c = { r, g, b, a }; 10 return c; 11 } 12 13 #endif
menua graphical menu within a window |