mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 13:01:42 +00:00
57eec590ae
2004-10-26 Sven Neumann <sven@gimp.org> Added new drawable transform API to the PDB. Largely based on patches from Joao S. O. Bueno. Fixes bug #137053. * app/core/gimpdrawable-transform.[ch]: added missing parameters to gimp_drawable_transform_flip(). * tools/pdbgen/pdb/transform_tools.pdb: changed accordinly. * app/base/base-enums.h * app/core/core-enums.h: removed pdp-skip for GimpInterpolationType and GimpTransformDirection enums. * libgimp/gimpenums.h * plug-ins/pygimp/gimpenums.py * tools/pdbgen/enums.pl * tools/pdbgen/groups.pl: regenerated. * tools/pdbgen/Makefile.am * tools/pdbgen/pdb/drawable_transform.pdb: added new file defining the new PDB calls. * app/pdb/Makefile.am * app/pdb/drawable_transform_cmds.c * app/pdb/internal_procs.c * app/pdb/transform_tools_cmds.c * libgimp/gimp_pdb.h * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
216 lines
7.3 KiB
C
216 lines
7.3 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995-2003 Spencer Kimball and Peter Mattis
|
|
*
|
|
* 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
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
/* NOTE: This file is autogenerated by pdbgen.pl. */
|
|
|
|
#include "config.h"
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include "pdb-types.h"
|
|
|
|
#include "core/gimp.h"
|
|
|
|
#include "gimp-intl.h"
|
|
|
|
/* Forward declarations for registering PDB procs */
|
|
|
|
void register_brush_procs (Gimp *gimp);
|
|
void register_brush_select_procs (Gimp *gimp);
|
|
void register_brushes_procs (Gimp *gimp);
|
|
void register_channel_procs (Gimp *gimp);
|
|
void register_color_procs (Gimp *gimp);
|
|
void register_context_procs (Gimp *gimp);
|
|
void register_convert_procs (Gimp *gimp);
|
|
void register_display_procs (Gimp *gimp);
|
|
void register_drawable_procs (Gimp *gimp);
|
|
void register_drawable_transform_procs (Gimp *gimp);
|
|
void register_edit_procs (Gimp *gimp);
|
|
void register_fileops_procs (Gimp *gimp);
|
|
void register_floating_sel_procs (Gimp *gimp);
|
|
void register_font_select_procs (Gimp *gimp);
|
|
void register_fonts_procs (Gimp *gimp);
|
|
void register_gimprc_procs (Gimp *gimp);
|
|
void register_gradient_procs (Gimp *gimp);
|
|
void register_gradient_select_procs (Gimp *gimp);
|
|
void register_gradients_procs (Gimp *gimp);
|
|
void register_guides_procs (Gimp *gimp);
|
|
void register_help_procs (Gimp *gimp);
|
|
void register_image_procs (Gimp *gimp);
|
|
void register_layer_procs (Gimp *gimp);
|
|
void register_message_procs (Gimp *gimp);
|
|
void register_misc_procs (Gimp *gimp);
|
|
void register_paint_tools_procs (Gimp *gimp);
|
|
void register_palette_procs (Gimp *gimp);
|
|
void register_palette_select_procs (Gimp *gimp);
|
|
void register_palettes_procs (Gimp *gimp);
|
|
void register_parasite_procs (Gimp *gimp);
|
|
void register_paths_procs (Gimp *gimp);
|
|
void register_pattern_procs (Gimp *gimp);
|
|
void register_pattern_select_procs (Gimp *gimp);
|
|
void register_patterns_procs (Gimp *gimp);
|
|
void register_plug_in_procs (Gimp *gimp);
|
|
void register_procedural_db_procs (Gimp *gimp);
|
|
void register_progress_procs (Gimp *gimp);
|
|
void register_selection_procs (Gimp *gimp);
|
|
void register_selection_tools_procs (Gimp *gimp);
|
|
void register_text_tool_procs (Gimp *gimp);
|
|
void register_transform_tools_procs (Gimp *gimp);
|
|
void register_undo_procs (Gimp *gimp);
|
|
void register_unit_procs (Gimp *gimp);
|
|
|
|
/* 420 procedures registered total */
|
|
|
|
void
|
|
internal_procs_init (Gimp *gimp,
|
|
GimpInitStatusFunc status_callback)
|
|
{
|
|
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
|
g_return_if_fail (status_callback != NULL);
|
|
|
|
(* status_callback) (_("Internal Procedures"), _("Brush"), 0.0);
|
|
register_brush_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Brush UI"), 0.019);
|
|
register_brush_select_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Brushes"), 0.026);
|
|
register_brushes_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Channel"), 0.04);
|
|
register_channel_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Color"), 0.062);
|
|
register_color_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Context"), 0.095);
|
|
register_context_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Convert"), 0.148);
|
|
register_convert_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Display procedures"), 0.155);
|
|
register_display_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Drawable procedures"), 0.164);
|
|
register_drawable_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Transformation procedures"), 0.243);
|
|
register_drawable_transform_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Edit procedures"), 0.26);
|
|
register_edit_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("File Operations"), 0.279);
|
|
register_fileops_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Floating selections"), 0.3);
|
|
register_floating_sel_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Font UI"), 0.314);
|
|
register_font_select_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Fonts"), 0.321);
|
|
register_fonts_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Gimprc procedures"), 0.326);
|
|
register_gimprc_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Gradient"), 0.34);
|
|
register_gradient_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Gradient UI"), 0.41);
|
|
register_gradient_select_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Gradients"), 0.417);
|
|
register_gradients_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Guide procedures"), 0.429);
|
|
register_guides_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Help procedures"), 0.443);
|
|
register_help_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Image"), 0.445);
|
|
register_image_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Layer"), 0.593);
|
|
register_layer_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Message procedures"), 0.655);
|
|
register_message_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Miscellaneous"), 0.662);
|
|
register_misc_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Paint Tool procedures"), 0.667);
|
|
register_paint_tools_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Palette"), 0.702);
|
|
register_palette_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Palette UI"), 0.729);
|
|
register_palette_select_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Palettes"), 0.736);
|
|
register_palettes_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Parasite procedures"), 0.745);
|
|
register_parasite_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Paths"), 0.774);
|
|
register_paths_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Pattern"), 0.81);
|
|
register_pattern_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Pattern UI"), 0.814);
|
|
register_pattern_select_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Patterns"), 0.821);
|
|
register_patterns_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Plug-in"), 0.831);
|
|
register_plug_in_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Procedural database"), 0.843);
|
|
register_procedural_db_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Progress"), 0.864);
|
|
register_progress_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Image mask"), 0.876);
|
|
register_selection_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Selection Tool procedures"), 0.919);
|
|
register_selection_tools_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Text procedures"), 0.931);
|
|
register_text_tool_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Transform Tool procedures"), 0.94);
|
|
register_transform_tools_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Undo"), 0.955);
|
|
register_undo_procs (gimp);
|
|
|
|
(* status_callback) (NULL, _("Units"), 0.971);
|
|
register_unit_procs (gimp);
|
|
|
|
}
|