X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/870fa143f6a703e4f4432097ce8332ab3f15e4ad..d0f60daffa262185ae50df62668cd6affb54e4b7:/culooks.cpp diff --git a/culooks.cpp b/culooks.cpp index 647f7be..6e7fded 100644 --- a/culooks.cpp +++ b/culooks.cpp @@ -42,6 +42,8 @@ culooks::culooks (const char* name, const int& xcubes, const int& ycubes, const Win->initialized = false; + //Win->linewidth = 1; + Windows.push_back( pair(0, Win) ); if (windowid == 0) { @@ -104,3 +106,15 @@ void culooks::setWireColor(const float& r, const float& g, const float& b, const for (int icube=0; icubecubes.size(); icube++) Windows[mywid].second->cubes[icube].setWireColor(r, g, b, a); } + +void culooks::setFrameWidth(float 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); +}