X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/f9812559e766a409abfbd2d3bae519298339ab65..20acc11c8054200c02794f58e3cc63851b5627ff:/culooks.h?ds=sidebyside 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 {