/*! \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-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
*/
public:
-
+
ChildrenTreeStore::Model model;
-
+
/*
-- ** -- P R I V A T E D A T A ---------------------------------------------
*/
sigc::signal<bool, int, Gtk::TreeRow, ColumnID> signal_user_click_;
- sigc::signal<void,synfigapp::ValueDesc,synfig::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;
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 -------------------------------------
*/
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<synfig::Node>& node,const synfig::Time&,const synfig::Time&,int button,synfig::Waypoint::Side side);
bool on_tree_event(GdkEvent *event);
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();
sigc::signal<bool,int, Gtk::TreeRow, ColumnID>& signal_user_click() { return signal_user_click_; }
- sigc::signal<void,synfigapp::ValueDesc,synfig::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<synfigapp::SelectionManager> get_selection_manager() { return children_tree_store_->canvas_interface()->get_selection_manager(); }