X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/79dada2bcf873731ed4e78cfed64d8274fb5c587..b8c3dcf5e075cc961b2693b1fcb8d1b8604e8f7c:/cubelooks.h?ds=sidebyside 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