Lines Matching defs:drag

28 #include "gradient-drag.h"
51 void gr_apply_gradient(Inkscape::Selection *selection, GrDrag *drag, SPGradient *gr);
54 void gr_read_selection( Inkscape::Selection *selection, GrDrag *drag, SPGradient *&gr_selected, bool &gr_multi, SPGradientSpread &spr_selected, bool &spr_multi );
95 Applies gradient vector gr to the gradients attached to the selected dragger of drag, or if none,
100 void gr_apply_gradient(Inkscape::Selection *selection, GrDrag *drag, SPGradient *gr)
109 if (drag && !drag->selected.empty()) {
110 GrDragger *dragger = *(drag->selected.begin());
118 // If no drag or no dragger selected, act on selection
250 GrDrag *drag,
256 if (drag && !drag->selected.empty()) {
258 GrDragger *dragger = *(drag->selected.begin());
365 GrDrag *drag = NULL;
367 drag = ev->get_drag();
375 gr_read_selection(selection, drag, gr_selected, gr_multi, spr_selected, spr_multi);
395 gtk_action_set_sensitive(GTK_ACTION(add), (gr_selected && !gr_multi && drag && !drag->selected.empty()));
398 gtk_action_set_sensitive(GTK_ACTION(del), (gr_selected && !gr_multi && drag && !drag->selected.empty()));
594 GrDrag *drag = NULL;
596 drag = ev->get_drag();
599 if (drag) {
600 drag->deleteSelected();
625 * Change desktop drag selection to this stop
632 GrDrag *drag = ev->get_drag();
633 if (!drag) {
639 drag->selectByStop(stop, false, true);
648 GrDrag *drag = ev->get_drag();
650 if (!drag || drag->selected.empty()) {
661 for(std::set<GrDragger *>::const_iterator i = drag->selected.begin(); i != drag->selected.end(); ++i) { //for all draggables of dragger