app: add a protected gimp_tool_transform_grid_get_handle() function

... which can be used by subclasses to retrieve the currently-
active handle.
This commit is contained in:
Ell
2020-01-06 16:37:12 +02:00
parent d30d47a0fd
commit d0ccd6ecfb
2 changed files with 29 additions and 12 deletions

View File

@ -82,14 +82,18 @@ struct _GimpToolTransformGridClass
};
GType gimp_tool_transform_grid_get_type (void) G_GNUC_CONST;
GType gimp_tool_transform_grid_get_type (void) G_GNUC_CONST;
GimpToolWidget * gimp_tool_transform_grid_new (GimpDisplayShell *shell,
const GimpMatrix3 *transform,
gdouble x1,
gdouble y1,
gdouble x2,
gdouble y2);
GimpToolWidget * gimp_tool_transform_grid_new (GimpDisplayShell *shell,
const GimpMatrix3 *transform,
gdouble x1,
gdouble y1,
gdouble x2,
gdouble y2);
/* protected functions */
GimpTransformHandle gimp_tool_transform_grid_get_handle (GimpToolTransformGrid *grid);
#endif /* __GIMP_TOOL_TRANSFORM_GRID_H__ */