Lines Matching defs:layer
59 #include "layer-fns.h"
60 #include "layer-manager.h"
61 #include "layer-model.h"
88 static void _layer_activated(SPObject *layer, SPDesktop *desktop);
89 static void _layer_deactivated(SPObject *layer, SPDesktop *desktop);
192 /* Connect display key to layer model */
1649 * only change the layer for single selections, or what?
1655 SPObject *layer=desktop->layers->layerForObject(item);
1656 if ( layer && layer != desktop->currentLayer() ) {
1657 desktop->layers->setCurrentLayer(layer);
1679 _layer_activated(SPObject *layer, SPDesktop *desktop) {
1680 g_return_if_fail(SP_IS_GROUP(layer));
1681 SP_GROUP(layer)->setLayerDisplayMode(desktop->dkey, SPGroup::LAYER);
1686 _layer_deactivated(SPObject *layer, SPDesktop *desktop) {
1687 g_return_if_fail(SP_IS_GROUP(layer));
1688 SP_GROUP(layer)->setLayerDisplayMode(desktop->dkey, SPGroup::GROUP);