X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Ftweak-context.h;h=542254b91bb250e561cdb69f7dfd494e0d6aad8b;hb=0dc33d4ce43e0bb49c63aa53b826ec4a1ff68e28;hp=2157ecdaa794f817ca507f11ef5f1a8a4f96cee7;hpb=5209a05743e62584a7ec6afe050ffb0223f899f8;p=inkscape.git diff --git a/src/tweak-context.h b/src/tweak-context.h index 2157ecdaa..542254b91 100644 --- a/src/tweak-context.h +++ b/src/tweak-context.h @@ -13,7 +13,6 @@ */ #include "event-context.h" -#include #include #define SP_TYPE_TWEAK_CONTEXT (sp_tweak_context_get_type()) @@ -32,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 @@ -66,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; @@ -95,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 :