X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcellrenderer_value.h;h=14a425dc0292423bad1f0aec5fb6838531913465;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=45cc6b73f0519e0e53ae2134faeb902ed29e61e5;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_value.h b/synfig-studio/trunk/src/gtkmm/cellrenderer_value.h index 45cc6b7..14a425d 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_value.h +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_value.h @@ -1,20 +1,21 @@ /* === S Y N F I G ========================================================= */ -/*! \file cellrenderer_value.cpp +/*! \file cellrenderer_value.h ** \brief Template File ** -** $Id: cellrenderer_value.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \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 */ /* ========================================================================= */ @@ -38,7 +39,6 @@ #include #include #include -#include #include #include #include @@ -86,7 +86,8 @@ class CellRenderer_ValueBase : public Gtk::CellRendererText void gradient_edited(synfig::Gradient gradient, Glib::ustring path); void color_edited(synfig::Color color, Glib::ustring path); - + + bool edit_value_done_called; public: sigc::signal &signal_secondary_click() {return signal_secondary_click_; } @@ -97,11 +98,11 @@ public: Glib::PropertyProxy property_value() { return property_value_.get_proxy();} Glib::PropertyProxy > property_canvas() { return property_canvas_.get_proxy();} Glib::PropertyProxy property_param_desc() { return property_param_desc_.get_proxy(); } - Glib::PropertyProxy property_inconsistant() { return property_foreground_set(); } + Glib::PropertyProxy property_inconsistent() { return property_foreground_set(); } etl::handle get_canvas()const { return property_canvas_; } synfig::ParamDesc get_param_desc()const { return property_param_desc_; } - + CellRenderer_ValueBase(); ~CellRenderer_ValueBase(); @@ -117,7 +118,7 @@ public: const Gdk::Rectangle& ca, const Gdk::Rectangle& expose_area, Gtk::CellRendererState flags); - + virtual Gtk::CellEditable* start_editing_vfunc(GdkEvent* event, Gtk::Widget& widget, const Glib::ustring& path,