diff --git a/src/tweak-context.h b/src/tweak-context.h
index 268ea1fcf766e31bfabafef2673d6e7296030ab7..e860fd7ea36bf0d67d51b04b77e92fa71a005468 100644 (file)
--- a/src/tweak-context.h
+++ b/src/tweak-context.h
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include "display/curve.h"
#include "event-context.h"
#include <display/display-forward.h>
#include <libnr/nr-point.h>
#define TC_MIN_PRESSURE 0.0
#define TC_MAX_PRESSURE 1.0
-#define TC_DEFAULT_PRESSURE 0.3
+#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
bool is_dilating;
bool has_dilated;
- NR::Point last_push;
+ Geom::Point last_push;
SPCanvasItem *dilate_area;
bool do_h;