From 9c8be3fa45c9821676ff7180e4f9deb12be140ae Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Wed, 22 Dec 2010 17:12:06 +0100 Subject: Enable item-selection by cycling through them (using Alt+mouse wheel scroll). (bzr r9976) --- src/select-context.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/select-context.h') diff --git a/src/select-context.h b/src/select-context.h index 3f3f8bfb6..4c58fc858 100644 --- a/src/select-context.h +++ b/src/select-context.h @@ -37,6 +37,12 @@ struct SPSelectContext : public SPEventContext { bool button_press_shift; bool button_press_ctrl; bool button_press_alt; + + bool is_cycling; + GList *cycling_items; + GList *cycling_items_selected_before; + GList *cycling_cur_item; + SPItem *item; SPCanvasItem *grabbed; Inkscape::SelTrans *_seltrans; -- cgit v1.2.3 From ca41dd0b6f68683f8586f78e7a8171551c6ad57a Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 23 Dec 2010 16:51:07 +0100 Subject: Fix crash in cycle-selection (and restructure internals). (bzr r9980) --- src/select-context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/select-context.h') diff --git a/src/select-context.h b/src/select-context.h index 4c58fc858..377e07275 100644 --- a/src/select-context.h +++ b/src/select-context.h @@ -38,8 +38,8 @@ struct SPSelectContext : public SPEventContext { bool button_press_ctrl; bool button_press_alt; - bool is_cycling; GList *cycling_items; + GList *cycling_items_cmp; GList *cycling_items_selected_before; GList *cycling_cur_item; -- cgit v1.2.3