X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_value.h;h=99bdf5b29bbfa5f92870bed5eea248d74649506c;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=7e0cb268b936bbf98182af6037823f7ef4cfcee0;hpb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_value.h b/synfig-studio/trunk/src/gtkmm/widget_value.h index 7e0cb26..99bdf5b 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_value.h +++ b/synfig-studio/trunk/src/gtkmm/widget_value.h @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ -/*! \file widget_value.cpp +/*! \file widget_value.h ** \brief Template File ** -** $Id: widget_value.h,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 @@ -39,7 +39,6 @@ //#include #include #include -//#include //#include //#include //#include @@ -73,7 +72,7 @@ class Widget_Filename; class Widget_Vector; class Widget_Time; class Widget_Distance; - + class Widget_ValueBase : public Gtk::HBox { Gtk::Label *label; @@ -96,9 +95,9 @@ class Widget_ValueBase : public Gtk::HBox Widget_Time *time_widget; Gtk::Entry *string_widget; Widget_Distance *distance_widget; - + // std::string hint; - + synfig::ParamDesc param_desc; etl::handle canvas; sigc::signal signal_value_changed_; @@ -106,21 +105,21 @@ class Widget_ValueBase : public Gtk::HBox public: sigc::signal &signal_value_changed() { return signal_value_changed_; } - + void activate(); - + sigc::signal& signal_activate() { return signal_activate_; } void set_value(const synfig::ValueBase &data); const synfig::ValueBase &get_value(); void on_grab_focus(); - + void set_param_desc(const synfig::ParamDesc &x) { param_desc=x; } const synfig::ParamDesc &get_param_desc() { return param_desc; } void set_sensitive(bool x); - + //void set_hint(std::string x) { hint=x; } // std::string get_hint() { return hint; }