X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayergrouptree.h;h=a17c4700f5ae9e278ae76a3b86260589356e4447;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=7e76a62e1c4e2555bc4004233f596dbd1270544e;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/layergrouptree.h b/synfig-studio/trunk/src/gtkmm/layergrouptree.h index 7e76a62..a17c470 100644 --- a/synfig-studio/trunk/src/gtkmm/layergrouptree.h +++ b/synfig-studio/trunk/src/gtkmm/layergrouptree.h @@ -1,35 +1,36 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file layergrouptree.h ** \brief Template Header ** -** $Id: layergrouptree.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 */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_STUDIO_LAYERGROUPTREE_H -#define __SINFG_STUDIO_LAYERGROUPTREE_H +#ifndef __SYNFIG_STUDIO_LAYERGROUPTREE_H +#define __SYNFIG_STUDIO_LAYERGROUPTREE_H /* === H E A D E R S ======================================================= */ #include #include -#include -#include +#include +#include #include "layergrouptreestore.h" /* === M A C R O S ========================================================= */ @@ -38,7 +39,7 @@ /* === C L A S S E S & S T R U C T S ======================================= */ -namespace sinfg { class Layer; } +namespace synfig { class Layer; } namespace studio { @@ -50,16 +51,16 @@ class LayerGroupTree : public Gtk::TreeView public: - typedef std::list LayerList; + typedef std::list LayerList; /* -- ** -- P U B L I C D A T A ------------------------------------------------ */ public: - + LayerGroupTreeStore::Model model; - + /* -- ** -- P R I V A T E D A T A --------------------------------------------- */ @@ -73,7 +74,7 @@ private: bool editable_; - sigc::signal > signal_popup_layer_menu_; + sigc::signal > signal_popup_layer_menu_; // sigc::signal signal_select_layers_; Gtk::TreeView::Column* label_column; @@ -83,7 +84,7 @@ private: */ private: - + /* -- ** -- S I G N A L T E R M I N A L S ------------------------------------- */ @@ -97,26 +98,26 @@ private: */ public: - + LayerGroupTree(); ~LayerGroupTree(); void set_cursor(const Gtk::TreeModel::Path& path, bool start_editing=false); Glib::RefPtr get_model() { return layer_group_tree_store_; } - sigc::signal >& signal_popup_layer_menu() { return signal_popup_layer_menu_; } + sigc::signal >& signal_popup_layer_menu() { return signal_popup_layer_menu_; } // sigc::signal& signal_select_layers() { return signal_select_layers_; } void set_model(Glib::RefPtr layer_group_tree_store_); void set_editable(bool x=true); - + bool get_editable()const { return editable_; } - - std::list get_selected_groups()const; - LayerList get_selected_layers()const; + std::list get_selected_groups()const; + + LayerList get_selected_layers()const; }; // END of LayerGroupTree }; // END of namespace studio