app: in GimpToolTransformGrid, add NONE function

In GimpToolTransformGrid, allow setting "inside-function" and
"outside-function" to a new NONE value, performing no
transformation when dragging the respective area.
This commit is contained in:
Ell
2020-01-06 16:30:58 +02:00
parent d8d05b9908
commit cd7ccdf310
3 changed files with 6 additions and 0 deletions

View File

@ -177,6 +177,7 @@ GType gimp_transform_function_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_TRANSFORM_FUNCTION_NONE,
GIMP_TRANSFORM_FUNCTION_MOVE,
GIMP_TRANSFORM_FUNCTION_SCALE,
GIMP_TRANSFORM_FUNCTION_ROTATE,