/*! \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-2005 Robert B. Quattlebaum Jr., Adrian Bentley
namespace studio {
class LayerTree;
-
+
class LayerParamTreeStore : public CanvasTreeStore
{
/*
*/
public:
-
+
//! TreeModel for the layer parameters
class Model : public CanvasTreeStore::Model
{
add(is_toplevel);
}
};
-
+
Model model;
-
+
/*
-- ** -- P R I V A T E D A T A ---------------------------------------------
*/
private:
int queued;
-
+
LayerTree* layer_tree;
-
+
LayerList layer_list;
sigc::connection queue_connection;
-
+
std::list<sigc::connection> changed_connection_list;
sigc::signal<void> signal_changed_;
*/
public:
-
+
LayerParamTreeStore(etl::loose_handle<synfigapp::CanvasInterface> canvas_interface_,
LayerTree* layer_tree);
~LayerParamTreeStore();
sigc::signal<void>& 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<LayerParamTreeStore> create(etl::loose_handle<synfigapp::CanvasInterface> canvas_interface_, LayerTree*layer_tree);
}; // END of class LayerParamTreeStore