void tools_ink_blob_angle_cmd_callback (GtkAction *action, gint value, gpointer data) { GimpContext *context; GimpToolInfo *tool_info; return_if_no_context (context, data); tool_info = gimp_context_get_tool (context); if (tool_info && GIMP_IS_INK_OPTIONS (tool_info->tool_options)) { action_select_property ((GimpActionSelectType) value, G_OBJECT (tool_info->tool_options), "blob-angle", 1.0, 1.0, 15.0, TRUE); } }
void tools_ink_blob_size_cmd_callback (GtkAction *action, gint value, gpointer data) { GimpContext *context; GimpToolInfo *tool_info; return_if_no_context (context, data); tool_info = gimp_context_get_tool (context); if (tool_info && GIMP_IS_INK_OPTIONS (tool_info->tool_options)) { action_select_property ((GimpActionSelectType) value, action_data_get_display (data), G_OBJECT (tool_info->tool_options), "size", 1.0, 1.0, 10.0, 0.1, FALSE); } }