Lines Matching defs:layer
56 #include "layer-fns.h"
57 #include "layer-manager.h"
81 #include "ui/dialog/layer-properties.h"
180 * A class to encompass all of the verbs which deal with layer operations.
1275 _("Switch to next layer"));
1276 dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Switched to next layer."));
1278 dt->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Cannot go past last layer."));
1287 _("Switch to previous layer"));
1288 dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Switched to previous layer."));
1290 dt->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Cannot go before first layer."));
1311 dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
1315 SPItem *layer=SP_ITEM(dt->currentLayer());
1316 g_return_if_fail(layer != NULL);
1318 SPObject *old_pos = layer->getNext();
1322 layer->raiseToTop();
1325 layer->lowerToBottom();
1328 layer->raiseOne();
1331 layer->lowerOne();
1335 if ( layer->getNext() != old_pos ) {
1340 message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
1344 message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
1345 description = _("Raise layer");
1348 message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
1352 message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
1353 description = _("Lower layer");
1362 dt->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Cannot move layer any further."));
1373 _("Duplicate layer"));
1375 // TRANSLATORS: this means "The layer has been duplicated."
1376 dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Duplicated layer."));
1378 dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
1397 // Deleting the old layer before switching layers is a hack to trigger the
1409 _("Delete layer"));
1411 // TRANSLATORS: this means "The layer has been deleted."
1412 dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Deleted layer."));
1414 dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
1420 dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
1423 DocumentUndo::done(dt->getDocument(), SP_VERB_LAYER_SOLO, _("Toggle layer solo"));
1429 DocumentUndo::maybeDone(dt->getDocument(), "layer:showall", SP_VERB_LAYER_SHOW_ALL, _("Show all layers"));
1434 DocumentUndo::maybeDone(dt->getDocument(), "layer:hideall", SP_VERB_LAYER_HIDE_ALL, _("Hide all layers"));
1439 DocumentUndo::maybeDone(dt->getDocument(), "layer:lockall", SP_VERB_LAYER_LOCK_ALL, _("Lock all layers"));
1444 dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
1453 DocumentUndo::maybeDone(dt->getDocument(), "layer:unlockall", SP_VERB_LAYER_UNLOCK_ALL, _("Unlock all layers"));
1459 dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
2396 DocumentUndo::done(doc, SP_VERB_UNLOCK_ALL, _("Unlock all objects in the current layer"));
2404 DocumentUndo::done(doc, SP_VERB_UNHIDE_ALL, _("Unhide all objects in the current layer"));
2646 N_("Create a new layer"), INKSCAPE_ICON("layer-new")),
2648 N_("Rename the current layer"), INKSCAPE_ICON("layer-rename")),
2650 N_("Switch to the layer above the current"), INKSCAPE_ICON("layer-previous")),
2652 N_("Switch to the layer below the current"), INKSCAPE_ICON("layer-next")),
2654 N_("Move selection to the layer above the current"), INKSCAPE_ICON("selection-move-to-layer-above")),
2656 N_("Move selection to the layer below the current"), INKSCAPE_ICON("selection-move-to-layer-below")),
2658 N_("Move selection to layer"), INKSCAPE_ICON("layer-rename")),
2660 N_("Raise the current layer to the top"), INKSCAPE_ICON("layer-top")),
2662 N_("Lower the current layer to the bottom"), INKSCAPE_ICON("layer-bottom")),
2664 N_("Raise the current layer"), INKSCAPE_ICON("layer-raise")),
2666 N_("Lower the current layer"), INKSCAPE_ICON("layer-lower")),
2668 N_("Duplicate an existing layer"), INKSCAPE_ICON("layer-duplicate")),
2670 N_("Delete the current layer"), INKSCAPE_ICON("layer-delete")),
2672 N_("Solo the current layer"), NULL),
2684 N_("Toggle lock on current layer"), NULL),
2686 N_("Toggle visibility of current layer"), NULL),
3012 N_("Unlock all objects in the current layer"), NULL),
3016 N_("Unhide all objects in the current layer"), NULL),