Lines Matching defs:LayerManager
2 * Inkscape::LayerManager - a view of a document's layers, relative
36 class LayerManager::LayerWatcher : public Inkscape::XML::NodeObserver {
38 LayerWatcher(LayerManager* mgr, SPObject* obj, sigc::connection c) :
58 LayerManager* _mgr;
125 LayerManager::LayerManager(SPDesktop *desktop)
128 _layer_connection = desktop->connectCurrentLayerChanged( sigc::mem_fun(*this, &LayerManager::_selectedLayerChanged) );
130 sigc::bound_mem_functor1<void, Inkscape::LayerManager, SPDocument*> first = sigc::mem_fun(*this, &LayerManager::_setDocument);
141 LayerManager::~LayerManager()
149 void LayerManager::setCurrentLayer( SPObject* obj )
167 Glib::ustring LayerManager::getNextLayerName( SPObject* obj, gchar const *label)
213 void LayerManager::renameLayer( SPObject* obj, gchar const *label, bool uniquify )
227 void LayerManager::_setDocument(SPDocument *document) {
233 _resource_connection = document->connectResourcesChanged("layer", sigc::mem_fun(*this, &LayerManager::_rebuild));
238 void LayerManager::_objectModified( SPObject* obj, guint /*flags*/ )
243 void LayerManager::_rebuild() {
329 sigc::connection connection = layer->connectModified(sigc::mem_fun(*this, &LayerManager::_objectModified));
342 void LayerManager::_selectedLayerChanged(SPObject *layer)