X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/79dada2bcf873731ed4e78cfed64d8274fb5c587..db4f3ff8e4de55b60181aeb4643f54ac6ee69fc9:/cubelooks.h?ds=inline diff --git a/cubelooks.h b/cubelooks.h index 6a404a7..4d75332 100644 --- a/cubelooks.h +++ b/cubelooks.h @@ -3,6 +3,12 @@ #include #include +#include +#include +#include +#include +#include + using namespace std; @@ -32,13 +38,18 @@ class cubelooks double aspect; vector cubes; int w, h; + GLXDrawable gDrawable; + Display *gDisplay; + GLXContext gContext; }; cubelooks(const int& xcubes, const int& ycubes, const int& l, int *argc, char **argv); private: pthread_t glThreadId; - env _Env; + static bool initDone; + static GLXDrawable gDrawable; + static Display *gDisplay; }; #endif