#pragma once #include #include "agl.h" #include "gl.h" #include "glu.h" #include #define WINDOWH 400 #define WINDOWV 400 typedef struct VWindow { WindowRef TheWindow; Boolean IsFullScreen; AGLContext Windowed; AGLContext FullScreen; Boolean quitOnClose; } VWindow; void InitWindow(VWindow * w); void TransWindow(WindowRef w, Boolean vis); void CreateFullScreenContext(VWindow * w); void CreateWindowedContext(VWindow * w); void CleanUpWindow(VWindow * w);