X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayerparamtreestore.h;h=8e9f9103d2e9562167c79060d363c16dbfe85fd5;hb=5f937f1d74ccc6dc54f876e62cdea574e7cb56bf;hp=6b151d80a4d558bd273afe840431ce28db651080;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h index 6b151d8..8e9f910 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.h @@ -2,19 +2,20 @@ /*! \file layerparamtreestore.h ** \brief Template Header ** -** $Id: layerparamtreestore.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 */ /* ========================================================================= */ @@ -42,7 +43,7 @@ namespace studio { class LayerTree; - + class LayerParamTreeStore : public CanvasTreeStore { /* @@ -57,7 +58,7 @@ public: */ public: - + //! TreeModel for the layer parameters class Model : public CanvasTreeStore::Model { @@ -75,10 +76,10 @@ public: add(is_toplevel); } }; - + Model model; - + /* -- ** -- P R I V A T E D A T A --------------------------------------------- */ @@ -86,13 +87,13 @@ public: private: int queued; - + LayerTree* layer_tree; - + LayerList layer_list; sigc::connection queue_connection; - + std::list changed_connection_list; sigc::signal signal_changed_; @@ -128,7 +129,7 @@ private: */ public: - + LayerParamTreeStore(etl::loose_handle canvas_interface_, LayerTree* layer_tree); ~LayerParamTreeStore(); @@ -146,13 +147,13 @@ public: sigc::signal& signal_changed() { return signal_changed_; } void changed() { signal_changed_(); } - + /* -- ** -- S T A T I C P U B L I C M E T H O D S --------------------------- */ public: - + static Glib::RefPtr create(etl::loose_handle canvas_interface_, LayerTree*layer_tree); }; // END of class LayerParamTreeStore