app/tools/Makefile.am removed.
2001-03-09 Michael Natterer <mitch@gimp.org> * app/tools/Makefile.am * app/tools/rect_selectP.h: removed. * app/tools/gimpfreeselecttool.[ch] * app/tools/gimpfuzzyselecttool.[ch]: reactivated. * app/tools/gimptool.[ch]: removed STUB()s and old crap. * app/tools/tools.c: register the new tools. * app/disp_callbacks.c * app/tools/selection_options.c: changed accordingly. * app/apptypes.h * app/tools/gimprectselecttool.c: cleanup.
This commit is contained in:
committed by
Michael Natterer
parent
6fa118a0fd
commit
80b55c7e52
@ -16,23 +16,50 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FREE_SELECT_H__
|
||||
#define __FREE_SELECT_H__
|
||||
#ifndef __GIMP_FREE_SELECT_TOOL_H__
|
||||
#define __GIMP_FREE_SELECT_TOOL_H__
|
||||
|
||||
|
||||
/* free select functions */
|
||||
|
||||
void free_select (GimpImage *gimage,
|
||||
gint num_pts,
|
||||
ScanConvertPoint *pts,
|
||||
SelectOps op,
|
||||
gboolean antialias,
|
||||
gboolean feather,
|
||||
gdouble feather_radius);
|
||||
void free_select_draw (Tool *tool);
|
||||
|
||||
Tool * tools_new_free_select (void);
|
||||
void tools_free_free_select (Tool *tool);
|
||||
#include "gimpselectiontool.h"
|
||||
|
||||
|
||||
#endif /* __FREE_SELECT_H__ */
|
||||
#define GIMP_TYPE_FREE_SELECT_TOOL (gimp_free_select_tool_get_type ())
|
||||
#define GIMP_FREE_SELECT_TOOL(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_FREE_SELECT_TOOL, GimpFreeSelectTool))
|
||||
#define GIMP_IS_FREE_SELECT_TOOL(obj) (GTK_CHECK_TYPE ((obj), GIMP_TYPE_FREE_SELECT_TOOL))
|
||||
#define GIMP_FREE_SELECT_TOOL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GIMP_TYPE_FREE_SELECT_TOOL, GimpFreeSelectToolClass))
|
||||
#define GIMP_IS_FREE_SELECT_TOOL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_FREE_SELECT_TOOL))
|
||||
|
||||
|
||||
typedef struct _GimpFreeSelectTool GimpFreeSelectTool;
|
||||
typedef struct _GimpFreeSelectToolClass GimpFreeSelectToolClass;
|
||||
|
||||
struct _GimpFreeSelectTool
|
||||
{
|
||||
GimpSelectionTool parent_instance;
|
||||
|
||||
GdkPoint *points;
|
||||
gint num_points;
|
||||
gint max_segs;
|
||||
};
|
||||
|
||||
struct _GimpFreeSelectToolClass
|
||||
{
|
||||
GimpSelectionToolClass parent_class;
|
||||
};
|
||||
|
||||
|
||||
void gimp_free_select_tool_register (void);
|
||||
|
||||
GtkType gimp_free_select_tool_get_type (void);
|
||||
|
||||
|
||||
void free_select (GimpImage *gimage,
|
||||
gint num_pts,
|
||||
ScanConvertPoint *pts,
|
||||
SelectOps op,
|
||||
gboolean antialias,
|
||||
gboolean feather,
|
||||
gdouble feather_radius);
|
||||
|
||||
|
||||
#endif /* __GIMP_FREE_SELECT_TOOL_H__ */
|
||||
|
||||
Reference in New Issue
Block a user