mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimp: Convert gimpprocedure-params macros to functions
In order for Python plug-ins to be able to create custom parameters like GeglColor and GimpChoice, we need to create actual functions rather than using macros. A subsequent commit will update all plug-ins to use them.
This commit is contained in:
parent
ceb9747e23
commit
d1c4457fa3
4 changed files with 3558 additions and 20 deletions
102
libgimp/gimp.def
102
libgimp/gimp.def
|
@ -738,9 +738,111 @@ EXPORTS
|
||||||
gimp_procedure_add_argument_from_property
|
gimp_procedure_add_argument_from_property
|
||||||
gimp_procedure_add_aux_argument
|
gimp_procedure_add_aux_argument
|
||||||
gimp_procedure_add_aux_argument_from_property
|
gimp_procedure_add_aux_argument_from_property
|
||||||
|
gimp_procedure_add_boolean_argument
|
||||||
|
gimp_procedure_add_boolean_aux_argument
|
||||||
|
gimp_procedure_add_boolean_return_value
|
||||||
|
gimp_procedure_add_brush_argument
|
||||||
|
gimp_procedure_add_brush_aux_argument
|
||||||
|
gimp_procedure_add_brush_return_value
|
||||||
|
gimp_procedure_add_bytes_argument
|
||||||
|
gimp_procedure_add_bytes_aux_argument
|
||||||
|
gimp_procedure_add_bytes_return_value
|
||||||
|
gimp_procedure_add_channel_argument
|
||||||
|
gimp_procedure_add_channel_aux_argument
|
||||||
|
gimp_procedure_add_channel_return_value
|
||||||
|
gimp_procedure_add_choice_argument
|
||||||
|
gimp_procedure_add_choice_aux_argument
|
||||||
|
gimp_procedure_add_choice_return_value
|
||||||
|
gimp_procedure_add_color_argument
|
||||||
|
gimp_procedure_add_color_aux_argument
|
||||||
|
gimp_procedure_add_color_from_string_argument
|
||||||
|
gimp_procedure_add_color_from_string_aux_argument
|
||||||
|
gimp_procedure_add_color_from_string_return_value
|
||||||
|
gimp_procedure_add_color_return_value
|
||||||
|
gimp_procedure_add_display_argument
|
||||||
|
gimp_procedure_add_display_aux_argument
|
||||||
|
gimp_procedure_add_display_return_value
|
||||||
|
gimp_procedure_add_double_argument
|
||||||
|
gimp_procedure_add_double_aux_argument
|
||||||
|
gimp_procedure_add_double_return_value
|
||||||
|
gimp_procedure_add_drawable_argument
|
||||||
|
gimp_procedure_add_drawable_aux_argument
|
||||||
|
gimp_procedure_add_drawable_return_value
|
||||||
|
gimp_procedure_add_enum_argument
|
||||||
|
gimp_procedure_add_enum_aux_argument
|
||||||
|
gimp_procedure_add_enum_return_value
|
||||||
|
gimp_procedure_add_file_argument
|
||||||
|
gimp_procedure_add_file_aux_argument
|
||||||
|
gimp_procedure_add_file_return_value
|
||||||
|
gimp_procedure_add_float_array_argument
|
||||||
|
gimp_procedure_add_float_array_aux_argument
|
||||||
|
gimp_procedure_add_float_array_return_value
|
||||||
|
gimp_procedure_add_font_argument
|
||||||
|
gimp_procedure_add_font_aux_argument
|
||||||
|
gimp_procedure_add_font_return_value
|
||||||
|
gimp_procedure_add_gradient_argument
|
||||||
|
gimp_procedure_add_gradient_aux_argument
|
||||||
|
gimp_procedure_add_gradient_return_value
|
||||||
|
gimp_procedure_add_image_argument
|
||||||
|
gimp_procedure_add_image_aux_argument
|
||||||
|
gimp_procedure_add_image_return_value
|
||||||
|
gimp_procedure_add_int32_array_argument
|
||||||
|
gimp_procedure_add_int32_array_aux_argument
|
||||||
|
gimp_procedure_add_int32_array_return_value
|
||||||
|
gimp_procedure_add_int_argument
|
||||||
|
gimp_procedure_add_int_aux_argument
|
||||||
|
gimp_procedure_add_int_return_value
|
||||||
|
gimp_procedure_add_item_argument
|
||||||
|
gimp_procedure_add_item_aux_argument
|
||||||
|
gimp_procedure_add_item_return_value
|
||||||
|
gimp_procedure_add_layer_argument
|
||||||
|
gimp_procedure_add_layer_aux_argument
|
||||||
|
gimp_procedure_add_layer_mask_argument
|
||||||
|
gimp_procedure_add_layer_mask_aux_argument
|
||||||
|
gimp_procedure_add_layer_mask_return_value
|
||||||
|
gimp_procedure_add_layer_return_value
|
||||||
gimp_procedure_add_menu_path
|
gimp_procedure_add_menu_path
|
||||||
|
gimp_procedure_add_object_array_argument
|
||||||
|
gimp_procedure_add_object_array_aux_argument
|
||||||
|
gimp_procedure_add_object_array_return_value
|
||||||
|
gimp_procedure_add_palette_argument
|
||||||
|
gimp_procedure_add_palette_aux_argument
|
||||||
|
gimp_procedure_add_palette_return_value
|
||||||
|
gimp_procedure_add_param_argument
|
||||||
|
gimp_procedure_add_param_aux_argument
|
||||||
|
gimp_procedure_add_param_return_value
|
||||||
|
gimp_procedure_add_parasite_argument
|
||||||
|
gimp_procedure_add_parasite_aux_argument
|
||||||
|
gimp_procedure_add_parasite_return_value
|
||||||
|
gimp_procedure_add_pattern_argument
|
||||||
|
gimp_procedure_add_pattern_aux_argument
|
||||||
|
gimp_procedure_add_pattern_return_value
|
||||||
|
gimp_procedure_add_resource_argument
|
||||||
|
gimp_procedure_add_resource_aux_argument
|
||||||
|
gimp_procedure_add_resource_return_value
|
||||||
gimp_procedure_add_return_value
|
gimp_procedure_add_return_value
|
||||||
gimp_procedure_add_return_value_from_property
|
gimp_procedure_add_return_value_from_property
|
||||||
|
gimp_procedure_add_selection_argument
|
||||||
|
gimp_procedure_add_selection_aux_argument
|
||||||
|
gimp_procedure_add_selection_return_value
|
||||||
|
gimp_procedure_add_string_argument
|
||||||
|
gimp_procedure_add_string_array_argument
|
||||||
|
gimp_procedure_add_string_array_aux_argument
|
||||||
|
gimp_procedure_add_string_array_return_value
|
||||||
|
gimp_procedure_add_string_aux_argument
|
||||||
|
gimp_procedure_add_string_return_value
|
||||||
|
gimp_procedure_add_text_layer_argument
|
||||||
|
gimp_procedure_add_text_layer_aux_argument
|
||||||
|
gimp_procedure_add_text_layer_return_value
|
||||||
|
gimp_procedure_add_uint_argument
|
||||||
|
gimp_procedure_add_uint_aux_argument
|
||||||
|
gimp_procedure_add_uint_return_value
|
||||||
|
gimp_procedure_add_unit_argument
|
||||||
|
gimp_procedure_add_unit_aux_argument
|
||||||
|
gimp_procedure_add_unit_return_value
|
||||||
|
gimp_procedure_add_vectors_argument
|
||||||
|
gimp_procedure_add_vectors_aux_argument
|
||||||
|
gimp_procedure_add_vectors_return_value
|
||||||
gimp_procedure_config_get_choice_id
|
gimp_procedure_config_get_choice_id
|
||||||
gimp_procedure_config_get_procedure
|
gimp_procedure_config_get_procedure
|
||||||
gimp_procedure_config_get_type
|
gimp_procedure_config_get_type
|
||||||
|
|
2806
libgimp/gimpprocedure-params.c
Normal file
2806
libgimp/gimpprocedure-params.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -124,24 +124,6 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
/* uchar */
|
/* uchar */
|
||||||
|
|
||||||
#define GIMP_PROC_ARG_UCHAR(procedure, name, nick, blurb, min, max, default, flags) \
|
|
||||||
gimp_procedure_add_argument (procedure,\
|
|
||||||
g_param_spec_uchar (name, nick, blurb,\
|
|
||||||
min, max, default,\
|
|
||||||
flags))
|
|
||||||
|
|
||||||
#define GIMP_PROC_AUX_ARG_UCHAR(procedure, name, nick, blurb, min, max, default, flags) \
|
|
||||||
gimp_procedure_add_aux_argument (procedure,\
|
|
||||||
g_param_spec_uchar (name, nick, blurb,\
|
|
||||||
min, max, default,\
|
|
||||||
flags))
|
|
||||||
|
|
||||||
#define GIMP_PROC_VAL_UCHAR(procedure, name, nick, blurb, min, max, default, flags) \
|
|
||||||
gimp_procedure_add_return_value (procedure,\
|
|
||||||
g_param_spec_uchar (name, nick, blurb,\
|
|
||||||
min, max, default,\
|
|
||||||
flags))
|
|
||||||
|
|
||||||
#define GIMP_VALUES_GET_UCHAR(args, n) \
|
#define GIMP_VALUES_GET_UCHAR(args, n) \
|
||||||
g_value_get_uchar (gimp_value_array_index (args, n))
|
g_value_get_uchar (gimp_value_array_index (args, n))
|
||||||
|
|
||||||
|
@ -745,7 +727,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_PROC_VAL_CHANNEL(procedure, name, nick, blurb, none_ok, flags) \
|
#define GIMP_PROC_VAL_CHANNEL(procedure, name, nick, blurb, none_ok, flags) \
|
||||||
gimp_procedure_add_return_value (procedure,\
|
gimp_procedure_add_return_value (procedure,\
|
||||||
gimp_param_spec_channe (name, nick, blurb,\
|
gimp_param_spec_channel (name, nick, blurb,\
|
||||||
none_ok,\
|
none_ok,\
|
||||||
flags))
|
flags))
|
||||||
|
|
||||||
|
@ -946,6 +928,653 @@ G_BEGIN_DECLS
|
||||||
#define GIMP_VALUES_SET_PATTERN(args, n, value) \
|
#define GIMP_VALUES_SET_PATTERN(args, n, value) \
|
||||||
g_value_set_object (gimp_value_array_index (args, n), value)
|
g_value_set_object (gimp_value_array_index (args, n), value)
|
||||||
|
|
||||||
|
void gimp_procedure_add_boolean_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_boolean_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_boolean_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_int_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gint min,
|
||||||
|
gint max,
|
||||||
|
gint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_int_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gint min,
|
||||||
|
gint max,
|
||||||
|
gint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_int_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gint min,
|
||||||
|
gint max,
|
||||||
|
gint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_uint_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
guint min,
|
||||||
|
guint max,
|
||||||
|
guint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_uint_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
guint min,
|
||||||
|
guint max,
|
||||||
|
guint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_uint_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
guint min,
|
||||||
|
guint max,
|
||||||
|
guint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_unit_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean show_pixels,
|
||||||
|
gboolean show_percent,
|
||||||
|
GimpUnit value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_unit_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean show_pixels,
|
||||||
|
gboolean show_percent,
|
||||||
|
GimpUnit value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_unit_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean show_pixels,
|
||||||
|
gboolean show_percent,
|
||||||
|
GimpUnit value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_double_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gdouble min,
|
||||||
|
gdouble max,
|
||||||
|
gdouble value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_double_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gdouble min,
|
||||||
|
gdouble max,
|
||||||
|
gdouble value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_double_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gdouble min,
|
||||||
|
gdouble max,
|
||||||
|
gdouble value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_enum_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType enum_type,
|
||||||
|
gint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_enum_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType enum_type,
|
||||||
|
gint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_enum_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType enum_type,
|
||||||
|
gint value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_choice_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GimpChoice *choice,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_choice_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GimpChoice *choice,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_choice_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GimpChoice *choice,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_string_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_string_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_string_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_color_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean has_alpha,
|
||||||
|
GeglColor *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_color_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean has_alpha,
|
||||||
|
GeglColor *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_color_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean has_alpha,
|
||||||
|
GeglColor *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_color_from_string_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean has_alpha,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_color_from_string_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean has_alpha,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_color_from_string_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean has_alpha,
|
||||||
|
const gchar *value,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_parasite_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_parasite_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_parasite_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_param_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType param_type,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_param_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType param_type,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_param_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType param_type,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_bytes_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_bytes_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_bytes_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_int32_array_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_int32_array_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_int32_array_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_float_array_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_float_array_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_float_array_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_string_array_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_string_array_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_string_array_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_object_array_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType object_type,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_object_array_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType object_type,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_object_array_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GType object_type,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_display_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_display_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_display_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_image_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_image_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_image_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_item_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_item_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_item_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_drawable_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_drawable_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_drawable_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_layer_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_layer_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_layer_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_text_layer_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_text_layer_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_text_layer_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_channel_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_channel_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_channel_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_layer_mask_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_layer_mask_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_layer_mask_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_selection_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_selection_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_selection_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_vectors_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_vectors_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_vectors_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
gboolean none_ok,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_file_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_file_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_file_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_resource_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_resource_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_resource_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_brush_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_brush_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_brush_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_font_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_font_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_font_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_gradient_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_gradient_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_gradient_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_palette_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_palette_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_palette_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
void gimp_procedure_add_pattern_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_pattern_aux_argument (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
void gimp_procedure_add_pattern_return_value (GimpProcedure *procedure,
|
||||||
|
const gchar *name,
|
||||||
|
const gchar *nick,
|
||||||
|
const gchar *blurb,
|
||||||
|
GParamFlags flags);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GIMP_PROCEDURE_PARAMS_H__ */
|
#endif /* __GIMP_PROCEDURE_PARAMS_H__ */
|
||||||
|
|
|
@ -194,6 +194,7 @@ libgimp_sources_introspectable = [
|
||||||
'gimppdb.c',
|
'gimppdb.c',
|
||||||
'gimpplugin.c',
|
'gimpplugin.c',
|
||||||
'gimpprocedure.c',
|
'gimpprocedure.c',
|
||||||
|
'gimpprocedure-params.c',
|
||||||
'gimpprocedureconfig.c',
|
'gimpprocedureconfig.c',
|
||||||
'gimpprogress.c',
|
'gimpprogress.c',
|
||||||
'gimpresource.c',
|
'gimpresource.c',
|
||||||
|
@ -253,6 +254,7 @@ libgimp_headers_introspectable = [
|
||||||
'gimppdb.h',
|
'gimppdb.h',
|
||||||
'gimpplugin.h',
|
'gimpplugin.h',
|
||||||
'gimpprocedure.h',
|
'gimpprocedure.h',
|
||||||
|
'gimpprocedure-params.h',
|
||||||
'gimpprocedureconfig.h',
|
'gimpprocedureconfig.h',
|
||||||
'gimpprogress.h',
|
'gimpprogress.h',
|
||||||
'gimpresource.h',
|
'gimpresource.h',
|
||||||
|
@ -268,7 +270,6 @@ libgimp_headers_introspectable = [
|
||||||
|
|
||||||
libgimp_headers = [
|
libgimp_headers = [
|
||||||
libgimp_headers_introspectable,
|
libgimp_headers_introspectable,
|
||||||
'gimpprocedure-params.h',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
libgimpui_sources_introspectable = [
|
libgimpui_sources_introspectable = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue