X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Ftweak-context.h;h=542254b91bb250e561cdb69f7dfd494e0d6aad8b;hb=0dc33d4ce43e0bb49c63aa53b826ec4a1ff68e28;hp=6a94a185b5ffc44867876adf9f2edd29eb6859b1;hpb=e977a1f812c67b1091f2f1ca5c625153279bd4f4;p=inkscape.git diff --git a/src/tweak-context.h b/src/tweak-context.h index 6a94a185b..542254b91 100644 --- a/src/tweak-context.h +++ b/src/tweak-context.h @@ -12,9 +12,7 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "display/curve.h" #include "event-context.h" -#include #include #define SP_TYPE_TWEAK_CONTEXT (sp_tweak_context_get_type()) @@ -33,14 +31,19 @@ class SPTweakContextClass; #define TC_DEFAULT_PRESSURE 0.35 enum { + TWEAK_MODE_MOVE, + TWEAK_MODE_MOVE_IN_OUT, + TWEAK_MODE_MOVE_JITTER, + TWEAK_MODE_SCALE, + TWEAK_MODE_ROTATE, + TWEAK_MODE_MORELESS, TWEAK_MODE_PUSH, - TWEAK_MODE_SHRINK, - TWEAK_MODE_GROW, - TWEAK_MODE_ATTRACT, - TWEAK_MODE_REPEL, + TWEAK_MODE_SHRINK_GROW, + TWEAK_MODE_ATTRACT_REPEL, TWEAK_MODE_ROUGHEN, TWEAK_MODE_COLORPAINT, - TWEAK_MODE_COLORJITTER + TWEAK_MODE_COLORJITTER, + TWEAK_MODE_BLUR }; struct SPTweakContext @@ -67,7 +70,7 @@ struct SPTweakContext bool is_dilating; bool has_dilated; - NR::Point last_push; + Geom::Point last_push; SPCanvasItem *dilate_area; bool do_h; @@ -96,4 +99,4 @@ GtkType sp_tweak_context_get_type(void); fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :