X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_vector.cpp;h=c948fe038865d1dc2ddd905bf68eb588be3e6fc1;hb=c25902b514d64fd65c96ed56171bcd205d19d699;hp=e99b3a3adf178f7036fea9309e291fdd211fcdf8;hpb=e10033355e7df3cd6b2dc9799cf9423d16e3c4ce;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_vector.cpp b/synfig-studio/trunk/src/gtkmm/widget_vector.cpp index e99b3a3..c948fe0 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_vector.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_vector.cpp @@ -2,7 +2,7 @@ /*! \file widget_vector.cpp ** \brief Template File ** -** $Id: widget_vector.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -58,7 +58,7 @@ Widget_Vector::Widget_Vector(): y_adjustment(0,-100000000,100000000,0.05,0.05,0.05) { Gtk::Label *label; - + label=manage(new class Gtk::Label("X:")); label->set_alignment(0, 0.5); label->show(); @@ -97,7 +97,7 @@ Widget_Vector::Widget_Vector(): spinbutton_x->show(); spinbutton_y->show(); - + spinbutton_x->signal_activate().connect(sigc::mem_fun(*spinbutton_y,&Gtk::SpinButton::grab_focus)); distance_x->signal_activate().connect(sigc::mem_fun(*distance_y,&Gtk::SpinButton::grab_focus)); } @@ -142,7 +142,7 @@ Widget_Vector::set_digits(int x) spinbutton_x->set_size_request(48,-1); spinbutton_y->set_size_request(48,-1); } - + distance_x->set_digits(x); distance_y->set_digits(x); distance_x->set_size_request(48,-1);