equal
deleted
inserted
replaced
357 set_title(tabnames[active_tab]); |
357 set_title(tabnames[active_tab]); |
358 bool autoscale; |
358 bool autoscale; |
359 bool zoomtrack; |
359 bool zoomtrack; |
360 double width; |
360 double width; |
361 double radius; |
361 double radius; |
362 double unit; |
|
363 tabs[active_tab]->getView(autoscale, zoomtrack, width, radius); |
362 tabs[active_tab]->getView(autoscale, zoomtrack, width, radius); |
364 edge_width->set_value(width); |
363 edge_width->set_value(width); |
365 radius_size->set_value(radius); |
364 radius_size->set_value(radius); |
366 zoom_track->set_active(zoomtrack); |
365 zoom_track->set_active(zoomtrack); |
367 auto_scale->set_active(autoscale); |
366 auto_scale->set_active(autoscale); |
531 |
530 |
532 void MainWin::nodeViewChanged() |
531 void MainWin::nodeViewChanged() |
533 { |
532 { |
534 double width=edge_width->get_value(); |
533 double width=edge_width->get_value(); |
535 double radius=radius_size->get_value(); |
534 double radius=radius_size->get_value(); |
536 double unit; |
|
537 bool zoomtrack=zoom_track->get_active(); |
535 bool zoomtrack=zoom_track->get_active(); |
538 bool autoscale=auto_scale->get_active(); |
536 bool autoscale=auto_scale->get_active(); |
539 tabs[active_tab]->setView(autoscale, zoomtrack, width, radius); |
537 tabs[active_tab]->setView(autoscale, zoomtrack, width, radius); |
540 } |
538 } |