synfig-studio
1.0.3
|
#include <layertree.h>
Public Types | |
typedef studio::ColumnID | ColumnID |
typedef std::list < synfig::Layer::Handle > | LayerList |
Public Member Functions | |
Gtk::HBox & | get_hbox () |
Gtk::TreeView & | get_layer_tree_view () |
Gtk::TreeView & | get_param_tree_view () |
const Gtk::TreeView & | get_layer_tree_view () const |
const Gtk::TreeView & | get_param_tree_view () const |
Glib::RefPtr< Gtk::TreeSelection > | get_selection () |
Glib::SignalProxy1< bool, GdkEvent * > | signal_event () |
LayerTree () | |
~LayerTree () | |
void | set_model (Glib::RefPtr< LayerTreeStore > layer_tree_store_) |
void | set_time_adjustment (const Glib::RefPtr< Gtk::Adjustment > &adjustment) |
void | set_show_timetrack (bool x=true) |
sigc::signal< void, synfig::Layer::Handle > & | signal_layer_toggle () |
Signal called when layer is toggled. | |
sigc::signal< void, synfigapp::ValueDesc, synfig::ValueBase > & | signal_edited_value () |
Signal called with a value has been edited. | |
sigc::signal< bool, int, Gtk::TreeRow, ColumnID > & | signal_layer_user_click () |
sigc::signal< bool, int, Gtk::TreeRow, ColumnID > & | signal_param_user_click () |
sigc::signal< void, synfigapp::ValueDesc, std::set < synfig::Waypoint, std::less < synfig::UniqueID > >, int > & | signal_waypoint_clicked_layertree () |
sigc::signal< void, int > & | signal_param_tree_header_height_changed () |
Signal fired when the param treeview header height has changed. The first parameter hold the header height. | |
etl::handle < synfigapp::SelectionManager > | get_selection_manager () |
void | select_layer (synfig::Layer::Handle layer) |
void | select_layers (const LayerList &layer_list) |
void | select_all_children_layers (synfig::Layer::Handle layer) |
void | select_all_children (Gtk::TreeModel::Children::iterator iter) |
LayerList | get_selected_layers () const |
synfig::Layer::Handle | get_selected_layer () const |
void | clear_selected_layers () |
Public Attributes | |
LayerTreeStore::Model | layer_model |
LayerParamTreeStore::Model | param_model |
synfig::Layer::Handle | last_top_selected_layer |
Gtk::TreePath | last_top_selected_path |
typedef std::list<synfig::Layer::Handle> studio::LayerTree::LayerList |
LayerTree::LayerTree | ( | ) |
LayerTree::~LayerTree | ( | ) |
|
inline |
|
inline |
|
inline |
Referenced by studio::Dock_Layers::init_canvas_view_vfunc(), LayerTree(), set_model(), and set_time_adjustment().
|
inline |
|
inline |
|
inline |
|
inline |
References get_layer_tree_view().
void LayerTree::set_model | ( | Glib::RefPtr< LayerTreeStore > | layer_tree_store_ | ) |
void LayerTree::set_time_adjustment | ( | const Glib::RefPtr< Gtk::Adjustment > & | adjustment | ) |
References get_param_tree_view(), and studio::CellRenderer_TimeTrack::set_adjustment().
Referenced by studio::Dock_Layers::init_canvas_view_vfunc().
void LayerTree::set_show_timetrack | ( | bool | x = true | ) |
Referenced by studio::CanvasView::hide_timebar(), and studio::CanvasView::show_timebar().
|
inline |
Signal called when layer is toggled.
|
inline |
Signal called with a value has been edited.
Referenced by studio::Dock_Layers::init_canvas_view_vfunc().
|
inline |
Referenced by studio::CanvasView::set_ext_widget().
|
inline |
Referenced by studio::CanvasView::set_ext_widget().
|
inline |
Referenced by studio::CanvasView::set_ext_widget().
|
inline |
Signal fired when the param treeview header height has changed. The first parameter hold the header height.
Referenced by studio::Dock_Timetrack::init_canvas_view_vfunc(), and studio::Dock_Curves::init_canvas_view_vfunc().
|
inline |
void LayerTree::select_layer | ( | synfig::Layer::Handle | layer | ) |
References get_layer_tree_view().
Referenced by select_layers().
void LayerTree::select_layers | ( | const LayerList & | layer_list | ) |
References select_layer().
void LayerTree::select_all_children_layers | ( | synfig::Layer::Handle | layer | ) |
References select_all_children().
Referenced by studio::CanvasView::popup_layer_menu(), and studio::LayerActionManager::refresh().
void LayerTree::select_all_children | ( | Gtk::TreeModel::Children::iterator | iter | ) |
References studio::LayerTreeStore::Model::children_lock, get_layer_tree_view(), and layer_model.
Referenced by select_all_children_layers().
LayerTree::LayerList LayerTree::get_selected_layers | ( | ) | const |
References __layer_grabber(), get_layer_tree_view(), and get_selection().
Referenced by get_selected_layer(), studio::LayerParamTreeStore::rebuild(), and studio::LayerActionManager::refresh().
synfig::Layer::Handle LayerTree::get_selected_layer | ( | ) | const |
References get_selected_layers().
Referenced by studio::LayerActionManager::refresh().
void LayerTree::clear_selected_layers | ( | ) |
References get_layer_tree_view().
LayerTreeStore::Model studio::LayerTree::layer_model |
Referenced by select_all_children().
LayerParamTreeStore::Model studio::LayerTree::param_model |
synfig::Layer::Handle studio::LayerTree::last_top_selected_layer |
Gtk::TreePath studio::LayerTree::last_top_selected_path |