synfig-studio
1.0.3
|
#include <selectionmanager.h>
Public Types | |
typedef std::pair < synfig::Layer::Handle, synfig::String > | LayerParam |
typedef std::list< LayerParam > | LayerParamList |
typedef std::list < synfig::Layer::Handle > | LayerList |
typedef std::list< ValueDesc > | ChildrenList |
Public Member Functions | |
virtual | ~SelectionManager () |
virtual int | get_selected_layer_count () const =0 |
Returns the number of layers selected. | |
virtual LayerList | get_selected_layers () const =0 |
Returns a list of the currently selected layers. | |
virtual synfig::Layer::Handle | get_selected_layer () const =0 |
Returns the first layer selected or an empty handle if none are selected. | |
virtual void | set_selected_layers (const LayerList &layer_list)=0 |
Sets which layers should be selected. | |
virtual void | set_selected_layer (const synfig::Layer::Handle &layer)=0 |
Sets which layer should be selected. Empty handle if none. | |
virtual void | clear_selected_layers ()=0 |
Clears the layer selection list. | |
virtual int | get_selected_children_count () const =0 |
Returns the number of children selected. | |
virtual ChildrenList | get_selected_children () const =0 |
Returns a list of the currently selected children. | |
virtual ChildrenList::value_type | get_selected_child () const =0 |
Returns the first children selected or an empty handle if none are selected. | |
virtual void | set_selected_children (const ChildrenList &children_list)=0 |
Sets which children should be selected. | |
virtual void | set_selected_child (const ChildrenList::value_type &children)=0 |
Sets which children should be selected. Empty handle if none. | |
virtual void | clear_selected_children ()=0 |
Clears the children selection list. | |
virtual int | get_selected_layer_parameter_count () const =0 |
Returns the number of layer parameters selected. | |
virtual LayerParamList | get_selected_layer_parameters () const =0 |
Returns a list of the currently selected layer parameters. | |
virtual LayerParam | get_selected_layer_parameter () const =0 |
Returns the first layer parameter selected or an empty handle if none are selected. | |
virtual void | set_selected_layer_parameters (const LayerParamList &layer_param_list)=0 |
Sets which layer parameters should be selected. | |
virtual void | set_selected_layer_param (const LayerParam &layer_param)=0 |
Sets which layer parameter should be selected. Empty handle if none. | |
virtual void | clear_selected_layer_parameters ()=0 |
Clears the layer parameter selection list. |
typedef std::pair<synfig::Layer::Handle,synfig::String> synfigapp::SelectionManager::LayerParam |
typedef std::list<LayerParam> synfigapp::SelectionManager::LayerParamList |
typedef std::list<synfig::Layer::Handle> synfigapp::SelectionManager::LayerList |
typedef std::list<ValueDesc> synfigapp::SelectionManager::ChildrenList |
|
inlinevirtual |
|
pure virtual |
Returns the number of layers selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns a list of the currently selected layers.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns the first layer selected or an empty handle if none are selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Sets which layers should be selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Sets which layer should be selected. Empty handle if none.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Clears the layer selection list.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns the number of children selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns a list of the currently selected children.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns the first children selected or an empty handle if none are selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Sets which children should be selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Sets which children should be selected. Empty handle if none.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Clears the children selection list.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns the number of layer parameters selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns a list of the currently selected layer parameters.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Returns the first layer parameter selected or an empty handle if none are selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Sets which layer parameters should be selected.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Sets which layer parameter should be selected. Empty handle if none.
Implemented in synfigapp::NullSelectionManager.
|
pure virtual |
Clears the layer parameter selection list.
Implemented in synfigapp::NullSelectionManager.