#ifndef JES_GUI_H #define JES_GUI_H #include "jes/Ref.h" #include #include "FontManager.h" #include "GLProgram.h" namespace jes { class GUI { public: enum { PROGRAM_TEXT, PROGRAM_BASIC, PROGRAM_RECT, PROGRAM_COUNT, }; bool load(); int run(); protected: bool load_shaders(); SDL_Window * m_window; FontManagerRef m_font_manager; GLProgramRef m_programs[PROGRAM_COUNT]; }; typedef Ref GUIRef; } #endif