#ifndef UI_H #define UI_H #include #include void simple_init(int x, int y, unsigned width, unsigned height); void init_display(int argc, char ** argv, int x, int y, unsigned width, unsigned height); void draw_rect(int x, int y); void draw_point(int x,int y); void clear() ; extern Display *theDisplay; extern GC theGC; extern Window theMain; #endif UI_H