X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/c92e802f596346087ee22a76868654f40a199f6e..40171a80594f79b137900fae122a2e33a3a88f95:/culooks.cpp?ds=sidebyside diff --git a/culooks.cpp b/culooks.cpp index 0d0ebf2..6e7fded 100644 --- a/culooks.cpp +++ b/culooks.cpp @@ -42,7 +42,7 @@ culooks::culooks (const char* name, const int& xcubes, const int& ycubes, const Win->initialized = false; - Win->linewidth = 1; + //Win->linewidth = 1; Windows.push_back( pair(0, Win) ); @@ -107,7 +107,14 @@ void culooks::setWireColor(const float& r, const float& g, const float& b, const Windows[mywid].second->cubes[icube].setWireColor(r, g, b, a); } -void culooks::setLineWidth(float width) +void culooks::setFrameWidth(float width) { - Windows[mywid].second->linewidth = width; + for (int icube=0; icubecubes.size(); icube++) + Windows[mywid].second->cubes[icube].setFrameWidth(width); +} + +void culooks::setLinkWidth(float width) +{ + for (int icube=0; icubecubes.size(); icube++) + Windows[mywid].second->cubes[icube].setLinkWidth(width); }