X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Ftweak-context.h;h=ad688b0256431fd0d40cace694dcfd01c0438190;hb=8a2e76b7021b9b960d7c30801a1a14461d9b5939;hp=478fe223f7b17a1a7a3617146f69652e47897ab9;hpb=0eb5317e7cd2a3d41499f6723c86f99606981bc5;p=inkscape.git diff --git a/src/tweak-context.h b/src/tweak-context.h index 478fe223f..ad688b025 100644 --- a/src/tweak-context.h +++ b/src/tweak-context.h @@ -12,7 +12,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "display/curve.h" #include "event-context.h" #include #include @@ -30,13 +29,22 @@ class SPTweakContextClass; #define TC_MIN_PRESSURE 0.0 #define TC_MAX_PRESSURE 1.0 -#define TC_DEFAULT_PRESSURE 0.4 +#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_MELT, - TWEAK_MODE_INFLATE, - TWEAK_MODE_ROUGHEN + TWEAK_MODE_SHRINK_GROW, + TWEAK_MODE_ATTRACT_REPEL, + TWEAK_MODE_ROUGHEN, + TWEAK_MODE_COLORPAINT, + TWEAK_MODE_COLORJITTER, + TWEAK_MODE_BLUR }; struct SPTweakContext @@ -63,8 +71,15 @@ struct SPTweakContext bool is_dilating; bool has_dilated; - NR::Point last_push; + Geom::Point last_push; SPCanvasItem *dilate_area; + + bool do_h; + bool do_s; + bool do_l; + bool do_o; + + sigc::connection style_set_connection; }; struct SPTweakContextClass @@ -85,4 +100,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 :