X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/f9812559e766a409abfbd2d3bae519298339ab65..863c9da2356ce3fc92d6a39550ac6c181252781a:/culooks.h?ds=inline diff --git a/culooks.h b/culooks.h index fe6ca11..66b3320 100644 --- a/culooks.h +++ b/culooks.h @@ -27,6 +27,9 @@ class culooks void hideLinks(const int& cubeid); void hideLinks(); void setBgColor(const float& red, const float& green, const float& blue, const float& alpha); + void setWireColor(const float& r, const float& g, const float& b, const float& a); + void setFrameWidth(float width); + void setLinkWidth(float width); private: @@ -34,6 +37,8 @@ class culooks int *argc; char **argv; }; + + static comarg comArg; class cube { public: @@ -41,6 +46,7 @@ class culooks void draw(); int id; float az, alt; + float azRotSpeed; float zoom; void setLink (const int& posdir, const float& red, const float& green, const float& blue, const float& alpha); @@ -50,7 +56,11 @@ class culooks void swapPlaqBuffer(); void hidePlaqs(); void hideLinks(); + void setWireColor(const float& r, const float& g, const float& b, const float& a); + void setFrameWidth(float width); + void setLinkWidth(float width); private: + float wireColor[4]; void drawAll(); void drawBox(); static void drawFrame(); @@ -62,6 +72,10 @@ class culooks int plaqbuf_active; int linkbuf_active; static int allid; + bool hideplaquettes; + bool hidelinks; + float framewidth; + float linkwidth; }; struct window {