X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayerparamtreestore.h;h=d35a7fdfc54c2df1e9ca828315418923c1cd98e5;hb=0c2b7e48750351e8f3d39885dd1e2c2b73551523;hp=24d338d66a4afa36fcaac5a390220cb524745f95;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h index 24d338d..d35a7fd 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h @@ -1,37 +1,38 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file layerparamtreestore.h ** \brief Template Header ** ** $Id: layerparamtreestore.h,v 1.1.1.1 2005/01/07 03:34:36 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 */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_STUDIO_LAYERPARAMTREESTORE_H -#define __SINFG_STUDIO_LAYERPARAMTREESTORE_H +#ifndef __SYNFIG_STUDIO_LAYERPARAMTREESTORE_H +#define __SYNFIG_STUDIO_LAYERPARAMTREESTORE_H /* === H E A D E R S ======================================================= */ #include -#include +#include #include "canvastreestore.h" -#include -#include -#include +#include +#include +#include /* === M A C R O S ========================================================= */ @@ -50,7 +51,7 @@ class LayerParamTreeStore : public CanvasTreeStore */ public: - typedef std::list LayerList; + typedef std::list LayerList; /* -- ** -- P U B L I C D A T A ------------------------------------------------ @@ -63,7 +64,7 @@ public: { public: - Gtk::TreeModelColumn param_desc; + Gtk::TreeModelColumn param_desc; Gtk::TreeModelColumn is_inconsistent; Gtk::TreeModelColumn is_toplevel; @@ -106,7 +107,7 @@ private: protected: virtual void get_value_vfunc (const Gtk::TreeModel::iterator& iter, int column, Glib::ValueBase& value)const; virtual void set_value_impl (const Gtk::TreeModel::iterator& row, int column, const Glib::ValueBase& value); - virtual void set_row(Gtk::TreeRow row,sinfgapp::ValueDesc value_desc); + virtual void set_row(Gtk::TreeRow row,synfigapp::ValueDesc value_desc); /* -- ** -- S I G N A L T E R M I N A L S ------------------------------------- @@ -114,14 +115,14 @@ protected: private: - void on_value_node_child_added(sinfg::ValueNode::Handle value_node,sinfg::ValueNode::Handle child); - void on_value_node_child_removed(sinfg::ValueNode::Handle value_node,sinfg::ValueNode::Handle child); + void on_value_node_child_added(synfig::ValueNode::Handle value_node,synfig::ValueNode::Handle child); + void on_value_node_child_removed(synfig::ValueNode::Handle value_node,synfig::ValueNode::Handle child); - void on_value_node_added(sinfg::ValueNode::Handle value_node); - void on_value_node_deleted(sinfg::ValueNode::Handle value_node); - virtual void on_value_node_changed(sinfg::ValueNode::Handle value_node); - void on_value_node_replaced(sinfg::ValueNode::Handle replaced_value_node,sinfg::ValueNode::Handle new_value_node); - void on_layer_param_changed(sinfg::Layer::Handle handle,sinfg::String param_name); + void on_value_node_added(synfig::ValueNode::Handle value_node); + void on_value_node_deleted(synfig::ValueNode::Handle value_node); + virtual void on_value_node_changed(synfig::ValueNode::Handle value_node); + void on_value_node_replaced(synfig::ValueNode::Handle replaced_value_node,synfig::ValueNode::Handle new_value_node); + void on_layer_param_changed(synfig::Layer::Handle handle,synfig::String param_name); /* -- ** -- P U B L I C M E T H O D S ----------------------------------------- @@ -129,7 +130,7 @@ private: public: - LayerParamTreeStore(etl::loose_handle canvas_interface_, + LayerParamTreeStore(etl::loose_handle canvas_interface_, LayerTree* layer_tree); ~LayerParamTreeStore(); @@ -153,7 +154,7 @@ public: public: - static Glib::RefPtr create(etl::loose_handle canvas_interface_, LayerTree*layer_tree); + static Glib::RefPtr create(etl::loose_handle canvas_interface_, LayerTree*layer_tree); }; // END of class LayerParamTreeStore }; // END of namespace studio