#ifndef GUI_HH #define GUI_HH #include "/usr/local/include/SDL11/SDL.h" #include "map.hh" class Gui; class Map; class Gui { public: Gui(); ~Gui(); bool load(int w_, int h_, char* title); void write(int x, int y, Uint8 r, Uint8 g, Uint8 b); void draw(Map* map, bool showPheromones); private: void lock(); void unlock(); int w; int h; SDL_Surface* screen; }; #endif // GUI_HH