X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdesktop.h;h=9f3d7752076f34d021df00c841538df9be4a5b52;hb=e900b46f3a8707abddd24803da7f25eecf09a942;hp=e9e2f638e764d5388ba433ea12bf6fdae8a55e29;hpb=040f5f6c86db72df064756211fb27ec726322afb;p=inkscape.git diff --git a/src/desktop.h b/src/desktop.h index e9e2f638e..9f3d77520 100644 --- a/src/desktop.h +++ b/src/desktop.h @@ -10,7 +10,9 @@ * bulia byak * Ralf Stephan * John Bintz + * Johan Engelen * + * Copyright (C) 2007 Johan Engelen * Copyright (C) 2006 John Bintz * Copyright (C) 1999-2005 authors * Copyright (C) 2000-2001 Ximian, Inc. @@ -104,8 +106,10 @@ struct SPDesktop : public Inkscape::UI::View::View // storage for selected dragger used by GrDrag as it's // created and deleted by tools SPItem *gr_item; - guint gr_point_num; + guint gr_point_type; + guint gr_point_i; bool gr_fill_or_stroke; + Inkscape::ObjectHierarchy *_layer_hierarchy; gchar * _reconstruction_old_layer_id; @@ -210,12 +214,12 @@ struct SPDesktop : public Inkscape::UI::View::View void next_zoom(); bool scroll_to_point (NR::Point const *s_dt, gdouble autoscrollspeed = 0); - void scroll_world (double dx, double dy); - void scroll_world (NR::Point const scroll) + void scroll_world (double dx, double dy, bool is_scrolling = false); + void scroll_world (NR::Point const scroll, bool is_scrolling = false) { using NR::X; - using NR::Y; - scroll_world(scroll[X], scroll[Y]); + using NR::Y; + scroll_world(scroll[X], scroll[Y], is_scrolling); } void getWindowGeometry (gint &x, gint &y, gint &w, gint &h);