Win->initialized = false;
 
+  Win->linewidth = 1;
+
   Windows.push_back( pair<int,culooks::window*>(0, Win) );
 
   if (windowid == 0) {
   for (int icube=0; icube<Windows[mywid].second->cubes.size(); icube++)
     Windows[mywid].second->cubes[icube].setWireColor(r, g, b, a);
 }
+
+void culooks::setLineWidth(float width)
+{
+  Windows[mywid].second->linewidth = width;
+}
 
   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 setLineWidth(float width);
 
  private:
 
     string name;
     float bgcolor[4];
     bool redisplay;
+    float linewidth;
   };
 
   class drawing 
 
 {
   culooks::window *Win = getWin();
 
+  glLineWidth(Win->linewidth);
+
   glClearColor(Win->bgcolor[0], Win->bgcolor[1], Win->bgcolor[2], Win->bgcolor[3]);
   glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);