]> git.treefish.org Git - phys/latlib.git/blobdiff - culooks.cpp
only storing concurrent config file HASHES instead of full names.
[phys/latlib.git] / culooks.cpp
index 0d0ebf2200fdc0ff4a3b324dd3fdca21f9e31b31..6e7fded3e92532c154037631e999a7f49b461e50 100644 (file)
@@ -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<int,culooks::window*>(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; icube<Windows[mywid].second->cubes.size(); icube++)
+    Windows[mywid].second->cubes[icube].setFrameWidth(width);
+}
+
+void culooks::setLinkWidth(float width)
+{
+  for (int icube=0; icube<Windows[mywid].second->cubes.size(); icube++)
+    Windows[mywid].second->cubes[icube].setLinkWidth(width);
 }