Lines Matching defs:gr_selected

52 gboolean gr_vector_list(GtkWidget *combo_box, SPDesktop *desktop, bool selection_empty, SPGradient *gr_selected, bool gr_multi);
53 void gr_get_dt_selected_gradient(Inkscape::Selection *selection, SPGradient *&gr_selected);
54 void gr_read_selection( Inkscape::Selection *selection, GrDrag *drag, SPGradient *&gr_selected, bool &gr_multi, SPGradientSpread &spr_selected, bool &spr_multi );
125 gboolean gr_vector_list(GtkWidget *combo_box, SPDesktop *desktop, bool selection_empty, SPGradient *gr_selected, bool gr_multi)
167 if (gr_selected == NULL) {
190 if (gradient == gr_selected) {
200 if (gr_multi || gr_selected == NULL) {
215 void gr_get_dt_selected_gradient(Inkscape::Selection *selection, SPGradient *&gr_selected)
242 gr_selected = gradient;
251 SPGradient *&gr_selected,
268 if (gradient && (gradient != gr_selected)) {
269 if (gr_selected) {
272 gr_selected = gradient;
302 if (gradient && (gradient != gr_selected)) {
303 if (gr_selected) {
306 gr_selected = gradient;
328 if (gradient && (gradient != gr_selected)) {
329 if (gr_selected) {
332 gr_selected = gradient;
370 SPGradient *gr_selected = 0;
375 gr_read_selection(selection, drag, gr_selected, gr_multi, spr_selected, spr_multi);
380 gboolean sensitive = gr_vector_list(gradient_combo, desktop, selection->isEmpty(), gr_selected, gr_multi);
387 gtk_action_set_sensitive( GTK_ACTION(spread), (gr_selected && !gr_multi) );
388 if (gr_selected) {
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()));
401 gtk_action_set_sensitive(GTK_ACTION(reverse), (gr_selected!= NULL));
404 gtk_action_set_sensitive( GTK_ACTION(stops_action), (gr_selected && !gr_multi) );
410 update_stop_list(stops_combo, gr_selected, NULL, widget, gr_multi);
411 select_stop_by_drag(stops_combo, gr_selected, ev, widget);
414 //sp_gradient_vector_widget_load_gradient(widget, gr_selected);