10 #include <X11/Xutil.h>
19 culooks (const char* name, const int& xcubes, const int& ycubes, const int& l, int *argc, char **argv);
52 static int rotcube[3];
53 static culooks::window* getWin();
54 static int getCubeFromPos(int x, int y);
55 static void motionFunc(int x, int y);
56 static void mouseFunc(int button, int state, int x, int y);
57 static void reshapeFunc(int w, int h);
58 static void displayFunc();
59 static void initWindow(int winid);
60 static void idleFunc_master();
62 static void* glutThread(void *leer);
65 static vector< pair<int,window*> > Windows;
66 static pthread_t glThreadId;