X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Ftweak-context.h;h=2157ecdaa794f817ca507f11ef5f1a8a4f96cee7;hb=9bb46396a1acf7959c614d5b33a6c3a5e19a5a50;hp=14297b5a24aff4950c2a55a937c0c6f2142b2e36;hpb=50275345b5d581eeb6d93f94fd36afa4fb04ea9c;p=inkscape.git diff --git a/src/tweak-context.h b/src/tweak-context.h index 14297b5a2..2157ecdaa 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,17 @@ 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_PUSH, - TWEAK_MODE_SUCK, - TWEAK_MODE_BLOW, - TWEAK_MODE_ROUGHEN + TWEAK_MODE_SHRINK, + TWEAK_MODE_GROW, + TWEAK_MODE_ATTRACT, + TWEAK_MODE_REPEL, + TWEAK_MODE_ROUGHEN, + TWEAK_MODE_COLORPAINT, + TWEAK_MODE_COLORJITTER }; struct SPTweakContext @@ -65,6 +68,13 @@ struct SPTweakContext bool has_dilated; NR::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