X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_defaults.cpp;h=b0d53105da66d98d2ebf83bc97f21808edf1581c;hb=29b64838a7e7b91aa32c8a3f4a69e64b31d5558d;hp=f7357326082aa295aa6c574125d51f0c2222b78a;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp b/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp index f735732..b0d5310 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp @@ -5,16 +5,17 @@ ** $Id: widget_defaults.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. ** \endlegal */ /* ========================================================================= */ @@ -257,7 +258,9 @@ Widget_Defaults::Widget_Defaults() widget_bline_width=manage(new Widget_Distance()); widget_bline_width->show(); + bline_width_refresh(); widget_bline_width->set_digits(2); + widget_bline_width->set_range(0,10000000); widget_bline_width->set_size_request(24,-1); widget_bline_width->signal_value_changed().connect(sigc::mem_fun(*this,&studio::Widget_Defaults::on_bline_width_changed)); attach(*widget_bline_width,1, 2, 1, 2, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, 0, 0); @@ -277,7 +280,7 @@ Widget_Defaults::Widget_Defaults() widget_interpolation->set_param_desc( ParamDesc("interpolation") .set_hint("enum") - .add_enum_value(INTERPOLATION_TCB,"auto",_("TBC")) + .add_enum_value(INTERPOLATION_TCB,"auto",_("TCB")) .add_enum_value(INTERPOLATION_CONSTANT,"constant",_("Constant")) .add_enum_value(INTERPOLATION_HALT,"ease",_("Ease in/out")) .add_enum_value(INTERPOLATION_LINEAR,"linear",_("Linear")) @@ -313,7 +316,6 @@ Widget_Defaults::Widget_Defaults() fg_color_refresh(); bg_color_refresh(); gradient_refresh(); - bline_width_refresh(); blend_method_refresh(); opacity_refresh(); interpolation_refresh();