tools/pdbgen/pdb/fileops.pdb added a few more PDB wrappers

2000-08-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/selection.pdb: added a few more PDB wrappers

	* tools/pdbgen/pdb/image.pdb: tweaked the help and blurb strings

	* app/image_cmds.c
	* libgimp/gimpfileops_pdb.[ch]
	* libgimp/gimpimage_pdb.c
	* libgimp/gimpselection_pdb.[ch]: regenerated

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c
	* plug-ins/common/mail.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/url.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c: use new PDB wrappers.
	For GDynText this change fixes a bug since it used to use the
	wrong number of arguments for gimp_selection_load().

	* plug-ins/flame/rect.[ch]: removed compiler warning
This commit is contained in:
Sven Neumann
2000-08-25 15:38:38 +00:00
committed by Sven Neumann
parent 6bde2b6794
commit cb7d5a179f
27 changed files with 1149 additions and 486 deletions

View File

@ -2105,19 +2105,34 @@ typedef enum
gint32 *image_ID,gint32 *drawable_ID,gchar *format_name,GimpExportCapabilities capabilities
</FUNCTION>
<FUNCTION>
<NAME>gimp_file_load</NAME>
<RETURNS>gint32 </RETURNS>
GimpRunModeType run_mode,gchar *filename,gchar *raw_filename
</FUNCTION>
<FUNCTION>
<NAME>gimp_file_save</NAME>
<RETURNS>gboolean </RETURNS>
GimpRunModeType run_mode,gint32 image_ID,gint32 drawable_ID,gchar *filename,gchar *raw_filename
</FUNCTION>
<FUNCTION>
<NAME>gimp_temp_name</NAME>
<RETURNS>gchar *</RETURNS>
gchar *extension
</FUNCTION>
<FUNCTION>
<NAME>gimp_register_magic_load_handler</NAME>
<RETURNS>gboolean </RETURNS>
gchar *procedure_name,gchar *extensions,gchar *prefixes,gchar *magics
gchar *procedure_name,gchar *extensions,gchar *prefixes,gchar *magics
</FUNCTION>
<FUNCTION>
<NAME>gimp_register_load_handler</NAME>
<RETURNS>gboolean </RETURNS>
gchar *procedure_name,gchar *extensions,gchar *prefixes
gchar *procedure_name,gchar *extensions,gchar *prefixes
</FUNCTION>
<FUNCTION>
<NAME>gimp_register_save_handler</NAME>
<RETURNS>gboolean </RETURNS>
gchar *procedure_name,gchar *extensions,gchar *prefixes
gchar *procedure_name,gchar *extensions,gchar *prefixes
</FUNCTION>
<MACRO>
<NAME>GIMP_TYPE_FILE_SELECTION</NAME>
@ -4127,15 +4142,80 @@ gint32 image_ID,gint32 drawable_ID,gint offx,gint offy
gint32 image_ID,gboolean *non_empty,gint *x1,gint *y1,gint *x2,gint *y2
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_value</NAME>
<RETURNS>gint </RETURNS>
gint32 image_ID,gint x,gint y
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_is_empty</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_translate</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID,gint offx,gint offy
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_clear</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_invert</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_sharpen</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_all</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_none</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_feather</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID,gdouble radius
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_border</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID,gint radius
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_grow</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID,gint steps
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_shrink</NAME>
<RETURNS>gboolean </RETURNS>
gint32 image_ID,gint radius
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_layer_alpha</NAME>
<RETURNS>gboolean </RETURNS>
gint32 layer_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_load</NAME>
<RETURNS>gboolean </RETURNS>
gint32 channel_ID
</FUNCTION>
<FUNCTION>
<NAME>gimp_selection_save</NAME>
<RETURNS>gint32 </RETURNS>
gint32 image_ID
</FUNCTION>
<MACRO>
<NAME>SA_RESTART</NAME>
#define SA_RESTART SA_SYSV

View File

@ -641,6 +641,9 @@ gimp_edit_stroke
<SECTION>
<FILE>gimpfileops</FILE>
gimp_temp_name
gimp_file_load
gimp_file_save
gimp_register_magic_load_handler
gimp_register_load_handler
gimp_register_save_handler
@ -887,10 +890,23 @@ gimp_procedural_db_get_data_size
<SECTION>
<FILE>gimpselection</FILE>
gimp_selection_float
gimp_selection_bounds
gimp_selection_is_empty
gimp_selection_all
gimp_selection_none
gimp_selection_clear
gimp_selection_is_empty
gimp_selection_float
gimp_selection_load
gimp_selection_save
gimp_selection_value
gimp_selection_grow
gimp_selection_shrink
gimp_selection_invert
gimp_selection_feather
gimp_selection_sharpen
gimp_selection_border
gimp_selection_translate
gimp_selection_layer_alpha
</SECTION>
<SECTION>

View File

@ -14,6 +14,39 @@ gimpfileops
</para>
<!-- ##### FUNCTION gimp_temp_name ##### -->
<para>
</para>
@extension:
@Returns:
<!-- ##### FUNCTION gimp_file_load ##### -->
<para>
</para>
@run_mode:
@filename:
@raw_filename:
@Returns:
<!-- ##### FUNCTION gimp_file_save ##### -->
<para>
</para>
@run_mode:
@image_ID:
@drawable_ID:
@filename:
@raw_filename:
@Returns:
<!-- ##### FUNCTION gimp_register_magic_load_handler ##### -->
<para>

View File

@ -14,21 +14,6 @@ gimpselection
</para>
<!-- ##### FUNCTION gimp_selection_float ##### -->
<para>
</para>
@image_ID:
@drawable_ID:
@offx:
@offy:
@Returns:
<!-- # Unused Parameters # -->
@x_offset:
@y_offset:
<!-- ##### FUNCTION gimp_selection_bounds ##### -->
<para>
@ -45,7 +30,7 @@ gimpselection
@none_empty:
<!-- ##### FUNCTION gimp_selection_is_empty ##### -->
<!-- ##### FUNCTION gimp_selection_all ##### -->
<para>
</para>
@ -63,3 +48,143 @@ gimpselection
@Returns:
<!-- ##### FUNCTION gimp_selection_clear ##### -->
<para>
</para>
@image_ID:
@Returns:
<!-- ##### FUNCTION gimp_selection_is_empty ##### -->
<para>
</para>
@image_ID:
@Returns:
<!-- ##### FUNCTION gimp_selection_float ##### -->
<para>
</para>
@image_ID:
@drawable_ID:
@offx:
@offy:
@Returns:
<!-- # Unused Parameters # -->
@x_offset:
@y_offset:
<!-- ##### FUNCTION gimp_selection_load ##### -->
<para>
</para>
@channel_ID:
@Returns:
<!-- ##### FUNCTION gimp_selection_save ##### -->
<para>
</para>
@image_ID:
@Returns:
<!-- ##### FUNCTION gimp_selection_value ##### -->
<para>
</para>
@image_ID:
@x:
@y:
@Returns:
<!-- ##### FUNCTION gimp_selection_grow ##### -->
<para>
</para>
@image_ID:
@steps:
@Returns:
<!-- ##### FUNCTION gimp_selection_shrink ##### -->
<para>
</para>
@image_ID:
@radius:
@Returns:
<!-- ##### FUNCTION gimp_selection_invert ##### -->
<para>
</para>
@image_ID:
@Returns:
<!-- ##### FUNCTION gimp_selection_feather ##### -->
<para>
</para>
@image_ID:
@radius:
@Returns:
<!-- ##### FUNCTION gimp_selection_sharpen ##### -->
<para>
</para>
@image_ID:
@Returns:
<!-- ##### FUNCTION gimp_selection_border ##### -->
<para>
</para>
@image_ID:
@radius:
@Returns:
<!-- ##### FUNCTION gimp_selection_translate ##### -->
<para>
</para>
@image_ID:
@offx:
@offy:
@Returns:
<!-- ##### FUNCTION gimp_selection_layer_alpha ##### -->
<para>
</para>
@layer_ID:
@Returns: