mirror of https://github.com/GNOME/gimp.git
app: change all action callback signatures to use GimpAction
instead of GtkAction, which is correct now because all our actions implement the GimpAction interface.
This commit is contained in:
parent
738c035839
commit
b9d47f2d1f
|
@ -46,9 +46,9 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
buffers_paste_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
buffers_paste_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -96,8 +96,8 @@ buffers_paste_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
buffers_paste_as_new_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
buffers_paste_as_new_image_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -124,8 +124,8 @@ buffers_paste_as_new_image_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
buffers_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
buffers_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
#define __BUFFERS_COMMANDS_H__
|
||||
|
||||
|
||||
void buffers_paste_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void buffers_paste_as_new_image_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void buffers_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void buffers_paste_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void buffers_paste_as_new_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void buffers_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __BUFFERS_COMMANDS_H__ */
|
||||
|
|
|
@ -90,8 +90,8 @@ static void channels_edit_attributes_callback (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
channels_edit_attributes_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_edit_attributes_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -136,8 +136,8 @@ channels_edit_attributes_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_new_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_new_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -181,8 +181,8 @@ channels_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_new_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_new_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -207,8 +207,8 @@ channels_new_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_raise_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_raise_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -219,8 +219,8 @@ channels_raise_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_raise_to_top_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_raise_to_top_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -231,8 +231,8 @@ channels_raise_to_top_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_lower_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_lower_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -243,8 +243,8 @@ channels_lower_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_lower_to_bottom_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_lower_to_bottom_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -255,8 +255,8 @@ channels_lower_to_bottom_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *new_channel;
|
||||
|
@ -307,8 +307,8 @@ channels_duplicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -319,9 +319,9 @@ channels_delete_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
channels_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpChannelOps op;
|
||||
GimpImage *image;
|
||||
|
@ -351,8 +351,8 @@ channels_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -362,8 +362,8 @@ channels_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -373,8 +373,8 @@ channels_linked_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -384,8 +384,8 @@ channels_lock_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
channels_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -395,9 +395,9 @@ channels_lock_position_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_color_tag_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
channels_color_tag_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -408,9 +408,9 @@ channels_color_tag_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
channels_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
channels_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
|
|
@ -19,46 +19,46 @@
|
|||
#define __CHANNELS_COMMANDS_H__
|
||||
|
||||
|
||||
void channels_edit_attributes_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_new_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_new_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_edit_attributes_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_new_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void channels_raise_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_raise_to_top_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_lower_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_lower_to_bottom_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_raise_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_raise_to_top_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_lower_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_lower_to_bottom_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void channels_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void channels_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void channels_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void channels_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void channels_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void channels_color_tag_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void channels_color_tag_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void channels_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void channels_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __CHANNELS_COMMANDS_H__ */
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
colormap_edit_color_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
colormap_edit_color_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpColormapEditor *editor = GIMP_COLORMAP_EDITOR (data);
|
||||
|
||||
|
@ -46,9 +46,9 @@ colormap_edit_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
colormap_add_color_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
colormap_add_color_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpImage *image;
|
||||
|
@ -70,9 +70,9 @@ colormap_add_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
colormap_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
colormap_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpColormapSelection *selection;
|
||||
GimpColormapEditor *editor;
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
#define __COLORMAP_COMMANDS_H__
|
||||
|
||||
|
||||
void colormap_edit_color_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void colormap_add_color_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void colormap_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void colormap_edit_color_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void colormap_add_color_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void colormap_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __COLORMAP_COMMANDS_H__ */
|
||||
|
|
|
@ -81,8 +81,8 @@ static GimpColormapEditor * context_get_colormap_editor (void);
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
context_colors_default_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
context_colors_default_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -91,8 +91,8 @@ context_colors_default_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_colors_swap_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
context_colors_swap_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -102,9 +102,9 @@ context_colors_swap_cmd_callback (GtkAction *action,
|
|||
|
||||
#define SELECT_COLOR_CMD_CALLBACK(name, fgbg, use_colormap, use_palette) \
|
||||
void \
|
||||
context_##name##_##fgbg##ground_cmd_callback (GtkAction *action, \
|
||||
gint value, \
|
||||
gpointer data) \
|
||||
context_##name##_##fgbg##ground_cmd_callback (GimpAction *action, \
|
||||
gint value, \
|
||||
gpointer data) \
|
||||
{ \
|
||||
GimpContext *context; \
|
||||
GimpRGB color; \
|
||||
|
@ -124,9 +124,9 @@ SELECT_COLOR_CMD_CALLBACK (swatch, fore, TRUE, TRUE)
|
|||
SELECT_COLOR_CMD_CALLBACK (swatch, back, TRUE, TRUE)
|
||||
|
||||
void
|
||||
context_foreground_red_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_foreground_red_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -141,9 +141,9 @@ context_foreground_red_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_foreground_green_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_foreground_green_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -158,9 +158,9 @@ context_foreground_green_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_foreground_blue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_foreground_blue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -175,9 +175,9 @@ context_foreground_blue_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_background_red_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_background_red_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -192,9 +192,9 @@ context_background_red_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_background_green_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_background_green_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -209,9 +209,9 @@ context_background_green_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_background_blue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_background_blue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -226,9 +226,9 @@ context_background_blue_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_foreground_hue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_foreground_hue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -246,9 +246,9 @@ context_foreground_hue_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_foreground_saturation_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_foreground_saturation_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -266,9 +266,9 @@ context_foreground_saturation_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_foreground_value_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_foreground_value_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -286,9 +286,9 @@ context_foreground_value_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_background_hue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_background_hue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -306,9 +306,9 @@ context_background_hue_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_background_saturation_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_background_saturation_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -326,9 +326,9 @@ context_background_saturation_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_background_value_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_background_value_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpRGB color;
|
||||
|
@ -346,9 +346,9 @@ context_background_value_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_opacity_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -367,9 +367,9 @@ context_opacity_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_paint_mode_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_paint_mode_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -414,9 +414,9 @@ context_paint_mode_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_tool_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_tool_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -426,9 +426,9 @@ context_tool_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -438,9 +438,9 @@ context_brush_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_pattern_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_pattern_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -450,9 +450,9 @@ context_pattern_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_palette_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_palette_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -462,9 +462,9 @@ context_palette_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_gradient_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_gradient_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -474,9 +474,9 @@ context_gradient_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_font_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_font_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
return_if_no_context (context, data);
|
||||
|
@ -486,9 +486,9 @@ context_font_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_spacing_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_spacing_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
@ -507,9 +507,9 @@ context_brush_spacing_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_shape_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_shape_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
@ -540,9 +540,9 @@ context_brush_shape_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_radius_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_radius_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
@ -600,9 +600,9 @@ context_brush_radius_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_spikes_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_spikes_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
@ -622,9 +622,9 @@ context_brush_spikes_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_hardness_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
@ -644,9 +644,9 @@ context_brush_hardness_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_aspect_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_aspect_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
@ -666,9 +666,9 @@ context_brush_aspect_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
context_brush_angle_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
context_brush_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpBrush *brush;
|
||||
|
|
|
@ -20,119 +20,119 @@
|
|||
|
||||
|
||||
|
||||
void context_colors_default_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void context_colors_swap_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void context_colors_default_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void context_colors_swap_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void context_palette_foreground_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_palette_background_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_palette_foreground_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_palette_background_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_colormap_foreground_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_colormap_background_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_colormap_foreground_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_colormap_background_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_swatch_foreground_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_swatch_background_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_swatch_foreground_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_swatch_background_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_foreground_red_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_green_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_blue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_red_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_green_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_blue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_background_red_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_green_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_blue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_red_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_green_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_blue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_foreground_hue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_saturation_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_value_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_hue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_saturation_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_foreground_value_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_background_hue_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_saturation_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_value_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_hue_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_saturation_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_background_value_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_opacity_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_paint_mode_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_paint_mode_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_tool_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_pattern_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_palette_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_gradient_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_font_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_tool_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_pattern_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_palette_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_gradient_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_font_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void context_brush_spacing_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_shape_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_radius_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_spikes_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_hardness_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_aspect_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_angle_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_spacing_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_shape_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_radius_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_spikes_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_aspect_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void context_brush_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __CONTEXT_COMMANDS_H__ */
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
cursor_info_sample_merged_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
cursor_info_sample_merged_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpCursorView *view = GIMP_CURSOR_VIEW (data);
|
||||
gboolean active;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#define __CURSOR_INFO_COMMANDS_H__
|
||||
|
||||
|
||||
void cursor_info_sample_merged_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void cursor_info_sample_merged_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __CURSOR_INFO_COMMANDS_H__ */
|
||||
|
|
|
@ -54,9 +54,9 @@ static void dashboard_log_add_marker_response (GtkWidget *dialog,
|
|||
|
||||
|
||||
void
|
||||
dashboard_update_interval_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
dashboard_update_interval_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
GimpDashboardUpdateInteval update_interval;
|
||||
|
@ -68,9 +68,9 @@ dashboard_update_interval_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dashboard_history_duration_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
dashboard_history_duration_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
GimpDashboardHistoryDuration history_duration;
|
||||
|
@ -82,8 +82,8 @@ dashboard_history_duration_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dashboard_log_record_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dashboard_log_record_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
|
||||
|
@ -185,8 +185,8 @@ dashboard_log_record_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dashboard_log_add_marker_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dashboard_log_add_marker_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
GtkWidget *dialog;
|
||||
|
@ -215,8 +215,8 @@ dashboard_log_add_marker_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dashboard_log_add_empty_marker_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dashboard_log_add_empty_marker_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
|
||||
|
@ -224,8 +224,8 @@ dashboard_log_add_empty_marker_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dashboard_reset_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dashboard_reset_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
|
||||
|
@ -233,8 +233,8 @@ dashboard_reset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dashboard_low_swap_space_warning_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dashboard_low_swap_space_warning_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDashboard *dashboard = GIMP_DASHBOARD (data);
|
||||
gboolean low_swap_space_warning;
|
||||
|
|
|
@ -19,25 +19,25 @@
|
|||
#define __DASHBOARD_COMMANDS_H__
|
||||
|
||||
|
||||
void dashboard_update_interval_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void dashboard_history_duration_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void dashboard_update_interval_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void dashboard_history_duration_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
void dashboard_log_record_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dashboard_log_add_marker_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dashboard_log_add_empty_marker_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dashboard_log_record_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void dashboard_log_add_marker_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void dashboard_log_add_empty_marker_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void dashboard_reset_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dashboard_reset_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void dashboard_low_swap_space_warning_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dashboard_low_swap_space_warning_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DASHBOARD_COMMANDS_H__ */
|
||||
|
|
|
@ -55,8 +55,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
data_open_as_image_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_open_as_image_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
GimpContext *context;
|
||||
|
@ -94,8 +94,8 @@ data_open_as_image_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_new_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_new_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
|
||||
|
@ -124,8 +124,8 @@ data_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
GimpContext *context;
|
||||
|
@ -155,8 +155,8 @@ data_duplicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_copy_location_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_copy_location_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
GimpContext *context;
|
||||
|
@ -183,8 +183,8 @@ data_copy_location_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_show_in_file_manager_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_show_in_file_manager_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
GimpContext *context;
|
||||
|
@ -217,8 +217,8 @@ data_show_in_file_manager_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_delete_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_delete_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
GimpContext *context;
|
||||
|
@ -247,8 +247,8 @@ data_delete_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_refresh_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
data_refresh_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
|
||||
Gimp *gimp;
|
||||
|
@ -261,7 +261,7 @@ data_refresh_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
data_edit_cmd_callback (GtkAction *action,
|
||||
data_edit_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer user_data)
|
||||
{
|
||||
|
|
|
@ -19,21 +19,21 @@
|
|||
#define __DATA_COMMANDS_H__
|
||||
|
||||
|
||||
void data_open_as_image_cmd_callback (GtkAction *action,
|
||||
void data_open_as_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void data_new_cmd_callback (GtkAction *action,
|
||||
void data_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void data_duplicate_cmd_callback (GtkAction *action,
|
||||
void data_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void data_copy_location_cmd_callback (GtkAction *action,
|
||||
void data_copy_location_cmd_callback (GimpAction *action,
|
||||
gpointer user_data);
|
||||
void data_show_in_file_manager_cmd_callback (GtkAction *action,
|
||||
void data_show_in_file_manager_cmd_callback (GimpAction *action,
|
||||
gpointer user_data);
|
||||
void data_delete_cmd_callback (GtkAction *action,
|
||||
void data_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void data_refresh_cmd_callback (GtkAction *action,
|
||||
void data_refresh_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void data_edit_cmd_callback (GtkAction *action,
|
||||
void data_edit_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data);
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
data_editor_edit_active_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
data_editor_edit_active_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDataEditor *editor = GIMP_DATA_EDITOR (data);
|
||||
gboolean edit_active;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#define __DATA_EDITOR_COMMANDS_H__
|
||||
|
||||
|
||||
void data_editor_edit_active_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void data_editor_edit_active_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DATA_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -72,15 +72,15 @@ static gboolean debug_accel_find_func (GtkAccelKey *key,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
debug_gtk_inspector_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_gtk_inspector_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
gtk_window_set_interactive_debugging (TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
debug_mem_profile_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_mem_profile_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
extern gboolean gimp_debug_memsize;
|
||||
Gimp *gimp;
|
||||
|
@ -94,8 +94,8 @@ debug_mem_profile_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
debug_benchmark_projection_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_benchmark_projection_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
return_if_no_display (display, data);
|
||||
|
@ -104,8 +104,8 @@ debug_benchmark_projection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
debug_show_image_graph_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_show_image_graph_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *source_image = NULL;
|
||||
return_if_no_image (source_image, data);
|
||||
|
@ -114,8 +114,8 @@ debug_show_image_graph_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
debug_dump_menus_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_dump_menus_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GList *list;
|
||||
|
||||
|
@ -155,8 +155,8 @@ debug_dump_menus_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
debug_dump_managers_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_dump_managers_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GList *list;
|
||||
|
||||
|
@ -183,8 +183,8 @@ debug_dump_managers_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
debug_dump_keyboard_shortcuts_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_dump_keyboard_shortcuts_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImageWindow *window;
|
||||
|
@ -272,8 +272,8 @@ debug_dump_keyboard_shortcuts_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
debug_dump_attached_data_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
debug_dump_attached_data_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp = action_data_get_gimp (data);
|
||||
GimpContext *user_context = gimp_get_user_context (gimp);
|
||||
|
|
|
@ -19,23 +19,23 @@
|
|||
#define __DEBUG_COMMANDS_H__
|
||||
|
||||
|
||||
void debug_gtk_inspector_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_mem_profile_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_benchmark_projection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_show_image_graph_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_menus_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_managers_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_keyboard_shortcuts_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_attached_data_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_benchmark_projection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void debug_gtk_inspector_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_mem_profile_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_benchmark_projection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_show_image_graph_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_menus_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_managers_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_keyboard_shortcuts_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_dump_attached_data_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void debug_benchmark_projection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
#endif /* __DEBUG_COMMANDS_H__ */
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
dialogs_create_toplevel_cmd_callback (GtkAction *action,
|
||||
dialogs_create_toplevel_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ dialogs_create_toplevel_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dialogs_create_dockable_cmd_callback (GtkAction *action,
|
||||
dialogs_create_dockable_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data)
|
||||
{
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#define __DIALOGS_COMMANDS_H__
|
||||
|
||||
|
||||
void dialogs_create_toplevel_cmd_callback (GtkAction *action,
|
||||
void dialogs_create_toplevel_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data);
|
||||
void dialogs_create_dockable_cmd_callback (GtkAction *action,
|
||||
void dialogs_create_dockable_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data);
|
||||
|
||||
|
|
|
@ -48,8 +48,8 @@ dock_commands_get_dock_window_from_widget (GtkWidget *widget)
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
dock_toggle_image_menu_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dock_toggle_image_menu_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget = NULL;
|
||||
GimpDockWindow *dock_window = NULL;
|
||||
|
@ -67,8 +67,8 @@ dock_toggle_image_menu_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dock_toggle_auto_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dock_toggle_auto_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget = NULL;
|
||||
GimpDockWindow *dock_window = NULL;
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#define __DOCK_COMMANDS_H__
|
||||
|
||||
|
||||
void dock_toggle_image_menu_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dock_toggle_auto_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void dock_toggle_image_menu_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void dock_toggle_auto_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DOCK_COMMANDS_H__ */
|
||||
|
|
|
@ -46,7 +46,7 @@ static GimpDockable * dockable_get_current (GimpDockbook *dockbook);
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
dockable_add_tab_cmd_callback (GtkAction *action,
|
||||
dockable_add_tab_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data)
|
||||
{
|
||||
|
@ -56,8 +56,8 @@ dockable_add_tab_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_close_tab_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dockable_close_tab_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable = dockable_get_current (dockbook);
|
||||
|
@ -68,8 +68,8 @@ dockable_close_tab_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_detach_tab_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dockable_detach_tab_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable = dockable_get_current (dockbook);
|
||||
|
@ -79,8 +79,8 @@ dockable_detach_tab_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_lock_tab_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dockable_lock_tab_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable = dockable_get_current (dockbook);
|
||||
|
@ -95,9 +95,9 @@ dockable_lock_tab_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_toggle_view_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
dockable_toggle_view_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable;
|
||||
|
@ -208,9 +208,9 @@ dockable_toggle_view_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_view_size_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
dockable_view_size_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable = dockable_get_current (dockbook);
|
||||
|
@ -236,9 +236,9 @@ dockable_view_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_tab_style_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
dockable_tab_style_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable = dockable_get_current (dockbook);
|
||||
|
@ -262,8 +262,8 @@ dockable_tab_style_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
dockable_show_button_bar_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
dockable_show_button_bar_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable = dockable_get_current (dockbook);
|
||||
|
|
|
@ -19,26 +19,26 @@
|
|||
#define __DOCKABLE_COMMANDS_H__
|
||||
|
||||
|
||||
void dockable_add_tab_cmd_callback (GtkAction *action,
|
||||
void dockable_add_tab_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data);
|
||||
void dockable_close_tab_cmd_callback (GtkAction *action,
|
||||
void dockable_close_tab_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void dockable_detach_tab_cmd_callback (GtkAction *action,
|
||||
void dockable_detach_tab_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void dockable_lock_tab_cmd_callback (GtkAction *action,
|
||||
void dockable_lock_tab_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void dockable_toggle_view_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
void dockable_toggle_view_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void dockable_view_size_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
void dockable_view_size_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void dockable_tab_style_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
void dockable_tab_style_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void dockable_show_button_bar_cmd_callback (GtkAction *action,
|
||||
void dockable_show_button_bar_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
|
|
|
@ -75,8 +75,8 @@ static void documents_raise_display (GimpDisplay *display,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
documents_open_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_open_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -99,8 +99,8 @@ documents_open_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_raise_or_open_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_raise_or_open_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -129,8 +129,8 @@ documents_raise_or_open_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_file_open_dialog_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_file_open_dialog_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -151,8 +151,8 @@ documents_file_open_dialog_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_copy_location_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_copy_location_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -167,8 +167,8 @@ documents_copy_location_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_show_in_file_manager_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_show_in_file_manager_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -196,8 +196,8 @@ documents_show_in_file_manager_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_remove_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_remove_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context = gimp_container_view_get_context (editor->view);
|
||||
|
@ -212,8 +212,8 @@ documents_remove_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context = gimp_container_view_get_context (editor->view);
|
||||
|
@ -282,8 +282,8 @@ documents_clear_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_recreate_preview_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_recreate_preview_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -313,8 +313,8 @@ documents_recreate_preview_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
documents_reload_previews_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_reload_previews_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -344,8 +344,8 @@ documents_remove_dangling_foreach (GimpImagefile *imagefile,
|
|||
}
|
||||
|
||||
void
|
||||
documents_remove_dangling_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
documents_remove_dangling_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
|
|
@ -19,26 +19,26 @@
|
|||
#define __DOCUMENTS_COMMANDS_H__
|
||||
|
||||
|
||||
void documents_open_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_raise_or_open_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_file_open_dialog_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_copy_location_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_show_in_file_manager_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_remove_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_recreate_preview_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_reload_previews_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_remove_dangling_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void documents_open_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_raise_or_open_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_file_open_dialog_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_copy_location_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_show_in_file_manager_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_remove_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_recreate_preview_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_reload_previews_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void documents_remove_dangling_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DOCUMENTS_COMMANDS_H__ */
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
drawable_equalize_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
drawable_equalize_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -60,8 +60,8 @@ drawable_equalize_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_levels_stretch_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
drawable_levels_stretch_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -85,8 +85,8 @@ drawable_levels_stretch_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
drawable_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -116,8 +116,8 @@ drawable_linked_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
drawable_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -147,8 +147,8 @@ drawable_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
drawable_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -182,8 +182,8 @@ drawable_lock_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
drawable_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -213,9 +213,9 @@ drawable_lock_position_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_flip_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
drawable_flip_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -259,9 +259,9 @@ drawable_flip_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
drawable_rotate_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
drawable_rotate_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
|
|
@ -19,26 +19,26 @@
|
|||
#define __DRAWABLE_COMMANDS_H__
|
||||
|
||||
|
||||
void drawable_equalize_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void drawable_levels_stretch_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void drawable_equalize_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void drawable_levels_stretch_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void drawable_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void drawable_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void drawable_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void drawable_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void drawable_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void drawable_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void drawable_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void drawable_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void drawable_flip_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void drawable_rotate_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void drawable_flip_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void drawable_rotate_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DRAWABLE_COMMANDS_H__ */
|
||||
|
|
|
@ -83,8 +83,8 @@ static void copy_named_visible_buffer_callback (GtkWidget *widget,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
edit_undo_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_undo_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -99,8 +99,8 @@ edit_undo_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_redo_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_redo_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -115,8 +115,8 @@ edit_redo_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_strong_undo_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_strong_undo_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -126,8 +126,8 @@ edit_strong_undo_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_strong_redo_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_strong_redo_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -137,8 +137,8 @@ edit_strong_redo_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_undo_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_undo_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpUndoStack *undo_stack;
|
||||
|
@ -206,8 +206,8 @@ edit_undo_clear_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_cut_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_cut_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -245,8 +245,8 @@ edit_cut_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -281,8 +281,8 @@ edit_copy_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_copy_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_copy_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GError *error = NULL;
|
||||
|
@ -310,9 +310,9 @@ edit_copy_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_paste_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
edit_paste_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display = action_data_get_display (data);
|
||||
GimpPasteType paste_type = (GimpPasteType) value;
|
||||
|
@ -346,8 +346,8 @@ edit_paste_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_paste_as_new_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_paste_as_new_image_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GtkWidget *widget;
|
||||
|
@ -379,8 +379,8 @@ edit_paste_as_new_image_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_named_cut_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_named_cut_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -399,8 +399,8 @@ edit_named_cut_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_named_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_named_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -419,8 +419,8 @@ edit_named_copy_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_named_copy_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_named_copy_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -439,8 +439,8 @@ edit_named_copy_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_named_paste_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_named_paste_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GtkWidget *widget;
|
||||
|
@ -455,8 +455,8 @@ edit_named_paste_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
edit_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
@ -470,9 +470,9 @@ edit_clear_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
edit_fill_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
edit_fill_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDrawable *drawable;
|
||||
|
|
|
@ -19,44 +19,44 @@
|
|||
#define __EDIT_COMMANDS_H__
|
||||
|
||||
|
||||
void edit_undo_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_redo_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_strong_undo_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_strong_redo_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_undo_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_undo_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_redo_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_strong_undo_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_strong_redo_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_undo_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void edit_cut_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_copy_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_cut_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_copy_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void edit_paste_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void edit_paste_as_new_image_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_paste_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void edit_paste_as_new_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void edit_named_cut_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_named_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_named_copy_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_named_paste_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_named_cut_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_named_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_named_copy_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_named_paste_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void edit_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void edit_fill_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void edit_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void edit_fill_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __EDIT_COMMANDS_H__ */
|
||||
|
|
|
@ -47,8 +47,8 @@ static void error_console_save_response (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
error_console_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
error_console_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
GtkTextIter start_iter;
|
||||
|
@ -59,8 +59,8 @@ error_console_clear_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
error_console_select_all_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
error_console_select_all_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
GtkTextIter start_iter;
|
||||
|
@ -71,9 +71,9 @@ error_console_select_all_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
error_console_save_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
error_console_save_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
@ -133,8 +133,8 @@ error_console_save_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
error_console_highlight_error_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
error_console_highlight_error_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
gboolean active;
|
||||
|
@ -145,8 +145,8 @@ error_console_highlight_error_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
error_console_highlight_warning_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
error_console_highlight_warning_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
gboolean active;
|
||||
|
@ -157,8 +157,8 @@ error_console_highlight_warning_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
error_console_highlight_info_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
error_console_highlight_info_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
gboolean active;
|
||||
|
|
|
@ -19,20 +19,20 @@
|
|||
#define __ERROR_CONSOLE_COMMANDS_H__
|
||||
|
||||
|
||||
void error_console_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void error_console_select_all_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void error_console_save_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void error_console_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void error_console_select_all_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void error_console_save_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void error_console_highlight_error_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void error_console_highlight_warning_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void error_console_highlight_info_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void error_console_highlight_error_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void error_console_highlight_warning_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void error_console_highlight_info_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __ERROR_CONSOLE_COMMANDS_H__ */
|
||||
|
|
|
@ -103,8 +103,8 @@ static void file_revert_confirm_response (GtkWidget *dialog,
|
|||
|
||||
|
||||
void
|
||||
file_open_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_open_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GtkWidget *widget;
|
||||
|
@ -120,8 +120,8 @@ file_open_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_open_as_layers_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_open_as_layers_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GtkWidget *widget;
|
||||
|
@ -141,8 +141,8 @@ file_open_as_layers_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_open_location_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_open_location_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
return_if_no_widget (widget, data);
|
||||
|
@ -155,9 +155,9 @@ file_open_location_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_open_recent_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
file_open_recent_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpImagefile *imagefile;
|
||||
|
@ -212,9 +212,9 @@ file_open_recent_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_save_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
file_save_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpDisplay *display;
|
||||
|
@ -353,8 +353,8 @@ file_save_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_create_template_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_create_template_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -375,8 +375,8 @@ file_create_template_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_revert_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_revert_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -447,8 +447,8 @@ file_revert_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_close_all_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_close_all_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
return_if_no_gimp (gimp, data);
|
||||
|
@ -470,8 +470,8 @@ file_close_all_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_copy_location_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_copy_location_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpDisplay *display;
|
||||
|
@ -494,8 +494,8 @@ file_copy_location_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_show_in_file_manager_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_show_in_file_manager_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpDisplay *display;
|
||||
|
@ -523,8 +523,8 @@ file_show_in_file_manager_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
file_quit_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
file_quit_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
return_if_no_gimp (gimp, data);
|
||||
|
|
|
@ -19,36 +19,36 @@
|
|||
#define __FILE_COMMANDS_H__
|
||||
|
||||
|
||||
void file_open_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_open_as_layers_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_open_location_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_open_recent_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void file_open_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_open_as_layers_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_open_location_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_open_recent_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void file_save_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void file_create_template_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_save_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void file_create_template_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void file_revert_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_close_all_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_copy_location_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_show_in_file_manager_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_quit_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void file_revert_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_close_all_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_copy_location_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_show_in_file_manager_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void file_quit_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void file_file_open_dialog (Gimp *gimp,
|
||||
GFile *file,
|
||||
GtkWidget *parent);
|
||||
void file_file_open_dialog (Gimp *gimp,
|
||||
GFile *file,
|
||||
GtkWidget *parent);
|
||||
|
||||
|
||||
#endif /* __FILE_COMMANDS_H__ */
|
||||
|
|
|
@ -53,8 +53,8 @@ static void gradient_editor_replicate_response (GtkWidget *widge
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
gradient_editor_left_color_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_left_color_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
|
||||
|
@ -62,9 +62,9 @@ gradient_editor_left_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_left_color_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
gradient_editor_left_color_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -98,9 +98,9 @@ gradient_editor_left_color_type_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_load_left_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
gradient_editor_load_left_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -155,9 +155,9 @@ gradient_editor_load_left_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_save_left_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
gradient_editor_save_left_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -170,8 +170,8 @@ gradient_editor_save_left_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_right_color_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_right_color_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
|
||||
|
@ -179,9 +179,9 @@ gradient_editor_right_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_right_color_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
gradient_editor_right_color_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -215,9 +215,9 @@ gradient_editor_right_color_type_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_load_right_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
gradient_editor_load_right_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -272,9 +272,9 @@ gradient_editor_load_right_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_save_right_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
gradient_editor_save_right_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -287,9 +287,9 @@ gradient_editor_save_right_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_blending_func_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
gradient_editor_blending_func_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -315,9 +315,9 @@ gradient_editor_blending_func_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_coloring_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
gradient_editor_coloring_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -343,8 +343,8 @@ gradient_editor_coloring_type_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_flip_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_flip_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -361,8 +361,8 @@ gradient_editor_flip_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_replicate_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_replicate_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -449,8 +449,8 @@ gradient_editor_replicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_split_midpoint_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_split_midpoint_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -470,8 +470,8 @@ gradient_editor_split_midpoint_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_split_uniformly_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_split_uniformly_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -559,8 +559,8 @@ gradient_editor_split_uniformly_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -577,8 +577,8 @@ gradient_editor_delete_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_recenter_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_recenter_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -591,8 +591,8 @@ gradient_editor_recenter_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_redistribute_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_redistribute_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -605,8 +605,8 @@ gradient_editor_redistribute_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_blend_color_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_blend_color_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -622,8 +622,8 @@ gradient_editor_blend_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_blend_opacity_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradient_editor_blend_opacity_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
GimpGradient *gradient;
|
||||
|
@ -639,9 +639,9 @@ gradient_editor_blend_opacity_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
gradient_editor_zoom_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
gradient_editor_zoom_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
|
||||
|
||||
|
|
|
@ -29,60 +29,60 @@ enum
|
|||
};
|
||||
|
||||
|
||||
void gradient_editor_left_color_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_left_color_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_load_left_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_save_left_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_left_color_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_left_color_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_load_left_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_save_left_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_right_color_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_right_color_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_load_right_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_save_right_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_right_color_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_right_color_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_load_right_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_save_right_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_blending_func_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_coloring_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_blending_func_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void gradient_editor_coloring_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_flip_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_replicate_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_split_midpoint_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_split_uniformly_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_recenter_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_redistribute_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_flip_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_replicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_split_midpoint_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_split_uniformly_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_recenter_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_redistribute_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_blend_color_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_blend_opacity_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_blend_color_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void gradient_editor_blend_opacity_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_zoom_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void gradient_editor_zoom_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __GRADIENT_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -49,8 +49,8 @@ static void gradients_save_as_pov_ray_response (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
gradients_save_as_pov_ray_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
gradients_save_as_pov_ray_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#define __GRADIENTS_COMMANDS_H__
|
||||
|
||||
|
||||
void gradients_save_as_pov_ray_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void gradients_save_as_pov_ray_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __GRADIENTS_COMMANDS_H__ */
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
|
||||
void
|
||||
help_help_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
help_help_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpDisplay *display;
|
||||
|
@ -45,8 +45,8 @@ help_help_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
help_context_help_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
help_context_help_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
return_if_no_widget (widget, data);
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#define __HELP_COMMANDS_H__
|
||||
|
||||
|
||||
void help_help_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void help_context_help_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void help_help_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void help_context_help_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __HELP_COMMANDS_H__ */
|
||||
|
|
|
@ -183,8 +183,8 @@ static GimpPalette *image_convert_indexed_custom_palette = NULL;
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
image_new_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_new_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GtkWidget *dialog;
|
||||
|
@ -207,8 +207,8 @@ image_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -229,9 +229,9 @@ image_duplicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_convert_base_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
image_convert_base_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -344,9 +344,9 @@ image_convert_base_type_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_convert_precision_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
image_convert_precision_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -395,9 +395,9 @@ image_convert_precision_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_convert_trc_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
image_convert_trc_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -424,8 +424,8 @@ image_convert_trc_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_color_profile_use_srgb_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_color_profile_use_srgb_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
gboolean use_srgb;
|
||||
|
@ -441,8 +441,8 @@ image_color_profile_use_srgb_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_color_profile_assign_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_color_profile_assign_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -482,8 +482,8 @@ image_color_profile_assign_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_color_profile_convert_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_color_profile_convert_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -525,8 +525,8 @@ image_color_profile_convert_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_color_profile_discard_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_color_profile_discard_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -570,8 +570,8 @@ image_profile_save_dialog_response (GtkWidget *dialog,
|
|||
}
|
||||
|
||||
void
|
||||
image_color_profile_save_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_color_profile_save_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -619,8 +619,8 @@ image_color_profile_save_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_resize_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_resize_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -662,8 +662,8 @@ image_resize_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_resize_to_layers_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_resize_to_layers_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -686,8 +686,8 @@ image_resize_to_layers_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_resize_to_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_resize_to_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -710,8 +710,8 @@ image_resize_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_print_size_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_print_size_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -745,8 +745,8 @@ image_print_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_scale_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_scale_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -784,9 +784,9 @@ image_scale_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_flip_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
image_flip_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -808,9 +808,9 @@ image_flip_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_rotate_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
image_rotate_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -832,8 +832,8 @@ image_rotate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_crop_to_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_crop_to_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -859,8 +859,8 @@ image_crop_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_crop_to_content_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_crop_to_content_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -898,8 +898,8 @@ image_crop_to_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_merge_layers_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_merge_layers_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *dialog;
|
||||
GimpImage *image;
|
||||
|
@ -933,8 +933,8 @@ image_merge_layers_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_flatten_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_flatten_image_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplay *display;
|
||||
|
@ -958,8 +958,8 @@ image_flatten_image_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_configure_grid_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_configure_grid_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -987,8 +987,8 @@ image_configure_grid_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
image_properties_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
image_properties_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
|
|
@ -19,62 +19,62 @@
|
|||
#define __IMAGE_COMMANDS_H__
|
||||
|
||||
|
||||
void image_new_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void image_convert_base_type_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void image_convert_precision_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void image_convert_trc_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void image_convert_base_type_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void image_convert_precision_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void image_convert_trc_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
void image_color_profile_use_srgb_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_assign_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_convert_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_discard_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_save_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_use_srgb_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_assign_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_convert_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_discard_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_color_profile_save_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void image_resize_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_resize_to_layers_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_resize_to_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_print_size_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_scale_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_flip_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void image_rotate_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void image_crop_to_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_crop_to_content_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_resize_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_resize_to_layers_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_resize_to_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_print_size_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_scale_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_flip_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void image_rotate_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void image_crop_to_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_crop_to_content_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void image_merge_layers_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_flatten_image_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_merge_layers_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_flatten_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void image_configure_grid_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_properties_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void image_configure_grid_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void image_properties_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __IMAGE_COMMANDS_H__ */
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
images_raise_views_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
images_raise_views_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -71,8 +71,8 @@ images_raise_views_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
images_new_view_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
images_new_view_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -92,8 +92,8 @@ images_new_view_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
images_delete_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
images_delete_image_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
#define __IMAGES_COMMANDS_H__
|
||||
|
||||
|
||||
void images_raise_views_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void images_new_view_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void images_delete_image_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void images_raise_views_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void images_new_view_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void images_delete_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __IMAGES_COMMANDS_H__ */
|
||||
|
|
|
@ -64,9 +64,9 @@ static void items_stroke_callback (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
items_visible_cmd_callback (GtkAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
items_visible_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
{
|
||||
gboolean visible;
|
||||
|
||||
|
@ -89,9 +89,9 @@ items_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_linked_cmd_callback (GtkAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
items_linked_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
{
|
||||
gboolean linked;
|
||||
|
||||
|
@ -114,9 +114,9 @@ items_linked_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_lock_content_cmd_callback (GtkAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
items_lock_content_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
{
|
||||
gboolean locked;
|
||||
|
||||
|
@ -139,9 +139,9 @@ items_lock_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_lock_position_cmd_callback (GtkAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
items_lock_position_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item)
|
||||
{
|
||||
gboolean locked;
|
||||
|
||||
|
@ -165,7 +165,7 @@ items_lock_position_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_color_tag_cmd_callback (GtkAction *action,
|
||||
items_color_tag_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
GimpColorTag color_tag)
|
||||
|
@ -187,7 +187,7 @@ items_color_tag_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_fill_cmd_callback (GtkAction *action,
|
||||
items_fill_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
const gchar *dialog_key,
|
||||
|
@ -235,10 +235,10 @@ items_fill_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_fill_last_vals_cmd_callback (GtkAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
gpointer data)
|
||||
items_fill_last_vals_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDrawable *drawable;
|
||||
GimpDialogConfig *config;
|
||||
|
@ -272,7 +272,7 @@ items_fill_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_stroke_cmd_callback (GtkAction *action,
|
||||
items_stroke_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
const gchar *dialog_key,
|
||||
|
@ -320,10 +320,10 @@ items_stroke_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
items_stroke_last_vals_cmd_callback (GtkAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
gpointer data)
|
||||
items_stroke_last_vals_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDrawable *drawable;
|
||||
GimpDialogConfig *config;
|
||||
|
|
|
@ -19,25 +19,25 @@
|
|||
#define __ITEMS_COMMANDS_H__
|
||||
|
||||
|
||||
void items_visible_cmd_callback (GtkAction *action,
|
||||
void items_visible_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item);
|
||||
void items_linked_cmd_callback (GtkAction *action,
|
||||
void items_linked_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item);
|
||||
void items_lock_content_cmd_callback (GtkAction *action,
|
||||
void items_lock_content_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item);
|
||||
void items_lock_position_cmd_callback (GtkAction *action,
|
||||
void items_lock_position_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item);
|
||||
|
||||
void items_color_tag_cmd_callback (GtkAction *action,
|
||||
void items_color_tag_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
GimpColorTag color_tag);
|
||||
|
||||
void items_fill_cmd_callback (GtkAction *action,
|
||||
void items_fill_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
const gchar *dialog_key,
|
||||
|
@ -45,12 +45,12 @@ void items_fill_cmd_callback (GtkAction *action,
|
|||
const gchar *dialog_icon_name,
|
||||
const gchar *dialog_help_id,
|
||||
gpointer data);
|
||||
void items_fill_last_vals_cmd_callback (GtkAction *action,
|
||||
void items_fill_last_vals_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
gpointer data);
|
||||
|
||||
void items_stroke_cmd_callback (GtkAction *action,
|
||||
void items_stroke_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
const gchar *dialog_key,
|
||||
|
@ -58,7 +58,7 @@ void items_stroke_cmd_callback (GtkAction *action,
|
|||
const gchar *dialog_icon_name,
|
||||
const gchar *dialog_help_id,
|
||||
gpointer data);
|
||||
void items_stroke_last_vals_cmd_callback (GtkAction *action,
|
||||
void items_stroke_last_vals_cmd_callback (GimpAction *action,
|
||||
GimpImage *image,
|
||||
GimpItem *item,
|
||||
gpointer data);
|
||||
|
|
|
@ -180,8 +180,8 @@ static GimpInterpolationType layer_scale_interp = -1;
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
layers_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -200,8 +200,8 @@ layers_edit_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_edit_text_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_edit_text_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -239,8 +239,8 @@ layers_edit_text_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_edit_attributes_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_edit_attributes_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -289,8 +289,8 @@ layers_edit_attributes_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_new_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_new_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -365,8 +365,8 @@ layers_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_new_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_new_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -419,8 +419,8 @@ layers_new_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_new_from_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_new_from_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -448,8 +448,8 @@ layers_new_from_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_new_group_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_new_group_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -462,9 +462,9 @@ layers_new_group_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -491,8 +491,8 @@ layers_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_raise_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_raise_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -503,8 +503,8 @@ layers_raise_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_raise_to_top_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_raise_to_top_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -515,8 +515,8 @@ layers_raise_to_top_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_lower_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_lower_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -527,8 +527,8 @@ layers_lower_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_lower_to_bottom_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_lower_to_bottom_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -539,8 +539,8 @@ layers_lower_to_bottom_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -561,8 +561,8 @@ layers_duplicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_anchor_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_anchor_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -576,8 +576,8 @@ layers_anchor_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_merge_down_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_merge_down_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -592,8 +592,8 @@ layers_merge_down_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_merge_group_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_merge_group_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -604,8 +604,8 @@ layers_merge_group_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -616,8 +616,8 @@ layers_delete_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_text_discard_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_text_discard_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -628,8 +628,8 @@ layers_text_discard_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_text_to_vectors_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_text_to_vectors_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -652,8 +652,8 @@ layers_text_to_vectors_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_text_along_vectors_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_text_along_vectors_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -709,8 +709,8 @@ layers_text_along_vectors_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_resize_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_resize_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -755,8 +755,8 @@ layers_resize_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_resize_to_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_resize_to_image_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -769,8 +769,8 @@ layers_resize_to_image_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_scale_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_scale_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -813,8 +813,8 @@ layers_scale_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_crop_to_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_crop_to_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -851,8 +851,8 @@ layers_crop_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_crop_to_content_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_crop_to_content_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -897,8 +897,8 @@ layers_crop_to_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_add_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_mask_add_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -932,8 +932,8 @@ layers_mask_add_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_add_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_mask_add_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -979,9 +979,9 @@ layers_mask_add_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_apply_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_mask_apply_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -997,8 +997,8 @@ layers_mask_apply_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_mask_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1016,8 +1016,8 @@ layers_mask_edit_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_show_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_mask_show_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1035,8 +1035,8 @@ layers_mask_show_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_disable_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_mask_disable_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1054,9 +1054,9 @@ layers_mask_disable_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mask_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_mask_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1075,8 +1075,8 @@ layers_mask_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_alpha_add_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_alpha_add_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1090,8 +1090,8 @@ layers_alpha_add_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_alpha_remove_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_alpha_remove_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1105,9 +1105,9 @@ layers_alpha_remove_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_alpha_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_alpha_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1120,9 +1120,9 @@ layers_alpha_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_opacity_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1146,9 +1146,9 @@ layers_opacity_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_mode_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_mode_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1183,9 +1183,9 @@ layers_mode_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_blend_space_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
layers_blend_space_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1211,9 +1211,9 @@ layers_blend_space_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_composite_space_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
layers_composite_space_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1239,9 +1239,9 @@ layers_composite_space_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_composite_mode_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
layers_composite_mode_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1267,7 +1267,7 @@ layers_composite_mode_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_visible_cmd_callback (GtkAction *action,
|
||||
layers_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
|
@ -1278,8 +1278,8 @@ layers_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1289,8 +1289,8 @@ layers_linked_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1300,8 +1300,8 @@ layers_lock_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1311,8 +1311,8 @@ layers_lock_position_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_lock_alpha_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
layers_lock_alpha_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
@ -1338,9 +1338,9 @@ layers_lock_alpha_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_color_tag_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
layers_color_tag_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpLayer *layer;
|
||||
|
|
|
@ -19,119 +19,119 @@
|
|||
#define __LAYERS_COMMANDS_H__
|
||||
|
||||
|
||||
void layers_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_edit_text_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_edit_attributes_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_edit_text_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_edit_attributes_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_new_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_new_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_new_from_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_new_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_new_from_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_new_group_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_new_group_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void layers_raise_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_raise_to_top_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_lower_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_lower_to_bottom_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_raise_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_raise_to_top_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_lower_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_lower_to_bottom_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_anchor_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_merge_down_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_merge_group_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_text_discard_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_text_to_vectors_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_text_along_vectors_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_anchor_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_merge_down_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_merge_group_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_text_discard_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_text_to_vectors_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_text_along_vectors_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_resize_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_resize_to_image_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_scale_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_crop_to_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_crop_to_content_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_resize_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_resize_to_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_scale_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_crop_to_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_crop_to_content_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_mask_add_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_add_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_apply_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_mask_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_show_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_disable_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_mask_add_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_add_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_apply_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_mask_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_show_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_disable_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_mask_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void layers_alpha_add_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_alpha_remove_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_alpha_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_alpha_add_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_alpha_remove_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_alpha_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void layers_opacity_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_mode_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_blend_space_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void layers_composite_space_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void layers_composite_mode_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void layers_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_mode_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_blend_space_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void layers_composite_space_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void layers_composite_mode_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
void layers_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_lock_alpha_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void layers_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void layers_lock_alpha_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void layers_color_tag_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void layers_color_tag_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __LAYERS_COMMANDS_H__ */
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
palette_editor_edit_color_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
palette_editor_edit_color_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpPaletteEditor *editor = GIMP_PALETTE_EDITOR (data);
|
||||
|
||||
|
@ -43,9 +43,9 @@ palette_editor_edit_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
palette_editor_new_color_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
palette_editor_new_color_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpPaletteEditor *editor = GIMP_PALETTE_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -67,8 +67,8 @@ palette_editor_new_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
palette_editor_delete_color_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
palette_editor_delete_color_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpPaletteEditor *editor = GIMP_PALETTE_EDITOR (data);
|
||||
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (data);
|
||||
|
@ -82,9 +82,9 @@ palette_editor_delete_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
palette_editor_zoom_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
palette_editor_zoom_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpPaletteEditor *editor = GIMP_PALETTE_EDITOR (data);
|
||||
|
||||
|
|
|
@ -19,17 +19,17 @@
|
|||
#define __PALETTE_EDITOR_COMMANDS_H__
|
||||
|
||||
|
||||
void palette_editor_edit_color_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void palette_editor_new_color_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void palette_editor_delete_color_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void palette_editor_edit_color_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void palette_editor_new_color_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void palette_editor_delete_color_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void palette_editor_zoom_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void palette_editor_zoom_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __PALETTE_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -54,8 +54,8 @@ static void palettes_merge_callback (GtkWidget *widget,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
palettes_import_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
palettes_import_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
return_if_no_widget (widget, data);
|
||||
|
@ -68,8 +68,8 @@ palettes_import_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
palettes_merge_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
palettes_merge_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GtkWidget *dialog;
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#define __PALETTES_COMMANDS_H__
|
||||
|
||||
|
||||
void palettes_import_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void palettes_merge_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void palettes_import_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void palettes_merge_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __PALETTES_COMMANDS_H__ */
|
||||
|
|
|
@ -67,7 +67,7 @@ static void plug_in_reset_all_response (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
plug_in_run_cmd_callback (GtkAction *action,
|
||||
plug_in_run_cmd_callback (GimpAction *action,
|
||||
GimpProcedure *procedure,
|
||||
gpointer data)
|
||||
{
|
||||
|
@ -157,8 +157,8 @@ plug_in_run_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
plug_in_reset_all_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
plug_in_reset_all_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GtkWidget *dialog;
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
#define __PLUG_IN_COMMANDS_H__
|
||||
|
||||
|
||||
void plug_in_run_cmd_callback (GtkAction *action,
|
||||
void plug_in_run_cmd_callback (GimpAction *action,
|
||||
GimpProcedure *proc,
|
||||
gpointer data);
|
||||
|
||||
void plug_in_reset_all_cmd_callback (GtkAction *action,
|
||||
void plug_in_reset_all_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
|
|
|
@ -67,8 +67,8 @@ static void quick_mask_configure_callback (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
quick_mask_toggle_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
quick_mask_toggle_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
gboolean active;
|
||||
|
@ -84,9 +84,9 @@ quick_mask_toggle_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
quick_mask_invert_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
quick_mask_invert_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
gint value;
|
||||
|
@ -102,8 +102,8 @@ quick_mask_invert_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
quick_mask_configure_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
quick_mask_configure_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
#define __QUICK_MASK_COMMANDS_H__
|
||||
|
||||
|
||||
void quick_mask_toggle_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void quick_mask_invert_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void quick_mask_configure_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void quick_mask_toggle_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void quick_mask_invert_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void quick_mask_configure_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __QUICK_MASK_COMMANDS_H__ */
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
sample_points_sample_merged_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
sample_points_sample_merged_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpSamplePointEditor *editor = GIMP_SAMPLE_POINT_EDITOR (data);
|
||||
gboolean active;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#define __SAMPLE_POINTS_COMMANDS_H__
|
||||
|
||||
|
||||
void sample_points_sample_merged_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void sample_points_sample_merged_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __SAMPLE_POINTS_COMMANDS_H__ */
|
||||
|
|
|
@ -72,8 +72,8 @@ static void select_shrink_callback (GtkWidget *widget,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
select_all_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_all_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -83,8 +83,8 @@ select_all_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_none_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_none_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -94,8 +94,8 @@ select_none_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_invert_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_invert_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -105,8 +105,8 @@ select_invert_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_float_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_float_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -131,8 +131,8 @@ select_float_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_feather_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_feather_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -186,8 +186,8 @@ select_feather_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_sharpen_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_sharpen_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -197,8 +197,8 @@ select_sharpen_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_shrink_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_shrink_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -260,8 +260,8 @@ select_shrink_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_grow_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_grow_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -309,8 +309,8 @@ select_grow_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_border_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_border_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -386,8 +386,8 @@ select_border_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_flood_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_flood_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -397,8 +397,8 @@ select_flood_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_save_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_save_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpChannel *channel;
|
||||
|
@ -424,8 +424,8 @@ select_save_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_fill_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_fill_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -440,8 +440,8 @@ select_fill_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_fill_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_fill_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -453,8 +453,8 @@ select_fill_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_stroke_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_stroke_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
@ -469,8 +469,8 @@ select_stroke_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
select_stroke_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
select_stroke_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
return_if_no_image (image, data);
|
||||
|
|
|
@ -19,37 +19,37 @@
|
|||
#define __SELECT_COMMANDS_H__
|
||||
|
||||
|
||||
void select_all_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_none_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_invert_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_float_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_feather_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_sharpen_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_shrink_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_grow_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_border_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_flood_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_save_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_all_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_none_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_invert_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_float_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_feather_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_sharpen_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_shrink_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_grow_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_border_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_flood_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_save_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void select_fill_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_fill_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_stroke_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_stroke_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void select_fill_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_fill_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_stroke_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void select_stroke_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __SELECT_COMMANDS_H__ */
|
||||
|
|
|
@ -80,8 +80,8 @@ static void templates_delete_data_free (TemplateDeleteData *delete_data);
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
templates_create_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
templates_create_image_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
|
@ -110,8 +110,8 @@ templates_create_image_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
templates_new_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
templates_new_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -142,8 +142,8 @@ templates_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
templates_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
templates_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -172,8 +172,8 @@ templates_duplicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
templates_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
templates_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
@ -213,8 +213,8 @@ templates_edit_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
templates_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
templates_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContainer *container;
|
||||
|
|
|
@ -19,16 +19,16 @@
|
|||
#define __TEMPLATES_COMMANDS_H__
|
||||
|
||||
|
||||
void templates_create_image_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void templates_new_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void templates_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void templates_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void templates_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void templates_create_image_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void templates_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void templates_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void templates_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void templates_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TEMPLATES_COMMANDS_H__ */
|
||||
|
|
|
@ -48,8 +48,8 @@ static void text_editor_load_response (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
text_editor_load_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_editor_load_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextEditor *editor = GIMP_TEXT_EDITOR (data);
|
||||
|
||||
|
@ -92,8 +92,8 @@ text_editor_load_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_editor_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_editor_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextEditor *editor = GIMP_TEXT_EDITOR (data);
|
||||
GtkTextBuffer *buffer;
|
||||
|
@ -104,9 +104,9 @@ text_editor_clear_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_editor_direction_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
text_editor_direction_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextEditor *editor = GIMP_TEXT_EDITOR (data);
|
||||
gint value;
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
#define __TEXT_EDITOR_COMMANDS_H__
|
||||
|
||||
|
||||
void text_editor_load_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_editor_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_editor_direction_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void text_editor_load_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_editor_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_editor_direction_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TEXT_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -55,8 +55,8 @@ static void text_tool_load_dialog_response (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
text_tool_cut_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_cut_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
|
||||
|
@ -64,8 +64,8 @@ text_tool_cut_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
|
||||
|
@ -73,8 +73,8 @@ text_tool_copy_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_paste_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_paste_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
|
||||
|
@ -82,8 +82,8 @@ text_tool_paste_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
|
||||
|
@ -91,8 +91,8 @@ text_tool_delete_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_load_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_load_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
GtkWidget *dialog;
|
||||
|
@ -145,8 +145,8 @@ text_tool_load_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
GtkTextBuffer *buffer = GTK_TEXT_BUFFER (text_tool->buffer);
|
||||
|
@ -158,8 +158,8 @@ text_tool_clear_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_text_to_path_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_text_to_path_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
|
||||
|
@ -167,8 +167,8 @@ text_tool_text_to_path_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_text_along_path_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
text_tool_text_along_path_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
|
||||
|
@ -176,9 +176,9 @@ text_tool_text_along_path_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
text_tool_direction_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
text_tool_direction_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpTextTool *text_tool = GIMP_TEXT_TOOL (data);
|
||||
gint value;
|
||||
|
|
|
@ -19,25 +19,25 @@
|
|||
#define __TEXT_TOOL_COMMANDS_H__
|
||||
|
||||
|
||||
void text_tool_cut_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_paste_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_load_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_clear_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_text_to_path_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_text_along_path_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void text_tool_direction_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void text_tool_cut_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_paste_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_load_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_clear_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_text_to_path_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_text_along_path_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void text_tool_direction_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TEXT_TOOL_COMMANDS_H__ */
|
||||
|
|
|
@ -62,8 +62,8 @@ static void tool_options_show_preset_editor (Gimp *gimp,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
tool_options_save_new_preset_cmd_callback (GtkAction *action,
|
||||
gpointer user_data)
|
||||
tool_options_save_new_preset_cmd_callback (GimpAction *action,
|
||||
gpointer user_data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (user_data);
|
||||
Gimp *gimp = gimp_editor_get_ui_manager (editor)->gimp;
|
||||
|
@ -77,9 +77,9 @@ tool_options_save_new_preset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_options_save_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tool_options_save_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
Gimp *gimp = gimp_editor_get_ui_manager (editor)->gimp;
|
||||
|
@ -100,9 +100,9 @@ tool_options_save_preset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_options_restore_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tool_options_restore_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
Gimp *gimp = gimp_editor_get_ui_manager (editor)->gimp;
|
||||
|
@ -123,9 +123,9 @@ tool_options_restore_preset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_options_edit_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tool_options_edit_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
Gimp *gimp = gimp_editor_get_ui_manager (editor)->gimp;
|
||||
|
@ -143,9 +143,9 @@ tool_options_edit_preset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_options_delete_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tool_options_delete_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
GimpContext *context = gimp_get_user_context (gimp_editor_get_ui_manager (editor)->gimp);
|
||||
|
@ -168,8 +168,8 @@ tool_options_delete_preset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_options_reset_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
tool_options_reset_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
GimpContext *context = gimp_get_user_context (gimp_editor_get_ui_manager (editor)->gimp);
|
||||
|
@ -179,8 +179,8 @@ tool_options_reset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_options_reset_all_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
tool_options_reset_all_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
GtkWidget *dialog;
|
||||
|
|
|
@ -19,26 +19,26 @@
|
|||
#define __TOOL_OPTIONS_COMMANDS_H__
|
||||
|
||||
|
||||
void tool_options_save_new_preset_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_options_save_new_preset_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void tool_options_save_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_restore_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_edit_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_delete_preset_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_save_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_restore_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_edit_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tool_options_delete_preset_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tool_options_reset_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_options_reset_all_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_options_reset_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void tool_options_reset_all_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TOOL_OPTIONS_COMMANDS_H__ */
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
tool_preset_editor_save_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
tool_preset_editor_save_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDataEditor *editor = GIMP_DATA_EDITOR (data);
|
||||
GimpContext *context = editor->context;
|
||||
|
@ -74,8 +74,8 @@ tool_preset_editor_save_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_preset_editor_restore_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
tool_preset_editor_restore_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDataEditor *editor = GIMP_DATA_EDITOR (data);
|
||||
GimpContext *context = editor->context;
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#define __TOOL_PRESET_EDITOR_COMMANDS_H__
|
||||
|
||||
|
||||
void tool_preset_editor_save_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_preset_editor_restore_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_preset_editor_save_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void tool_preset_editor_restore_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TOOL_PRESET_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
tool_presets_save_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
tool_presets_save_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -77,8 +77,8 @@ tool_presets_save_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tool_presets_restore_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
tool_presets_restore_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
#define __TOOL_PRESETS_COMMANDS_H__
|
||||
|
||||
|
||||
void tool_presets_save_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_presets_restore_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void tool_presets_save_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void tool_presets_restore_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TOOL_PRESETS_COMMANDS_H__ */
|
||||
|
|
|
@ -63,7 +63,7 @@ static void tools_activate_enum_action (const gchar *action_desc,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
tools_select_cmd_callback (GtkAction *action,
|
||||
tools_select_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data)
|
||||
{
|
||||
|
@ -108,9 +108,9 @@ tools_select_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_color_average_radius_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_color_average_radius_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -129,9 +129,9 @@ tools_color_average_radius_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_paintbrush_size_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_paintbrush_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -150,9 +150,9 @@ tools_paintbrush_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_paintbrush_angle_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_paintbrush_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -171,9 +171,9 @@ tools_paintbrush_angle_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_paintbrush_aspect_ratio_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_paintbrush_aspect_ratio_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -192,9 +192,9 @@ tools_paintbrush_aspect_ratio_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_paintbrush_spacing_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_paintbrush_spacing_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -213,9 +213,9 @@ tools_paintbrush_spacing_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_paintbrush_hardness_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_paintbrush_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -234,9 +234,9 @@ tools_paintbrush_hardness_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_paintbrush_force_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_paintbrush_force_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -255,9 +255,9 @@ tools_paintbrush_force_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_ink_blob_size_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_ink_blob_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -276,9 +276,9 @@ tools_ink_blob_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_ink_blob_aspect_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_ink_blob_aspect_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -297,9 +297,9 @@ tools_ink_blob_aspect_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_ink_blob_angle_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_ink_blob_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -321,9 +321,9 @@ tools_ink_blob_angle_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_airbrush_rate_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_airbrush_rate_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -342,9 +342,9 @@ tools_airbrush_rate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_airbrush_flow_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_airbrush_flow_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -363,9 +363,9 @@ tools_airbrush_flow_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_mybrush_radius_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_mybrush_radius_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -384,9 +384,9 @@ tools_mybrush_radius_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_mybrush_hardness_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_mybrush_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -405,9 +405,9 @@ tools_mybrush_hardness_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_fg_select_brush_size_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_fg_select_brush_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -426,9 +426,9 @@ tools_fg_select_brush_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_transform_preview_opacity_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_transform_preview_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -447,9 +447,9 @@ tools_transform_preview_opacity_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_warp_effect_size_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_warp_effect_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -468,9 +468,9 @@ tools_warp_effect_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_warp_effect_hardness_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_warp_effect_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpToolInfo *tool_info;
|
||||
|
@ -489,9 +489,9 @@ tools_warp_effect_hardness_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_opacity_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -511,9 +511,9 @@ tools_opacity_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_size_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -533,9 +533,9 @@ tools_size_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_aspect_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_aspect_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -555,9 +555,9 @@ tools_aspect_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_angle_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -577,9 +577,9 @@ tools_angle_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_spacing_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_spacing_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -599,9 +599,9 @@ tools_spacing_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_hardness_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -621,9 +621,9 @@ tools_hardness_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_force_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_force_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -643,9 +643,9 @@ tools_force_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_object_1_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_object_1_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
@ -665,9 +665,9 @@ tools_object_1_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
tools_object_2_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
tools_object_2_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpContext *context;
|
||||
GimpTool *tool;
|
||||
|
|
|
@ -19,98 +19,98 @@
|
|||
#define __TOOLS_COMMANDS_H__
|
||||
|
||||
|
||||
void tools_select_cmd_callback (GtkAction *action,
|
||||
void tools_select_cmd_callback (GimpAction *action,
|
||||
const gchar *value,
|
||||
gpointer data);
|
||||
|
||||
void tools_color_average_radius_cmd_callback (GtkAction *action,
|
||||
void tools_color_average_radius_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_paintbrush_size_cmd_callback (GtkAction *action,
|
||||
void tools_paintbrush_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_paintbrush_angle_cmd_callback (GtkAction *action,
|
||||
void tools_paintbrush_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_paintbrush_aspect_ratio_cmd_callback (GtkAction *action,
|
||||
void tools_paintbrush_aspect_ratio_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_paintbrush_spacing_cmd_callback (GtkAction *action,
|
||||
void tools_paintbrush_spacing_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_paintbrush_hardness_cmd_callback (GtkAction *action,
|
||||
void tools_paintbrush_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_paintbrush_force_cmd_callback (GtkAction *action,
|
||||
void tools_paintbrush_force_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_ink_blob_size_cmd_callback (GtkAction *action,
|
||||
void tools_ink_blob_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_ink_blob_aspect_cmd_callback (GtkAction *action,
|
||||
void tools_ink_blob_aspect_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_ink_blob_angle_cmd_callback (GtkAction *action,
|
||||
void tools_ink_blob_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_airbrush_rate_cmd_callback (GtkAction *action,
|
||||
void tools_airbrush_rate_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_airbrush_flow_cmd_callback (GtkAction *action,
|
||||
void tools_airbrush_flow_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_mybrush_radius_cmd_callback (GtkAction *action,
|
||||
void tools_mybrush_radius_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_mybrush_hardness_cmd_callback (GtkAction *action,
|
||||
void tools_mybrush_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_fg_select_brush_size_cmd_callback (GtkAction *action,
|
||||
void tools_fg_select_brush_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_transform_preview_opacity_cmd_callback (GtkAction *action,
|
||||
void tools_transform_preview_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_warp_effect_size_cmd_callback (GtkAction *action,
|
||||
void tools_warp_effect_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_warp_effect_hardness_cmd_callback (GtkAction *action,
|
||||
void tools_warp_effect_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_opacity_cmd_callback (GtkAction *action,
|
||||
void tools_opacity_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_size_cmd_callback (GtkAction *action,
|
||||
void tools_size_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_aspect_cmd_callback (GtkAction *action,
|
||||
void tools_aspect_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_angle_cmd_callback (GtkAction *action,
|
||||
void tools_angle_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_spacing_cmd_callback (GtkAction *action,
|
||||
void tools_spacing_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_hardness_cmd_callback (GtkAction *action,
|
||||
void tools_hardness_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_force_cmd_callback (GtkAction *action,
|
||||
void tools_force_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void tools_object_1_cmd_callback (GtkAction *action,
|
||||
void tools_object_1_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void tools_object_2_cmd_callback (GtkAction *action,
|
||||
void tools_object_2_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
|
|
|
@ -111,8 +111,8 @@ static void vectors_export_callback (GtkWidget *dialog,
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
vectors_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -138,8 +138,8 @@ vectors_edit_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_edit_attributes_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_edit_attributes_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -180,8 +180,8 @@ vectors_edit_attributes_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_new_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_new_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -221,8 +221,8 @@ vectors_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_new_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_new_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -238,8 +238,8 @@ vectors_new_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_raise_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_raise_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -250,8 +250,8 @@ vectors_raise_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_raise_to_top_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_raise_to_top_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -262,8 +262,8 @@ vectors_raise_to_top_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_lower_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_lower_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -274,8 +274,8 @@ vectors_lower_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_lower_to_bottom_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_lower_to_bottom_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -286,8 +286,8 @@ vectors_lower_to_bottom_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -307,8 +307,8 @@ vectors_duplicate_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -319,8 +319,8 @@ vectors_delete_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_merge_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_merge_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -342,9 +342,9 @@ vectors_merge_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
vectors_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -357,9 +357,9 @@ vectors_to_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_selection_to_vectors_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
vectors_selection_to_vectors_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -412,8 +412,8 @@ vectors_selection_to_vectors_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_fill_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_fill_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -429,8 +429,8 @@ vectors_fill_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_fill_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_fill_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -442,8 +442,8 @@ vectors_fill_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_stroke_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_stroke_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -459,8 +459,8 @@ vectors_stroke_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_stroke_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_stroke_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -472,8 +472,8 @@ vectors_stroke_last_vals_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -490,8 +490,8 @@ vectors_copy_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_paste_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_paste_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -525,8 +525,8 @@ vectors_paste_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_export_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_export_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -564,8 +564,8 @@ vectors_export_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_import_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_import_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GtkWidget *widget;
|
||||
|
@ -600,8 +600,8 @@ vectors_import_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -611,8 +611,8 @@ vectors_visible_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -622,8 +622,8 @@ vectors_linked_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -633,8 +633,8 @@ vectors_lock_content_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
vectors_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -644,9 +644,9 @@ vectors_lock_position_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_color_tag_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
vectors_color_tag_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
@ -829,9 +829,9 @@ vectors_export_callback (GtkWidget *dialog,
|
|||
}
|
||||
|
||||
void
|
||||
vectors_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
vectors_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpVectors *vectors;
|
||||
|
|
|
@ -19,70 +19,70 @@
|
|||
#define __VECTORS_COMMANDS_H__
|
||||
|
||||
|
||||
void vectors_edit_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_edit_attributes_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_new_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_new_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_edit_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_edit_attributes_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_new_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void vectors_raise_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_raise_to_top_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_lower_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_lower_to_bottom_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_raise_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_raise_to_top_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_lower_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_lower_to_bottom_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void vectors_duplicate_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_delete_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_merge_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_to_selection_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void vectors_selection_to_vectors_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void vectors_duplicate_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_delete_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_merge_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_to_selection_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void vectors_selection_to_vectors_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void vectors_fill_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_fill_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_stroke_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_stroke_last_vals_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_fill_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_fill_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_stroke_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_stroke_last_vals_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void vectors_copy_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_paste_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_export_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_import_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_copy_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_paste_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_export_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_import_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void vectors_visible_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_linked_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_lock_content_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_lock_position_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void vectors_visible_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_linked_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_lock_content_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void vectors_lock_position_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void vectors_color_tag_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void vectors_color_tag_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void vectors_select_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void vectors_select_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
#endif /* __VECTORS_COMMANDS_H__ */
|
||||
|
|
|
@ -94,8 +94,8 @@ static void view_padding_color_dialog_update (GimpColorDialog *dialog
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
view_new_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_new_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -110,8 +110,8 @@ view_new_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_close_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_close_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -127,8 +127,8 @@ view_close_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_scroll_center_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_scroll_center_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
return_if_no_display (display, data);
|
||||
|
@ -138,8 +138,8 @@ view_scroll_center_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_fit_in_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_zoom_fit_in_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
return_if_no_display (display, data);
|
||||
|
@ -148,8 +148,8 @@ view_zoom_fit_in_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_fill_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_zoom_fill_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
return_if_no_display (display, data);
|
||||
|
@ -158,8 +158,8 @@ view_zoom_fill_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_zoom_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImage *image;
|
||||
|
@ -177,8 +177,8 @@ view_zoom_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_revert_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_zoom_revert_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
return_if_no_display (display, data);
|
||||
|
@ -187,9 +187,9 @@ view_zoom_revert_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
view_zoom_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
return_if_no_shell (shell, data);
|
||||
|
@ -262,9 +262,9 @@ view_zoom_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_explicit_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
view_zoom_explicit_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gint value;
|
||||
|
@ -283,8 +283,8 @@ view_zoom_explicit_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_zoom_other_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_zoom_other_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
return_if_no_shell (shell, data);
|
||||
|
@ -300,8 +300,8 @@ view_zoom_other_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_dot_for_dot_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_dot_for_dot_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -329,8 +329,8 @@ view_dot_for_dot_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_flip_horizontally_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_flip_horizontally_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -348,8 +348,8 @@ view_flip_horizontally_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_flip_vertically_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_flip_vertically_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -367,9 +367,9 @@ view_flip_vertically_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_rotate_absolute_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
view_rotate_absolute_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -391,9 +391,9 @@ view_rotate_absolute_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_rotate_relative_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
view_rotate_relative_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -412,8 +412,8 @@ view_rotate_relative_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_rotate_other_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_rotate_other_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -425,9 +425,9 @@ view_rotate_other_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_scroll_horizontal_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
view_scroll_horizontal_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gdouble offset;
|
||||
|
@ -449,9 +449,9 @@ view_scroll_horizontal_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_scroll_vertical_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
view_scroll_vertical_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gdouble offset;
|
||||
|
@ -473,8 +473,8 @@ view_scroll_vertical_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_navigation_window_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_navigation_window_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -489,8 +489,8 @@ view_navigation_window_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_display_filters_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_display_filters_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GtkWidget *dialog;
|
||||
|
@ -511,8 +511,8 @@ view_display_filters_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_color_management_reset_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_color_management_reset_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *global_config;
|
||||
|
@ -529,8 +529,8 @@ view_color_management_reset_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_color_management_enable_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_color_management_enable_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -564,8 +564,8 @@ view_color_management_enable_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_color_management_softproof_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_color_management_softproof_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -599,9 +599,9 @@ view_color_management_softproof_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_display_intent_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
view_display_intent_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -622,8 +622,8 @@ view_display_intent_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_display_bpc_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_display_bpc_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -644,8 +644,8 @@ view_display_bpc_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_softproof_profile_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_softproof_profile_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GimpDisplayShell *shell;
|
||||
|
@ -685,9 +685,9 @@ view_softproof_profile_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_softproof_intent_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
view_softproof_intent_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -708,8 +708,8 @@ view_softproof_intent_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_softproof_bpc_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_softproof_bpc_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -730,8 +730,8 @@ view_softproof_bpc_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_softproof_gamut_check_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_softproof_gamut_check_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
GimpColorConfig *color_config;
|
||||
|
@ -752,8 +752,8 @@ view_softproof_gamut_check_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -768,8 +768,8 @@ view_toggle_selection_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_layer_boundary_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_layer_boundary_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -784,8 +784,8 @@ view_toggle_layer_boundary_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_menubar_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_menubar_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -800,8 +800,8 @@ view_toggle_menubar_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_rulers_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_rulers_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -816,8 +816,8 @@ view_toggle_rulers_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_scrollbars_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_scrollbars_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -832,8 +832,8 @@ view_toggle_scrollbars_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_statusbar_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_statusbar_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -848,8 +848,8 @@ view_toggle_statusbar_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_guides_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_guides_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -864,8 +864,8 @@ view_toggle_guides_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_grid_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_grid_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -880,8 +880,8 @@ view_toggle_grid_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_toggle_sample_points_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_toggle_sample_points_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -896,8 +896,8 @@ view_toggle_sample_points_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_snap_to_guides_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_snap_to_guides_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -912,8 +912,8 @@ view_snap_to_guides_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_snap_to_grid_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_snap_to_grid_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -928,8 +928,8 @@ view_snap_to_grid_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_snap_to_canvas_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_snap_to_canvas_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -944,8 +944,8 @@ view_snap_to_canvas_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_snap_to_vectors_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_snap_to_vectors_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
gboolean active;
|
||||
|
@ -960,9 +960,9 @@ view_snap_to_vectors_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_padding_color_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
view_padding_color_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpImageWindow *window;
|
||||
|
@ -1064,8 +1064,8 @@ view_padding_color_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_shrink_wrap_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_shrink_wrap_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell;
|
||||
return_if_no_shell (shell, data);
|
||||
|
@ -1074,8 +1074,8 @@ view_shrink_wrap_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
view_fullscreen_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
view_fullscreen_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
GimpDisplayShell *shell;
|
||||
|
|
|
@ -19,116 +19,116 @@
|
|||
#define __VIEW_COMMANDS_H__
|
||||
|
||||
|
||||
void view_new_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_close_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_new_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_close_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_scroll_center_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_scroll_center_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_zoom_fit_in_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_fill_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_revert_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_zoom_explicit_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void view_zoom_other_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_dot_for_dot_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_fit_in_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_fill_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_revert_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_zoom_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_zoom_explicit_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void view_zoom_other_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_dot_for_dot_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_scroll_horizontal_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_scroll_vertical_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_scroll_horizontal_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_scroll_vertical_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void view_flip_horizontally_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_flip_vertically_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_flip_horizontally_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_flip_vertically_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_rotate_absolute_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_rotate_relative_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_rotate_other_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_rotate_absolute_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_rotate_relative_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_rotate_other_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_navigation_window_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_display_filters_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_navigation_window_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_display_filters_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_color_management_reset_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_color_management_enable_cmd_callback(GtkAction *action,
|
||||
gpointer data);
|
||||
void view_color_management_reset_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_color_management_enable_cmd_callback(GimpAction *action,
|
||||
gpointer data);
|
||||
void view_color_management_softproof_cmd_callback
|
||||
(GtkAction *action,
|
||||
gpointer data);
|
||||
void view_display_intent_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void view_display_bpc_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_softproof_profile_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_softproof_intent_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void view_softproof_bpc_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_softproof_gamut_check_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
(GimpAction *action,
|
||||
gpointer data);
|
||||
void view_display_intent_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void view_display_bpc_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_softproof_profile_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_softproof_intent_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
void view_softproof_bpc_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_softproof_gamut_check_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_toggle_selection_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_layer_boundary_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_menubar_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_rulers_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_scrollbars_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_statusbar_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_guides_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_grid_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_sample_points_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_selection_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_layer_boundary_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_menubar_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_rulers_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_scrollbars_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_statusbar_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_guides_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_grid_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_toggle_sample_points_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void view_snap_to_guides_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_snap_to_grid_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_snap_to_canvas_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_snap_to_vectors_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_padding_color_cmd_callback (GtkAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
void view_snap_to_guides_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_snap_to_grid_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_snap_to_canvas_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_snap_to_vectors_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_padding_color_cmd_callback (GimpAction *action,
|
||||
gint value,
|
||||
gpointer data);
|
||||
|
||||
void view_shrink_wrap_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_fullscreen_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void view_shrink_wrap_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void view_fullscreen_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __VIEW_COMMANDS_H__ */
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
/* public functions */
|
||||
|
||||
void
|
||||
window_close_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
window_close_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
return_if_no_widget (widget, data);
|
||||
|
@ -60,8 +60,8 @@ window_close_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
window_open_display_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
window_open_display_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GtkWidget *dialog;
|
||||
|
@ -132,9 +132,9 @@ window_open_display_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
window_move_to_screen_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
window_move_to_screen_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GdkScreen *screen;
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
#define __WINDOW_COMMANDS_H__
|
||||
|
||||
|
||||
void window_close_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void window_open_display_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void window_move_to_screen_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void window_close_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void window_open_display_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void window_move_to_screen_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __WINDOW_COMMANDS_H__ */
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
|
||||
|
||||
void
|
||||
windows_hide_docks_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_hide_docks_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
gboolean active;
|
||||
|
@ -68,8 +68,24 @@ windows_hide_docks_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
windows_show_tabs_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_use_single_window_mode_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
gboolean active;
|
||||
return_if_no_gimp (gimp, data);
|
||||
|
||||
active = gimp_toggle_action_get_active (GIMP_TOGGLE_ACTION (action));
|
||||
|
||||
if (active != GIMP_GUI_CONFIG (gimp->config)->single_window_mode)
|
||||
g_object_set (gimp->config,
|
||||
"single-window-mode", active,
|
||||
NULL);
|
||||
}
|
||||
|
||||
void
|
||||
windows_show_tabs_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
gboolean active;
|
||||
|
@ -85,9 +101,9 @@ windows_show_tabs_cmd_callback (GtkAction *action,
|
|||
|
||||
|
||||
void
|
||||
windows_set_tabs_position_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data)
|
||||
windows_set_tabs_position_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
GimpPosition value;
|
||||
|
@ -102,24 +118,8 @@ windows_set_tabs_position_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
windows_use_single_window_mode_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
gboolean active;
|
||||
return_if_no_gimp (gimp, data);
|
||||
|
||||
active = gimp_toggle_action_get_active (GIMP_TOGGLE_ACTION (action));
|
||||
|
||||
if (active != GIMP_GUI_CONFIG (gimp->config)->single_window_mode)
|
||||
g_object_set (gimp->config,
|
||||
"single-window-mode", active,
|
||||
NULL);
|
||||
}
|
||||
|
||||
void
|
||||
windows_show_display_next_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_show_display_next_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
Gimp *gimp;
|
||||
|
@ -140,8 +140,8 @@ windows_show_display_next_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
windows_show_display_previous_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_show_display_previous_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display;
|
||||
Gimp *gimp;
|
||||
|
@ -162,8 +162,8 @@ windows_show_display_previous_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
windows_show_display_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_show_display_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *display = g_object_get_data (G_OBJECT (action), "display");
|
||||
|
||||
|
@ -171,8 +171,8 @@ windows_show_display_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
windows_show_dock_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_show_dock_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWindow *dock_window = g_object_get_data (G_OBJECT (action), "dock-window");
|
||||
|
||||
|
@ -180,8 +180,8 @@ windows_show_dock_cmd_callback (GtkAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
windows_open_recent_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
windows_open_recent_cmd_callback (GimpAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GimpSessionInfo *info;
|
||||
GimpDialogFactoryEntry *entry;
|
||||
|
|
|
@ -19,28 +19,27 @@
|
|||
#define __WINDOWS_COMMANDS_H__
|
||||
|
||||
|
||||
void windows_hide_docks_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_hide_docks_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void windows_use_single_window_mode_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
void windows_show_tabs_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_show_tabs_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void windows_set_tabs_position_cmd_callback (GimpAction *action,
|
||||
GimpAction *current,
|
||||
gpointer data);
|
||||
|
||||
void windows_set_tabs_position_cmd_callback (GtkAction *action,
|
||||
GtkAction *current,
|
||||
gpointer data);
|
||||
void windows_use_single_window_mode_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
|
||||
void windows_show_display_next_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_show_display_previous_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_show_display_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_show_dock_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_open_recent_cmd_callback (GtkAction *action,
|
||||
gpointer data);
|
||||
void windows_show_display_next_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void windows_show_display_previous_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void windows_show_display_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void windows_show_dock_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
void windows_open_recent_cmd_callback (GimpAction *action,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __WINDOWS_COMMANDS_H__ */
|
||||
|
|
Loading…
Reference in New Issue