X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fchildrentree.h;h=5c709b6581afd8f298dddcd2286363b3b1bd1baf;hb=756c0d29ac1742f231e6615f9a577e574e35a4af;hp=f34422867585ba525786a8c04256ff9f9b011822;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/childrentree.h b/synfig-studio/trunk/src/gtkmm/childrentree.h index f344228..5c709b6 100644 --- a/synfig-studio/trunk/src/gtkmm/childrentree.h +++ b/synfig-studio/trunk/src/gtkmm/childrentree.h @@ -2,19 +2,21 @@ /*! \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 */ /* ========================================================================= */ @@ -68,9 +70,9 @@ public: */ public: - + ChildrenTreeStore::Model model; - + /* -- ** -- P R I V A T E D A T A --------------------------------------------- */ @@ -97,7 +99,7 @@ private: sigc::signal signal_user_click_; - sigc::signal signal_waypoint_clicked_; + sigc::signal >,int,synfig::Waypoint::Side> signal_waypoint_clicked_childrentree_; Gtk::Button *button_raise; Gtk::Button *button_lower; @@ -105,13 +107,13 @@ 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 ------------------------------------- */ @@ -120,7 +122,7 @@ private: void on_edited_value(const Glib::ustring&path_string,synfig::ValueBase value); - void on_waypoint_clicked(const Glib::ustring &, synfig::Waypoint,int button); + void on_waypoint_clicked_childrentree(const etl::handle& 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 get_selection() { return tree_view.get_selection(); } Glib::SignalProxy1< bool,GdkEvent* > signal_event () { return tree_view.signal_event(); } - + ChildrenTree(); ~ChildrenTree(); @@ -163,7 +165,7 @@ public: sigc::signal& signal_user_click() { return signal_user_click_; } - sigc::signal& signal_waypoint_clicked() { return signal_waypoint_clicked_; } + sigc::signal >,int,synfig::Waypoint::Side>& signal_waypoint_clicked_childrentree() { return signal_waypoint_clicked_childrentree_; } etl::handle get_selection_manager() { return children_tree_store_->canvas_interface()->get_selection_manager(); }