1997-11-25 06:05:25 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 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
|
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
|
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include "appenv.h"
|
1998-01-20 08:12:21 +08:00
|
|
|
#include "app_procs.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
#include "gimage_cmds.h"
|
|
|
|
#include "gimage_mask_cmds.h"
|
|
|
|
#include "layer_cmds.h"
|
|
|
|
#include "internal_procs.h"
|
|
|
|
#include "procedural_db.h"
|
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
#include "libgimp/gimpintl.h"
|
1997-11-25 06:05:25 +08:00
|
|
|
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
void register_gdisplay_procs (void);
|
|
|
|
void register_edit_procs (void);
|
|
|
|
void register_floating_sel_procs (void);
|
|
|
|
void register_undo_procs (void);
|
|
|
|
void register_convert_procs (void);
|
|
|
|
void register_paths_procs (void);
|
|
|
|
void register_palette_procs (void);
|
|
|
|
void register_unit_procs (void);
|
|
|
|
void register_text_tool_procs (void);
|
|
|
|
void register_color_procs (void);
|
|
|
|
void register_misc_procs (void);
|
|
|
|
void register_tools_procs (void);
|
|
|
|
void register_gimprc_procs (void);
|
|
|
|
void register_channel_procs (void);
|
|
|
|
void register_channel_ops_procs (void);
|
|
|
|
void register_gradient_procs (void);
|
|
|
|
void register_gradient_select_procs (void);
|
|
|
|
void register_brushes_procs (void);
|
|
|
|
void register_brush_select_procs (void);
|
|
|
|
void register_patterns_procs (void);
|
|
|
|
void register_pattern_select_procs (void);
|
|
|
|
void register_parasite_procs (void);
|
|
|
|
void register_drawable_procs (void);
|
|
|
|
void register_procedural_db_procs (void);
|
1999-03-28 14:55:29 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
void
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
internal_procs_init (void)
|
1997-11-25 06:05:25 +08:00
|
|
|
{
|
1998-01-20 08:12:21 +08:00
|
|
|
gfloat pcount = 0;
|
|
|
|
/* grep -c procedural_db_register internal_procs.c */
|
1999-03-22 08:51:30 +08:00
|
|
|
gfloat total_pcount = 264;
|
1998-10-08 16:15:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(_("Internal Procedures"), _("Tool procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
/* Tool procedures */
|
1999-04-19 05:22:41 +08:00
|
|
|
register_tools_procs ();
|
|
|
|
pcount += 21;
|
|
|
|
|
1999-04-10 12:54:34 +08:00
|
|
|
register_text_tool_procs ();
|
|
|
|
pcount += 6;
|
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("GDisplay procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* GDisplay procedures */
|
1999-03-28 14:55:29 +08:00
|
|
|
register_gdisplay_procs ();
|
|
|
|
pcount += 3;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Edit procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Edit procedures */
|
1999-03-28 14:55:29 +08:00
|
|
|
register_edit_procs ();
|
|
|
|
pcount += 6;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("GImage procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* GImage procedures */
|
1998-01-20 08:12:21 +08:00
|
|
|
procedural_db_register (&gimage_list_images_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_new_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_resize_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_scale_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_delete_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_free_shadow_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_layers_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_channels_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_active_layer_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_active_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_selection_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_component_active_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_component_visible_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_active_layer_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_active_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_unset_active_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_component_active_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_component_visible_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_pick_correlate_layer_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_raise_layer_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_lower_layer_proc); pcount++;
|
1998-11-16 01:02:59 +08:00
|
|
|
procedural_db_register (&gimage_raise_layer_to_top_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_lower_layer_to_bottom_proc); pcount++;
|
1998-01-20 08:12:21 +08:00
|
|
|
procedural_db_register (&gimage_merge_visible_layers_proc); pcount++;
|
1998-09-01 05:52:37 +08:00
|
|
|
procedural_db_register (&gimage_merge_down_proc); pcount++;
|
1998-01-20 08:12:21 +08:00
|
|
|
procedural_db_register (&gimage_flatten_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_add_layer_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_remove_layer_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_add_layer_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_remove_layer_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_raise_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_lower_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_add_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_remove_channel_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_active_drawable_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_base_type_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_filename_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_filename_proc); pcount++;
|
1998-10-05 18:05:29 +08:00
|
|
|
procedural_db_register (&gimage_get_resolution_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_resolution_proc); pcount++;
|
1999-03-17 04:14:07 +08:00
|
|
|
procedural_db_register (&gimage_get_unit_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_unit_proc); pcount++;
|
1998-01-20 08:12:21 +08:00
|
|
|
procedural_db_register (&gimage_width_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_height_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_get_cmap_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_set_cmap_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_enable_undo_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_disable_undo_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_clean_all_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_floating_sel_proc); pcount++;
|
1998-11-17 02:07:34 +08:00
|
|
|
procedural_db_register (&gimage_floating_sel_attached_to_proc); pcount++;
|
1998-09-01 01:31:19 +08:00
|
|
|
procedural_db_register (&gimp_image_add_hguide_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_add_vguide_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_delete_guide_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_findnext_guide_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_get_guide_orientation_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_get_guide_position_proc); pcount++;
|
1998-10-08 16:15:21 +08:00
|
|
|
procedural_db_register (&gimp_image_find_parasite_proc); pcount++;
|
1999-02-14 02:19:44 +08:00
|
|
|
procedural_db_register (&gimp_image_parasite_list_proc); pcount++;
|
1998-10-08 16:15:21 +08:00
|
|
|
procedural_db_register (&gimp_image_attach_parasite_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_detach_parasite_proc); pcount++;
|
1998-10-30 18:21:33 +08:00
|
|
|
procedural_db_register (&gimp_image_get_layer_by_tattoo_proc); pcount++;
|
|
|
|
procedural_db_register (&gimp_image_get_channel_by_tattoo_proc); pcount++;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("GImage mask procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* GImage mask procedures */
|
1998-01-20 08:12:21 +08:00
|
|
|
procedural_db_register (&gimage_mask_bounds_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_value_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_is_empty_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_translate_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_float_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_clear_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_invert_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_sharpen_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_all_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_none_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_feather_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_border_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_grow_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_shrink_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_layer_alpha_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_load_proc); pcount++;
|
|
|
|
procedural_db_register (&gimage_mask_save_proc); pcount++;
|
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Layer procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Layer procedures */
|
1998-01-20 08:12:21 +08:00
|
|
|
procedural_db_register (&layer_new_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_copy_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_create_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_scale_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_resize_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_delete_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_translate_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_add_alpha_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_name_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_name_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_visible_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_visible_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_preserve_trans_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_preserve_trans_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_apply_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_apply_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_show_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_show_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_edit_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_edit_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_opacity_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_opacity_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_get_mode_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_mode_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_offsets_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_mask_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_is_floating_sel_proc); pcount++;
|
1998-10-14 10:54:02 +08:00
|
|
|
procedural_db_register (&layer_get_tattoo_proc); pcount++;
|
1998-11-16 01:02:59 +08:00
|
|
|
procedural_db_register (&layer_get_linked_proc); pcount++;
|
|
|
|
procedural_db_register (&layer_set_linked_proc); pcount++;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Channel procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Channel procedures */
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
register_channel_procs ();
|
|
|
|
pcount += 14;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Drawable procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Drawable procedures */
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
register_drawable_procs ();
|
|
|
|
pcount += 25;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Floating selections"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Floating Selections */
|
1999-03-28 14:55:29 +08:00
|
|
|
register_floating_sel_procs ();
|
|
|
|
pcount += 6;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Undo"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Undo */
|
1999-03-28 14:55:29 +08:00
|
|
|
register_undo_procs ();
|
|
|
|
pcount += 2;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Palette"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Palette */
|
1999-04-04 15:12:22 +08:00
|
|
|
register_palette_procs ();
|
|
|
|
pcount += 7;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Interface procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Interface procs */
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
register_brushes_procs ();
|
|
|
|
register_brush_select_procs ();
|
|
|
|
register_patterns_procs ();
|
|
|
|
register_pattern_select_procs ();
|
|
|
|
pcount += 20;
|
|
|
|
|
|
|
|
|
|
|
|
register_gradient_procs ();
|
|
|
|
register_gradient_select_procs ();
|
|
|
|
pcount += 9;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Image procedures"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
1999-04-11 05:51:25 +08:00
|
|
|
register_color_procs ();
|
moved a bunch of PDB stuff here
* app/color_cmds.c: moved a bunch of PDB stuff here
* app/color_balance.[ch]: removed PDB proc, exported TransferMode
enum, ColorBalanceDialog, color_balance_create_lookup_tables, and
color_balance
* app/curves.[ch]: removed PDB procs, exported SMOOTH and GFREE
#defines, CurvesDialog, curves_lut_func and curves_calculate_curve
* app/desaturate.[ch]: removed PDB proc, exported desaturate
* app/equalize.[ch]: removed PDB proc, exported equalize
* app/histogram_tool.[ch]: removed PDB proc, exported HISTOGRAM_WIDTH
and HISTOGRAM_HEIGHT #defines, HistogramToolDialog,
histogram_tool_histogram_range
* app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
HueSaturationDialog, hue_saturation_calculate_transfers,
hue_saturation
* app/invert.[ch]: remove PDB proc, export invert
* app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
threshold_2
* internal_procs.c: changes for pdbgen
* app/gimprc.c: removed leftover declaration
* app/image_map.h: add #include "gimpdrawableF.h"
* app/lut_funcs.h: add ALPHA_LUT to ChannelLutType
-Yosh
1999-04-21 13:39:57 +08:00
|
|
|
pcount += 12;
|
1999-04-11 05:51:25 +08:00
|
|
|
|
1999-03-28 14:55:29 +08:00
|
|
|
register_convert_procs ();
|
|
|
|
pcount += 4;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Channel ops"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Channel Ops procedures */
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
register_channel_ops_procs ();
|
|
|
|
pcount += 2;
|
1997-11-25 06:05:25 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("gimprc ops"),
|
1998-10-08 16:15:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
/* Gimprc procedures */
|
1999-04-19 05:22:41 +08:00
|
|
|
register_gimprc_procs ();
|
|
|
|
pcount += 2;
|
1998-01-20 08:12:21 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("parasites"),
|
1998-10-08 16:15:21 +08:00
|
|
|
pcount/total_pcount);
|
|
|
|
/* parasite procedures */
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
register_parasite_procs ();
|
|
|
|
pcount += 5;
|
1998-10-08 16:15:21 +08:00
|
|
|
|
1999-03-22 08:51:30 +08:00
|
|
|
/* paths procedures */
|
1999-03-28 14:55:29 +08:00
|
|
|
register_paths_procs ();
|
|
|
|
pcount += 6;
|
1999-03-22 08:51:30 +08:00
|
|
|
|
1998-11-23 22:47:09 +08:00
|
|
|
app_init_update_status(NULL, _("Procedural database"),
|
1998-01-20 08:12:21 +08:00
|
|
|
pcount/total_pcount);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
1999-03-17 04:14:07 +08:00
|
|
|
/* Unit Procedures */
|
1999-04-04 15:12:22 +08:00
|
|
|
register_unit_procs ();
|
|
|
|
pcount += 11;
|
1999-03-17 04:14:07 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
/* Procedural Database */
|
gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles
* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image
* app/color_cmds.c: s/GRAY/GRAY_LUT/g;
* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/
* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate
* app/gimpbrushlist.[ch]: removed PDB procs
* app/gradient.[ch]: removed PDB procs,
* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog
* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/
* app/patterns.[ch]: removed PDB procs
* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/
* app/procedural_db.c: removed PDB procs and supporting functions
* app/procedrual_db.h: fiddled with enums
* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files
* app/gimpparasite.c: minor cleanup
* app/internal_procs.c: use pdbgen stuff
* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen
* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files
* app/Makefile.am: file shuffle (see above)
-Yosh
1999-04-24 04:54:02 +08:00
|
|
|
register_procedural_db_procs ();
|
|
|
|
pcount += 8;
|
|
|
|
|
1999-04-13 15:09:33 +08:00
|
|
|
register_misc_procs ();
|
1997-11-25 06:05:25 +08:00
|
|
|
}
|