only code review, no real changes

--Sven
This commit is contained in:
Sven Neumann 2000-05-08 17:45:16 +00:00
parent 056d620c5b
commit 3b85cb5dc8
3 changed files with 577 additions and 551 deletions

View File

@ -1,3 +1,7 @@
2000-05-08 Sven Neumann <sven@gimp.org>
* libgimp/gimpmenu.[ch]: code review, no real changes
2000-05-08 Sven Neumann <neo@wintermute.ochsenblut.de>
* plug-ins/script-fu/scripts/tileblur.scm

File diff suppressed because it is too large Load Diff

View File

@ -34,6 +34,7 @@ typedef gint (*GimpConstraintFunc) (gint32 image_id,
typedef void (*GimpMenuCallback) (gint32 id,
gpointer data);
/* Popup the brush dialog interactively */
typedef void (* GRunBrushCallback) (gchar *name,
gdouble opacity,
@ -42,7 +43,7 @@ typedef void (* GRunBrushCallback) (gchar *name,
gint width,
gint height,
gchar *mask_data,
gint dialog_closing,
gboolean dialog_closing,
gpointer user_data);
/* Popup the pattern dialog */
@ -51,16 +52,17 @@ typedef void (*GRunPatternCallback) (gchar *name,
gint height,
gint bpp,
gchar *mask_data,
gint dialog_closing,
gboolean dialog_closing,
gpointer user_data);
/* Popup the gradient dialog */
typedef void (*GRunGradientCallback) (gchar *name,
gint width,
gdouble *grad_data,
gint dialog_closing,
gboolean dialog_closing,
gpointer user_data);
GtkWidget* gimp_image_menu_new (GimpConstraintFunc constraint,
GimpMenuCallback callback,
gpointer data,
@ -78,7 +80,8 @@ GtkWidget* gimp_drawable_menu_new (GimpConstraintFunc constraint,
gpointer data,
gint32 active_drawable);
void * gimp_interactive_selection_brush (gchar *dialogname,
gpointer gimp_interactive_selection_brush (gchar *dialogname,
gchar *brush_name,
gdouble opacity,
gint spacing,
@ -94,14 +97,14 @@ GtkWidget * gimp_brush_select_widget (gchar *dname,
GRunBrushCallback cback,
gpointer data);
gboolean gimp_brush_select_widget_close_popup (GtkWidget *widget);
gboolean gimp_brush_select_widget_set_popup (GtkWidget *widget,
gchar *pname,
gdouble opacity,
gint spacing,
gint paint_mode);
gboolean gimp_brush_select_widget_close_popup (GtkWidget *widget);
gchar *gimp_brushes_get_brush_data (gchar *pname,
gchar * gimp_brushes_get_brush_data (gchar *pname,
gdouble *opacity,
gint *spacing,
gint *paint_mode,
@ -109,14 +112,15 @@ gchar *gimp_brushes_get_brush_data (gchar *pname,
gint *height,
gchar **mask_data);
gint gimp_brush_set_popup (gpointer popup_pnt,
gboolean gimp_brush_set_popup (gpointer popup_pnt,
gchar *pname,
gdouble opacity,
gint spacing,
gint paint_mode);
gint gimp_brush_close_popup (gpointer popup_pnt);
gboolean gimp_brush_close_popup (gpointer popup_pnt);
void * gimp_interactive_selection_pattern (gchar *dialogtitle,
gpointer gimp_interactive_selection_pattern (gchar *dialogtitle,
gchar *pattern_name,
GRunPatternCallback callback,
gpointer data);
@ -130,41 +134,39 @@ gboolean gimp_pattern_select_widget_close_popup (GtkWidget *widget);
gboolean gimp_pattern_select_widget_set_popup (GtkWidget *widget,
gchar *pname);
gchar *gimp_pattern_get_pattern_data (gchar *pname,
gchar * gimp_pattern_get_pattern_data (gchar *pname,
gint *width,
gint *height,
gint *bytes,
gchar **mask_data);
gint gimp_pattern_set_popup (gpointer popup_pnt,
gboolean gimp_pattern_set_popup (gpointer popup_pnt,
gchar *pname);
gboolean gimp_pattern_close_popup (gpointer popup_pnt);
gint gimp_pattern_close_popup (gpointer popup_pnt);
void * gimp_interactive_selection_gradient (gchar *dialogtitle,
gpointer gimp_interactive_selection_gradient (gchar *dialogtitle,
gchar *gradient_name,
gint sample_sz,
GRunGradientCallback callback,
gpointer udata);
gpointer data);
GtkWidget * gimp_gradient_select_widget (gchar *gname,
gchar *igradient,
GRunGradientCallback cback,
gpointer data);
gint gimp_gradient_select_widget_close_popup (GtkWidget *widget);
gint gimp_gradient_select_widget_set_popup (GtkWidget *widget,
gboolean gimp_gradient_select_widget_set_popup (GtkWidget *widget,
gchar *pname);
gboolean gimp_gradient_select_widget_close_popup (GtkWidget *widget);
gchar *gimp_gradient_get_gradient_data (gchar *pname,
gchar * gimp_gradient_get_gradient_data (gchar *pname,
gint *width,
gint sample_sz,
gdouble **mask_data);
gint gimp_gradient_set_popup (gpointer popup_pnt,
gboolean gimp_gradient_set_popup (gpointer popup_pnt,
gchar *pname);
gint gimp_gradient_close_popup (gpointer popup_pnt);
gboolean gimp_gradient_close_popup (gpointer popup_pnt);
#ifdef __cplusplus
}