main_win.cc
changeset 155 74065e83844d
parent 154 65c1b103443d
child 156 c5cdf6690cdf
equal deleted inserted replaced
42:60e3d83779a6 43:25d2727b01a5
   208   table2.set_col_spacings(5);
   208   table2.set_col_spacings(5);
   209 
   209 
   210   table2.attach(*auto_scale, 0,2,0,1);
   210   table2.attach(*auto_scale, 0,2,0,1);
   211  
   211  
   212   Gtk::Label * unit_label= new Gtk::Label("Unit:");
   212   Gtk::Label * unit_label= new Gtk::Label("Unit:");
   213   table2.attach(*unit_label, 2,3,0,1);
   213 //   table2.attach(*unit_label, 2,3,0,1);
   214   
   214   
   215   Gtk::Adjustment * adjustment_unit=new Gtk::Adjustment(20, 5, 200, 5, 10);
   215   Gtk::Adjustment * adjustment_unit=new Gtk::Adjustment(20, 5, 200, 5, 10);
   216 
   216 
   217   radius_unit = new Gtk::SpinButton(*adjustment_unit, 5,0);
   217   radius_unit = new Gtk::SpinButton(*adjustment_unit, 5,0);
   218   radius_unit->signal_value_changed().connect(sigc::mem_fun(*this, &MainWin::nodeViewChanged));
   218   radius_unit->signal_value_changed().connect(sigc::mem_fun(*this, &MainWin::nodeViewChanged));
   219   table2.attach(*radius_unit, 3,4,0,1);
   219 //   table2.attach(*radius_unit, 3,4,0,1);
   220 
   220 
   221   Gtk::Label * min_label= new Gtk::Label("Min:");
   221   Gtk::Label * min_label= new Gtk::Label("Min:");
   222   table2.attach(*min_label, 0,1,1,2);
   222 //   table2.attach(*min_label, 0,1,1,2);
   223   
   223   
   224   Gtk::Adjustment * adjustment_min=new Gtk::Adjustment(20, 5, 200, 5, 10);
   224   Gtk::Adjustment * adjustment_min=new Gtk::Adjustment(20, 5, 200, 5, 10);
   225 
   225 
   226   radius_min = new Gtk::SpinButton(*adjustment_min, 5,0);
   226   radius_min = new Gtk::SpinButton(*adjustment_min, 5,0);
   227   radius_min->signal_value_changed().connect(sigc::mem_fun(*this, &MainWin::nodeViewChanged));
   227   radius_min->signal_value_changed().connect(sigc::mem_fun(*this, &MainWin::nodeViewChanged));
   228   table2.attach(*radius_min, 1,2,1,2);
   228 //   table2.attach(*radius_min, 1,2,1,2);
   229 
   229 
   230   Gtk::Label * max_label= new Gtk::Label("Max:");
   230   Gtk::Label * max_label= new Gtk::Label("Size:");
   231   table2.attach(*max_label, 2,3,1,2);
   231   table2.attach(*max_label, 2,3,1,2);
   232   
   232   
   233   Gtk::Adjustment * adjustment_max=new Gtk::Adjustment(20, 5, 200, 5, 10);
   233   Gtk::Adjustment * adjustment_max=new Gtk::Adjustment(20, 0, 200, 5, 10);
   234 
   234 
   235   radius_max = new Gtk::SpinButton(*adjustment_max, 5,0);
   235   radius_max = new Gtk::SpinButton(*adjustment_max, 5,0);
   236   radius_max->signal_value_changed().connect(sigc::mem_fun(*this, &MainWin::nodeViewChanged));
   236   radius_max->signal_value_changed().connect(sigc::mem_fun(*this, &MainWin::nodeViewChanged));
   237   table2.attach(*radius_max, 3,4,1,2);
   237   table2.attach(*radius_max, 3,4,1,2);
   238 
   238