1997-11-24 22:05:25 +00:00
|
|
|
/* The GIMP -- an image manipulation program
|
2001-02-14 04:55:21 +00:00
|
|
|
* Copyright (C) 1995-2001 Spencer Kimball, Peter Mattis and others
|
1997-11-24 22:05:25 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
1998-04-13 05:44:11 +00:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-24 22:05:25 +00:00
|
|
|
*/
|
2000-11-18 00:25:42 +00:00
|
|
|
|
2000-04-27 17:27:28 +00:00
|
|
|
#include "config.h"
|
1999-10-30 10:39:48 +00:00
|
|
|
|
2000-12-29 15:22:01 +00:00
|
|
|
#include <gtk/gtk.h>
|
2000-12-16 21:37:03 +00:00
|
|
|
|
|
|
|
#include "apptypes.h"
|
|
|
|
|
2001-02-14 04:55:21 +00:00
|
|
|
#include "tool.h"
|
2001-02-21 21:56:39 +00:00
|
|
|
#include "tool_manager.h"
|
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
#include "airbrush.h"
|
|
|
|
#include "blend.h"
|
|
|
|
#include "bucket_fill.h"
|
|
|
|
#include "by_color_select.h"
|
|
|
|
#include "clone.h"
|
|
|
|
#include "color_picker.h"
|
|
|
|
#include "convolve.h"
|
|
|
|
#include "crop.h"
|
1999-07-01 16:52:50 +00:00
|
|
|
#include "dodgeburn.h"
|
2001-02-14 04:55:21 +00:00
|
|
|
#include "drawable.h"
|
1997-11-24 22:05:25 +00:00
|
|
|
#include "ellipse_select.h"
|
2001-02-14 04:55:21 +00:00
|
|
|
#include "eraser.h"
|
1997-11-24 22:05:25 +00:00
|
|
|
#include "flip_tool.h"
|
|
|
|
#include "free_select.h"
|
|
|
|
#include "fuzzy_select.h"
|
2001-02-14 04:55:21 +00:00
|
|
|
#include "gimpimage.h"
|
2001-02-17 19:49:44 +00:00
|
|
|
#include "measure.h"
|
2001-02-21 21:56:39 +00:00
|
|
|
#include "move.h"
|
1997-11-24 22:05:25 +00:00
|
|
|
#include "paintbrush.h"
|
|
|
|
#include "pencil.h"
|
2001-02-14 04:55:21 +00:00
|
|
|
#include "perspective_tool.h"
|
1997-11-24 22:05:25 +00:00
|
|
|
#include "rect_select.h"
|
2001-02-14 04:55:21 +00:00
|
|
|
#include "rotate_tool.h"
|
|
|
|
#include "scale_tool.h"
|
|
|
|
#include "shear_tool.h"
|
1999-07-01 16:52:50 +00:00
|
|
|
#include "smudge.h"
|
2000-06-09 12:31:19 +00:00
|
|
|
|
2000-04-27 17:27:28 +00:00
|
|
|
|
2001-02-14 04:55:21 +00:00
|
|
|
void
|
|
|
|
register_tools (void)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2001-02-21 12:18:09 +00:00
|
|
|
gimp_color_picker_register ();
|
|
|
|
gimp_measure_tool_register ();
|
2001-02-21 21:56:39 +00:00
|
|
|
gimp_move_tool_register ();
|
|
|
|
|
2000-02-16 01:47:22 +00:00
|
|
|
/*
|
2001-02-14 04:55:21 +00:00
|
|
|
procedural_db_register (&airbrush_proc);
|
|
|
|
procedural_db_register (&airbrush_default_proc);
|
|
|
|
procedural_db_register (&blend_proc);
|
|
|
|
procedural_db_register (&bucket_fill_proc);
|
|
|
|
procedural_db_register (&by_color_select_proc);
|
|
|
|
procedural_db_register (&clone_proc);
|
|
|
|
procedural_db_register (&clone_default_proc);
|
|
|
|
procedural_db_register (&color_picker_proc);
|
|
|
|
procedural_db_register (&convolve_proc);
|
|
|
|
procedural_db_register (&convolve_default_proc);
|
|
|
|
procedural_db_register (&crop_proc);
|
|
|
|
procedural_db_register (&dodgeburn_proc);
|
|
|
|
procedural_db_register (&dodgeburn_default_proc);
|
|
|
|
procedural_db_register (&ellipse_select_proc);
|
|
|
|
procedural_db_register (&eraser_proc);
|
|
|
|
procedural_db_register (&eraser_default_proc);
|
|
|
|
procedural_db_register (&flip_proc);
|
|
|
|
procedural_db_register (&free_select_proc);
|
|
|
|
procedural_db_register (&fuzzy_select_proc);
|
|
|
|
procedural_db_register (&paintbrush_proc);
|
|
|
|
procedural_db_register (&paintbrush_default_proc);
|
|
|
|
procedural_db_register (&pencil_proc);
|
|
|
|
procedural_db_register (&perspective_proc);
|
|
|
|
procedural_db_register (&rect_select_proc);
|
|
|
|
procedural_db_register (&rotate_proc);
|
|
|
|
procedural_db_register (&scale_proc);
|
|
|
|
procedural_db_register (&shear_proc);
|
|
|
|
procedural_db_register (&smudge_proc);
|
|
|
|
procedural_db_register (&smudge_default_proc);
|
|
|
|
procedural_db_register (&transform_2d_proc); */
|
1998-04-02 04:51:44 +00:00
|
|
|
}
|
1997-11-24 22:05:25 +00:00
|
|
|
|