Added copyright lines for files I've edited this year.
[synfig.git] / synfig-studio / trunk / src / gtkmm / childrentree.h
index 40d68d1..5c709b6 100644 (file)
@@ -1,28 +1,30 @@
-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
 /*!    \file childrentree.h
 **     \brief Template Header
 **
-**     $Id: childrentree.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
+**     Copyright (c) 2008 Chris Moore
 **
-**     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_CHILDRENTREE_H
-#define __SINFG_STUDIO_CHILDRENTREE_H
+#ifndef __SYNFIG_STUDIO_CHILDRENTREE_H
+#define __SYNFIG_STUDIO_CHILDRENTREE_H
 
 /* === H E A D E R S ======================================================= */
 
 #include <gtkmm/scale.h>
 #include <gtkmm/button.h>
 
-#include <sinfgapp/canvasinterface.h>
-#include <sinfgapp/value_desc.h>
+#include <synfigapp/canvasinterface.h>
+#include <synfigapp/value_desc.h>
 #include "childrentreestore.h"
-#include <sinfg/valuenode_animated.h>
+#include <synfig/valuenode_animated.h>
 
 #include "widget_value.h"
 
@@ -68,9 +70,9 @@ public:
        */
 
 public:
-       
+
        ChildrenTreeStore::Model model;
-       
+
        /*
  -- ** -- P R I V A T E   D A T A ---------------------------------------------
        */
@@ -93,11 +95,11 @@ private:
 
        CellRenderer_ValueBase *cellrenderer_value;
 
-       sigc::signal<void,sinfgapp::ValueDesc,sinfg::ValueBase> signal_edited_value_;
+       sigc::signal<void,synfigapp::ValueDesc,synfig::ValueBase> signal_edited_value_;
 
        sigc::signal<bool, int, Gtk::TreeRow, ColumnID> signal_user_click_;
 
-       sigc::signal<void,sinfgapp::ValueDesc,sinfg::Waypoint, int> signal_waypoint_clicked_;
+       sigc::signal<void,synfigapp::ValueDesc,std::set<synfig::Waypoint,std::less<synfig::UniqueID> >,int,synfig::Waypoint::Side> signal_waypoint_clicked_childrentree_;
 
        Gtk::Button *button_raise;
        Gtk::Button *button_lower;
@@ -105,22 +107,22 @@ private:
        Gtk::Button *button_delete;
 
        Widget_ValueBase blend_method_widget;
-       
+
        /*
  -- ** -- P R I V A T E   M E T H O D S ---------------------------------------
        */
 
 private:
-       
+
        /*
  -- ** -- S I G N A L   T E R M I N A L S -------------------------------------
        */
 
 private:
 
-       void on_edited_value(const Glib::ustring&path_string,sinfg::ValueBase value);
+       void on_edited_value(const Glib::ustring&path_string,synfig::ValueBase value);
 
-       void on_waypoint_clicked(const Glib::ustring &, sinfg::Waypoint,int button);
+       void on_waypoint_clicked_childrentree(const etl::handle<synfig::Node>& node,const synfig::Time&,const synfig::Time&,int button,synfig::Waypoint::Side side);
 
        bool on_tree_event(GdkEvent *event);
 
@@ -145,10 +147,10 @@ public:
        Gtk::HBox& get_hbox() { return *hbox; }
 
        Gtk::TreeView& get_tree_view() { return tree_view; }
-       
+
        Glib::RefPtr<Gtk::TreeSelection> get_selection() { return tree_view.get_selection(); }
        Glib::SignalProxy1< bool,GdkEvent* >  signal_event () { return tree_view.signal_event(); }
-       
+
        ChildrenTree();
        ~ChildrenTree();
 
@@ -159,13 +161,13 @@ public:
        void set_show_timetrack(bool x=true);
 
        //! Signal called with a value has been edited.
-       sigc::signal<void,sinfgapp::ValueDesc,sinfg::ValueBase>& signal_edited_value() { return signal_edited_value_; }
+       sigc::signal<void,synfigapp::ValueDesc,synfig::ValueBase>& signal_edited_value() { return signal_edited_value_; }
 
        sigc::signal<bool,int, Gtk::TreeRow, ColumnID>& signal_user_click() { return signal_user_click_; }
 
-       sigc::signal<void,sinfgapp::ValueDesc,sinfg::Waypoint, int>& signal_waypoint_clicked() { return signal_waypoint_clicked_; }
+       sigc::signal<void,synfigapp::ValueDesc,std::set<synfig::Waypoint,std::less<synfig::UniqueID> >,int,synfig::Waypoint::Side>& signal_waypoint_clicked_childrentree() { return signal_waypoint_clicked_childrentree_; }
 
-       etl::handle<sinfgapp::SelectionManager> get_selection_manager() { return children_tree_store_->canvas_interface()->get_selection_manager(); }
+       etl::handle<synfigapp::SelectionManager> get_selection_manager() { return children_tree_store_->canvas_interface()->get_selection_manager(); }
 
 }; // END of ChildrenTree