25 #ifndef __SYNFIG_LAYER_ACTION_MANAGER_H
26 #define __SYNFIG_LAYER_ACTION_MANAGER_H
30 #include <gtkmm/uimanager.h>
31 #include <gtkmm/treeview.h>
46 Glib::RefPtr<Gtk::UIManager> ui_manager_;
49 etl::handle<synfigapp::CanvasInterface> canvas_interface_;
51 Glib::RefPtr<Gtk::ActionGroup> action_group_;
52 Gtk::UIManager::ui_merge_id popup_id_;
55 Glib::RefPtr<Gtk::ActionGroup> action_group_copy_paste;
57 Glib::RefPtr<Gtk::Action> action_cut_;
58 Glib::RefPtr<Gtk::Action> action_copy_;
59 Glib::RefPtr<Gtk::Action> action_paste_;
61 Glib::RefPtr<Gtk::Action> action_amount_inc_;
62 Glib::RefPtr<Gtk::Action> action_amount_dec_;
63 Glib::RefPtr<Gtk::Action> action_amount_;
65 Glib::RefPtr<Gtk::Action> action_select_all_child_layers_;
66 sigc::connection select_all_child_layers_connection;
68 std::list<synfig::Layer::Handle> clipboard_;
70 sigc::connection selection_changed_connection;
73 sigc::connection queue_refresh_connection;
75 std::list<sigc::connection> update_connection_list;
100 etl::loose_handle<synfigapp::Instance>
get_instance()
const {
return canvas_interface_->get_instance(); }