1997-11-25 06:05:25 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
2001-02-14 12:55:21 +08:00
|
|
|
* Copyright (C) 1995-2001 Spencer Kimball, Peter Mattis and others
|
1997-11-25 06:05:25 +08: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 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2000-11-18 08:25:42 +08:00
|
|
|
|
2000-04-28 01:27:28 +08:00
|
|
|
#include "config.h"
|
1999-10-30 18:39:48 +08:00
|
|
|
|
2000-12-29 23:22:01 +08:00
|
|
|
#include <gtk/gtk.h>
|
2000-12-17 05:37:03 +08:00
|
|
|
|
|
|
|
#include "apptypes.h"
|
|
|
|
|
2001-02-14 12:55:21 +08:00
|
|
|
#include "tool.h"
|
2001-02-22 05:56:39 +08:00
|
|
|
#include "tool_manager.h"
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "airbrush.h"
|
|
|
|
#include "blend.h"
|
|
|
|
#include "bucket_fill.h"
|
|
|
|
#include "by_color_select.h"
|
|
|
|
#include "clone.h"
|
2001-02-27 13:21:12 +08:00
|
|
|
#include "gimpcolorpickertool.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "convolve.h"
|
|
|
|
#include "crop.h"
|
1999-07-02 00:52:50 +08:00
|
|
|
#include "dodgeburn.h"
|
2001-02-14 12:55:21 +08:00
|
|
|
#include "drawable.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "ellipse_select.h"
|
2001-02-14 12:55:21 +08:00
|
|
|
#include "eraser.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "flip_tool.h"
|
|
|
|
#include "free_select.h"
|
|
|
|
#include "fuzzy_select.h"
|
2001-02-14 12:55:21 +08:00
|
|
|
#include "gimpimage.h"
|
2001-02-28 08:10:58 +08:00
|
|
|
#include "ink.h"
|
2001-03-04 00:22:18 +08:00
|
|
|
#include "magnify.h"
|
2001-02-18 03:49:44 +08:00
|
|
|
#include "measure.h"
|
2001-02-22 05:56:39 +08:00
|
|
|
#include "move.h"
|
2001-02-27 13:21:12 +08:00
|
|
|
#include "gimppaintbrushtool.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "pencil.h"
|
2001-02-14 12:55:21 +08:00
|
|
|
#include "perspective_tool.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "rect_select.h"
|
2001-02-14 12:55:21 +08:00
|
|
|
#include "rotate_tool.h"
|
|
|
|
#include "scale_tool.h"
|
|
|
|
#include "shear_tool.h"
|
1999-07-02 00:52:50 +08:00
|
|
|
#include "smudge.h"
|
2001-02-28 03:18:01 +08:00
|
|
|
#include "text_tool.h"
|
2001-02-27 13:21:12 +08:00
|
|
|
|
2000-04-28 01:27:28 +08:00
|
|
|
|
2001-02-14 12:55:21 +08:00
|
|
|
void
|
|
|
|
register_tools (void)
|
1997-11-25 06:05:25 +08:00
|
|
|
{
|
2001-02-28 08:10:58 +08:00
|
|
|
gimp_ink_tool_register ();
|
2001-02-27 13:21:12 +08:00
|
|
|
gimp_paintbrush_tool_register ();
|
2001-02-28 09:05:22 +08:00
|
|
|
gimp_bucket_fill_tool_register ();
|
2001-02-28 03:18:01 +08:00
|
|
|
gimp_measure_tool_register ();
|
2001-03-04 00:22:18 +08:00
|
|
|
gimp_magnify_tool_register ();
|
2001-02-28 11:29:03 +08:00
|
|
|
gimp_crop_tool_register ();
|
2001-02-28 08:10:58 +08:00
|
|
|
gimp_color_picker_tool_register ();
|
2001-02-28 03:18:01 +08:00
|
|
|
gimp_text_tool_register ();
|
2001-02-28 08:10:58 +08:00
|
|
|
gimp_move_tool_register ();
|
2001-02-22 05:56:39 +08:00
|
|
|
|
2000-02-16 09:47:22 +08:00
|
|
|
/*
|
2001-02-27 13:21:12 +08:00
|
|
|
snatched from the pdb. For inspiration only. ;)
|
|
|
|
|
2001-02-14 12:55:21 +08: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 (&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 12:51:44 +08:00
|
|
|
}
|