"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/tools/gimpguidetool.c" between
gimp-2.10.10.tar.bz2 and gimp-2.10.12.tar.bz2

About: GIMP - The GNU Image Manipulation Program.

gimpguidetool.c  (gimp-2.10.10.tar.bz2):gimpguidetool.c  (gimp-2.10.12.tar.bz2)
skipping to change at line 31 skipping to change at line 31
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h" #include "libgimpmath/gimpmath.h"
#include "tools-types.h" #include "tools-types.h"
#include "core/gimp.h" #include "core/gimp.h"
#include "core/gimpguide.h" #include "core/gimpguide.h"
#include "core/gimpimage.h" #include "core/gimpimage.h"
#include "core/gimpimage-guides.h" #include "core/gimpimage-guides.h"
#include "core/gimpimage-undo.h"
#include "display/gimpdisplay.h" #include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h" #include "display/gimpdisplayshell.h"
#include "display/gimpdisplayshell-selection.h" #include "display/gimpdisplayshell-selection.h"
#include "display/gimpdisplayshell-transform.h" #include "display/gimpdisplayshell-transform.h"
#include "gimpguidetool.h" #include "gimpguidetool.h"
#include "gimptoolcontrol.h" #include "gimptoolcontrol.h"
#include "tool_manager.h" #include "tool_manager.h"
#include "gimp-intl.h" #include "gimp-intl.h"
#define SWAP_ORIENT(orient) ((orient) == GIMP_ORIENTATION_HORIZONTAL ? \ #define SWAP_ORIENT(orient) ((orient) == GIMP_ORIENTATION_HORIZONTAL ? \
GIMP_ORIENTATION_VERTICAL : \ GIMP_ORIENTATION_VERTICAL : \
GIMP_ORIENTATION_HORIZONTAL) GIMP_ORIENTATION_HORIZONTAL)
/* local function prototypes */ /* local function prototypes */
static void gimp_guide_tool_finalize (GObject *object);
static void gimp_guide_tool_button_release (GimpTool *tool, static void gimp_guide_tool_button_release (GimpTool *tool,
const GimpCoords *coords, const GimpCoords *coords,
guint32 time, guint32 time,
GdkModifierType state, GdkModifierType state,
GimpButtonReleaseType release_typ e, GimpButtonReleaseType release_typ e,
GimpDisplay *display); GimpDisplay *display);
static void gimp_guide_tool_motion (GimpTool *tool, static void gimp_guide_tool_motion (GimpTool *tool,
const GimpCoords *coords, const GimpCoords *coords,
guint32 time, guint32 time,
GdkModifierType state, GdkModifierType state,
GimpDisplay *display); GimpDisplay *display);
static void gimp_guide_tool_draw (GimpDrawTool *draw_tool); static void gimp_guide_tool_draw (GimpDrawTool *draw_tool);
static void gimp_guide_tool_start (GimpTool *parent_tool , static void gimp_guide_tool_start (GimpTool *parent_tool ,
GimpDisplay *display, GimpDisplay *display,
GimpGuide *guide, GList *guides,
GimpOrientationType orientation ); GimpOrientationType orientation );
static void gimp_guide_tool_push_status (GimpGuideTool *guide_tool,
GimpDisplay *display,
gboolean remove_guid
es);
G_DEFINE_TYPE (GimpGuideTool, gimp_guide_tool, GIMP_TYPE_DRAW_TOOL) G_DEFINE_TYPE (GimpGuideTool, gimp_guide_tool, GIMP_TYPE_DRAW_TOOL)
#define parent_class gimp_guide_tool_parent_class #define parent_class gimp_guide_tool_parent_class
static void static void
gimp_guide_tool_class_init (GimpGuideToolClass *klass) gimp_guide_tool_class_init (GimpGuideToolClass *klass)
{ {
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GimpToolClass *tool_class = GIMP_TOOL_CLASS (klass); GimpToolClass *tool_class = GIMP_TOOL_CLASS (klass);
GimpDrawToolClass *draw_tool_class = GIMP_DRAW_TOOL_CLASS (klass); GimpDrawToolClass *draw_tool_class = GIMP_DRAW_TOOL_CLASS (klass);
object_class->finalize = gimp_guide_tool_finalize;
tool_class->button_release = gimp_guide_tool_button_release; tool_class->button_release = gimp_guide_tool_button_release;
tool_class->motion = gimp_guide_tool_motion; tool_class->motion = gimp_guide_tool_motion;
draw_tool_class->draw = gimp_guide_tool_draw; draw_tool_class->draw = gimp_guide_tool_draw;
} }
static void static void
gimp_guide_tool_init (GimpGuideTool *guide_tool) gimp_guide_tool_init (GimpGuideTool *guide_tool)
{ {
GimpTool *tool = GIMP_TOOL (guide_tool); GimpTool *tool = GIMP_TOOL (guide_tool);
gimp_tool_control_set_snap_to (tool->control, FALSE); gimp_tool_control_set_snap_to (tool->control, FALSE);
gimp_tool_control_set_handle_empty_image (tool->control, TRUE); gimp_tool_control_set_handle_empty_image (tool->control, TRUE);
gimp_tool_control_set_tool_cursor (tool->control, gimp_tool_control_set_tool_cursor (tool->control,
GIMP_TOOL_CURSOR_MOVE); GIMP_TOOL_CURSOR_MOVE);
gimp_tool_control_set_scroll_lock (tool->control, TRUE); gimp_tool_control_set_scroll_lock (tool->control, TRUE);
gimp_tool_control_set_precision (tool->control, gimp_tool_control_set_precision (tool->control,
GIMP_CURSOR_PRECISION_PIXEL_BORDER); GIMP_CURSOR_PRECISION_PIXEL_BORDER);
guide_tool->guide = NULL; guide_tool->guides = NULL;
guide_tool->guide_position = GIMP_GUIDE_POSITION_UNDEFINED; guide_tool->n_guides = 0;
guide_tool->guide_orientation = GIMP_ORIENTATION_UNKNOWN; }
static void
gimp_guide_tool_finalize (GObject *object)
{
GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (object);
gint i;
for (i = 0; i < guide_tool->n_guides; i++)
g_clear_object (&guide_tool->guides[i].guide);
g_free (guide_tool->guides);
G_OBJECT_CLASS (parent_class)->finalize (object);
} }
static void static void
gimp_guide_tool_button_release (GimpTool *tool, gimp_guide_tool_button_release (GimpTool *tool,
const GimpCoords *coords, const GimpCoords *coords,
guint32 time, guint32 time,
GdkModifierType state, GdkModifierType state,
GimpButtonReleaseType release_type, GimpButtonReleaseType release_type,
GimpDisplay *display) GimpDisplay *display)
{ {
GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (tool); GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (tool);
GimpDisplayShell *shell = gimp_display_get_shell (display); GimpDisplayShell *shell = gimp_display_get_shell (display);
GimpImage *image = gimp_display_get_image (display); GimpImage *image = gimp_display_get_image (display);
gint i;
gimp_tool_pop_status (tool, display); gimp_tool_pop_status (tool, display);
gimp_tool_control_halt (tool->control); gimp_tool_control_halt (tool->control);
gimp_draw_tool_stop (GIMP_DRAW_TOOL (tool)); gimp_draw_tool_stop (GIMP_DRAW_TOOL (tool));
if (release_type == GIMP_BUTTON_RELEASE_CANCEL) if (release_type == GIMP_BUTTON_RELEASE_CANCEL)
{ {
/* custom guides are moved live */ for (i = 0; i < guide_tool->n_guides; i++)
if (guide_tool->guide_custom) {
gimp_image_move_guide (image, guide_tool->guide, GimpGuideToolGuide *guide = &guide_tool->guides[i];
guide_tool->guide_old_position, TRUE);
/* custom guides are moved live */
if (guide->custom)
{
gimp_image_move_guide (image, guide->guide, guide->old_position,
TRUE);
}
}
} }
else else
{ {
gint max_position; gint n_non_custom_guides = 0;
gboolean remove_guides = FALSE;
if (guide_tool->guide_orientation == GIMP_ORIENTATION_HORIZONTAL) for (i = 0; i < guide_tool->n_guides; i++)
max_position = gimp_image_get_height (image);
else
max_position = gimp_image_get_width (image);
if (guide_tool->guide_position == GIMP_GUIDE_POSITION_UNDEFINED ||
guide_tool->guide_position < 0 ||
guide_tool->guide_position > max_position)
{ {
if (guide_tool->guide) GimpGuideToolGuide *guide = &guide_tool->guides[i];
gint max_position;
if (guide->orientation == GIMP_ORIENTATION_HORIZONTAL)
max_position = gimp_image_get_height (image);
else
max_position = gimp_image_get_width (image);
n_non_custom_guides += ! guide->custom;
if (guide->position == GIMP_GUIDE_POSITION_UNDEFINED ||
guide->position < 0 ||
guide->position > max_position)
{ {
gimp_image_remove_guide (image, guide_tool->guide, TRUE); remove_guides = TRUE;
guide_tool->guide = NULL;
} }
} }
else
if (n_non_custom_guides > 1)
{
gimp_image_undo_group_start (image, GIMP_UNDO_GROUP_GUIDE,
remove_guides ?
C_("undo-type", "Remove Guides") :
C_("undo-type", "Move Guides"));
}
for (i = 0; i < guide_tool->n_guides; i++)
{ {
if (guide_tool->guide) GimpGuideToolGuide *guide = &guide_tool->guides[i];
if (remove_guides)
{ {
/* custom guides are moved live */ /* removing a guide can cause other guides to be removed as well
if (! guide_tool->guide_custom) * (in particular, in case of symmetry guides). these guides
gimp_image_move_guide (image, guide_tool->guide, * will be kept alive, since we hold a reference on them, but we
guide_tool->guide_position, TRUE); * need to make sure that they're still part of the image.
*/
if (g_list_find (gimp_image_get_guides (image), guide->guide))
gimp_image_remove_guide (image, guide->guide, TRUE);
} }
else else
{ {
switch (guide_tool->guide_orientation) if (guide->guide)
{ {
case GIMP_ORIENTATION_HORIZONTAL: /* custom guides are moved live */
guide_tool->guide = if (! guide->custom)
gimp_image_add_hguide (image, {
guide_tool->guide_position, gimp_image_move_guide (image, guide->guide,
TRUE); guide->position, TRUE);
break; }
}
case GIMP_ORIENTATION_VERTICAL: else
guide_tool->guide = {
gimp_image_add_vguide (image, switch (guide->orientation)
guide_tool->guide_position, {
TRUE); case GIMP_ORIENTATION_HORIZONTAL:
break; gimp_image_add_hguide (image,
guide->position,
default: TRUE);
gimp_assert_not_reached (); break;
case GIMP_ORIENTATION_VERTICAL:
gimp_image_add_vguide (image,
guide->position,
TRUE);
break;
default:
gimp_assert_not_reached ();
}
} }
} }
} }
if (n_non_custom_guides > 1)
gimp_image_undo_group_end (image);
gimp_image_flush (image); gimp_image_flush (image);
} }
gimp_display_shell_selection_resume (shell); gimp_display_shell_selection_resume (shell);
guide_tool->guide_position = GIMP_GUIDE_POSITION_UNDEFINED;
guide_tool->guide_orientation = GIMP_ORIENTATION_UNKNOWN;
tool_manager_pop_tool (display->gimp); tool_manager_pop_tool (display->gimp);
g_object_unref (guide_tool); g_object_unref (guide_tool);
{ {
GimpTool *active_tool = tool_manager_get_active (display->gimp); GimpTool *active_tool = tool_manager_get_active (display->gimp);
if (GIMP_IS_DRAW_TOOL (active_tool)) if (GIMP_IS_DRAW_TOOL (active_tool))
gimp_draw_tool_pause (GIMP_DRAW_TOOL (active_tool)); gimp_draw_tool_pause (GIMP_DRAW_TOOL (active_tool));
tool_manager_oper_update_active (display->gimp, coords, state, tool_manager_oper_update_active (display->gimp, coords, state,
skipping to change at line 214 skipping to change at line 274
} }
static void static void
gimp_guide_tool_motion (GimpTool *tool, gimp_guide_tool_motion (GimpTool *tool,
const GimpCoords *coords, const GimpCoords *coords,
guint32 time, guint32 time,
GdkModifierType state, GdkModifierType state,
GimpDisplay *display) GimpDisplay *display)
{ {
GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (tool); GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (tool);
GimpDisplayShell *shell = gimp_display_get_shell (display); GimpDisplayShell *shell = gimp_display_get_shell (display);
GimpImage *image = gimp_display_get_image (display); GimpImage *image = gimp_display_get_image (display);
gboolean delete_guide = FALSE; gboolean remove_guides = FALSE;
gint max_position;
gint tx, ty; gint tx, ty;
gint i;
gimp_draw_tool_pause (GIMP_DRAW_TOOL (tool)); gimp_draw_tool_pause (GIMP_DRAW_TOOL (tool));
gimp_display_shell_transform_xy (shell, gimp_display_shell_transform_xy (shell,
coords->x, coords->y, coords->x, coords->y,
&tx, &ty); &tx, &ty);
if (guide_tool->guide_orientation == GIMP_ORIENTATION_HORIZONTAL) for (i = 0; i < guide_tool->n_guides; i++)
max_position = gimp_image_get_height (image);
else
max_position = gimp_image_get_width (image);
if (tx < 0 || tx >= shell->disp_width ||
ty < 0 || ty >= shell->disp_height)
{ {
guide_tool->guide_position = GIMP_GUIDE_POSITION_UNDEFINED; GimpGuideToolGuide *guide = &guide_tool->guides[i];
gint max_position;
delete_guide = TRUE; if (guide->orientation == GIMP_ORIENTATION_HORIZONTAL)
} max_position = gimp_image_get_height (image);
else
{
if (guide_tool->guide_orientation == GIMP_ORIENTATION_HORIZONTAL)
guide_tool->guide_position = RINT (coords->y);
else else
guide_tool->guide_position = RINT (coords->x); max_position = gimp_image_get_width (image);
if (tx < 0 || tx >= shell->disp_width ||
ty < 0 || ty >= shell->disp_height)
{
guide->position = GIMP_GUIDE_POSITION_UNDEFINED;
if (guide_tool->guide_position < 0 || remove_guides = TRUE;
guide_tool->guide_position > max_position) }
else
{ {
delete_guide = TRUE; if (guide->orientation == GIMP_ORIENTATION_HORIZONTAL)
guide->position = RINT (coords->y);
else
guide->position = RINT (coords->x);
if (guide->position < 0 || guide->position > max_position)
remove_guides = TRUE;
/* custom guides are moved live */
if (guide->custom)
{
gimp_image_move_guide (image, guide->guide,
CLAMP (guide->position, 0, max_position),
TRUE);
}
} }
} }
gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool)); gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
gimp_tool_pop_status (tool, display); gimp_tool_pop_status (tool, display);
/* custom guides are moved live */ gimp_guide_tool_push_status (guide_tool, display, remove_guides);
if (guide_tool->guide_custom &&
guide_tool->guide_position != GIMP_GUIDE_POSITION_UNDEFINED)
{
gimp_image_move_guide (image, guide_tool->guide,
CLAMP (guide_tool->guide_position,
0, max_position), TRUE);
}
if (delete_guide)
{
gimp_tool_push_status (tool, display,
guide_tool->guide ?
_("Remove Guide") : _("Cancel Guide"));
}
else if (guide_tool->guide)
{
gimp_tool_push_status_length (tool, display,
_("Move Guide: "),
SWAP_ORIENT (guide_tool->guide_orientation),
guide_tool->guide_position -
guide_tool->guide_old_position,
NULL);
}
else
{
gimp_tool_push_status_length (tool, display,
_("Add Guide: "),
SWAP_ORIENT (guide_tool->guide_orientation),
guide_tool->guide_position,
NULL);
}
} }
static void static void
gimp_guide_tool_draw (GimpDrawTool *draw_tool) gimp_guide_tool_draw (GimpDrawTool *draw_tool)
{ {
GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (draw_tool); GimpGuideTool *guide_tool = GIMP_GUIDE_TOOL (draw_tool);
gint i;
if (guide_tool->guide_position != GIMP_GUIDE_POSITION_UNDEFINED) for (i = 0; i < guide_tool->n_guides; i++)
{ {
/* custom guides are moved live */ GimpGuideToolGuide *guide = &guide_tool->guides[i];
if (! guide_tool->guide_custom)
gimp_draw_tool_add_guide (draw_tool, if (guide->position != GIMP_GUIDE_POSITION_UNDEFINED)
guide_tool->guide_orientation, {
guide_tool->guide_position, /* custom guides are moved live */
GIMP_GUIDE_STYLE_NONE); if (! guide->custom)
{
gimp_draw_tool_add_guide (draw_tool,
guide->orientation,
guide->position,
GIMP_GUIDE_STYLE_NONE);
}
}
} }
} }
static void static void
gimp_guide_tool_start (GimpTool *parent_tool, gimp_guide_tool_start (GimpTool *parent_tool,
GimpDisplay *display, GimpDisplay *display,
GimpGuide *guide, GList *guides,
GimpOrientationType orientation) GimpOrientationType orientation)
{ {
GimpGuideTool *guide_tool; GimpGuideTool *guide_tool;
GimpTool *tool; GimpTool *tool;
guide_tool = g_object_new (GIMP_TYPE_GUIDE_TOOL, guide_tool = g_object_new (GIMP_TYPE_GUIDE_TOOL,
"tool-info", parent_tool->tool_info, "tool-info", parent_tool->tool_info,
NULL); NULL);
tool = GIMP_TOOL (guide_tool); tool = GIMP_TOOL (guide_tool);
gimp_display_shell_selection_pause (gimp_display_get_shell (display)); gimp_display_shell_selection_pause (gimp_display_get_shell (display));
if (guide) if (guides)
{ {
guide_tool->guide = guide; gint i;
guide_tool->guide_old_position = gimp_guide_get_position (guide);
guide_tool->guide_position = gimp_guide_get_position (guide); guide_tool->n_guides = g_list_length (guides);
guide_tool->guide_orientation = gimp_guide_get_orientation (guide); guide_tool->guides = g_new (GimpGuideToolGuide, guide_tool->n_guides);
guide_tool->guide_custom = gimp_guide_is_custom (guide);
for (i = 0; i < guide_tool->n_guides; i++)
{
GimpGuide *guide = guides->data;
guide_tool->guides[i].guide = g_object_ref (guide);
guide_tool->guides[i].old_position = gimp_guide_get_position (guide);
guide_tool->guides[i].position = gimp_guide_get_position (guide);
guide_tool->guides[i].orientation = gimp_guide_get_orientation (guide
);
guide_tool->guides[i].custom = gimp_guide_is_custom (guide);
guides = g_list_next (guides);
}
} }
else else
{ {
guide_tool->guide = NULL; guide_tool->n_guides = 1;
guide_tool->guide_old_position = 0; guide_tool->guides = g_new (GimpGuideToolGuide, 1);
guide_tool->guide_position = GIMP_GUIDE_POSITION_UNDEFINED;
guide_tool->guide_orientation = orientation; guide_tool->guides[0].guide = NULL;
guide_tool->guide_custom = FALSE; guide_tool->guides[0].old_position = 0;
guide_tool->guides[0].position = GIMP_GUIDE_POSITION_UNDEFINED;
guide_tool->guides[0].orientation = orientation;
guide_tool->guides[0].custom = FALSE;
} }
gimp_tool_set_cursor (tool, display, gimp_tool_set_cursor (tool, display,
GIMP_CURSOR_MOUSE, GIMP_CURSOR_MOUSE,
GIMP_TOOL_CURSOR_HAND, GIMP_TOOL_CURSOR_HAND,
GIMP_CURSOR_MODIFIER_MOVE); GIMP_CURSOR_MODIFIER_MOVE);
tool_manager_push_tool (display->gimp, tool); tool_manager_push_tool (display->gimp, tool);
tool->display = display; tool->display = display;
gimp_tool_control_activate (tool->control); gimp_tool_control_activate (tool->control);
gimp_draw_tool_start (GIMP_DRAW_TOOL (guide_tool), display); gimp_draw_tool_start (GIMP_DRAW_TOOL (guide_tool), display);
if (guide_tool->guide) gimp_guide_tool_push_status (guide_tool, display, FALSE);
}
static void
gimp_guide_tool_push_status (GimpGuideTool *guide_tool,
GimpDisplay *display,
gboolean remove_guides)
{
GimpTool *tool = GIMP_TOOL (guide_tool);
if (remove_guides)
{ {
gimp_tool_push_status_length (tool, display, gimp_tool_push_status (tool, display,
_("Move Guide: "), guide_tool->n_guides > 1 ? _("Remove Guides") :
SWAP_ORIENT (guide_tool->guide_orientation), guide_tool->guides[0].guide ? _("Remove Guide") :
guide_tool->guide_position - _("Cancel Guide"));
guide_tool->guide_old_position,
NULL);
} }
else else
{ {
gimp_tool_push_status_length (tool, display, GimpGuideToolGuide *guides[2];
_("Add Guide: "), gint n_guides = 0;
SWAP_ORIENT (guide_tool->guide_orientation), gint i;
guide_tool->guide_position,
NULL); for (i = 0; i < guide_tool->n_guides; i++)
{
GimpGuideToolGuide *guide = &guide_tool->guides[i];
if (guide_tool->guides[i].guide)
{
if (n_guides == 0 || guide->orientation != guides[0]->orientation)
{
guides[n_guides++] = guide;
if (n_guides == 2)
break;
}
}
}
if (n_guides == 2 &&
guides[0]->orientation == GIMP_ORIENTATION_HORIZONTAL)
{
GimpGuideToolGuide *temp;
temp = guides[0];
guides[0] = guides[1];
guides[1] = temp;
}
if (n_guides == 1)
{
gimp_tool_push_status_length (tool, display,
_("Move Guide: "),
SWAP_ORIENT (guides[0]->orientation),
guides[0]->position -
guides[0]->old_position,
NULL);
}
else if (n_guides == 2)
{
gimp_tool_push_status_coords (tool, display,
GIMP_CURSOR_PRECISION_PIXEL_BORDER,
_("Move Guides: "),
guides[0]->position -
guides[0]->old_position,
", ",
guides[1]->position -
guides[1]->old_position,
NULL);
}
else
{
gimp_tool_push_status_length (tool, display,
_("Add Guide: "),
SWAP_ORIENT (guide_tool->guides[0].orien
tation),
guide_tool->guides[0].position,
NULL);
}
} }
} }
/* public functions */ /* public functions */
void void
gimp_guide_tool_start_new (GimpTool *parent_tool, gimp_guide_tool_start_new (GimpTool *parent_tool,
GimpDisplay *display, GimpDisplay *display,
GimpOrientationType orientation) GimpOrientationType orientation)
{ {
skipping to change at line 392 skipping to change at line 517
gimp_guide_tool_start (parent_tool, display, gimp_guide_tool_start (parent_tool, display,
NULL, orientation); NULL, orientation);
} }
void void
gimp_guide_tool_start_edit (GimpTool *parent_tool, gimp_guide_tool_start_edit (GimpTool *parent_tool,
GimpDisplay *display, GimpDisplay *display,
GimpGuide *guide) GimpGuide *guide)
{ {
GList *guides = NULL;
g_return_if_fail (GIMP_IS_TOOL (parent_tool)); g_return_if_fail (GIMP_IS_TOOL (parent_tool));
g_return_if_fail (GIMP_IS_DISPLAY (display)); g_return_if_fail (GIMP_IS_DISPLAY (display));
g_return_if_fail (GIMP_IS_GUIDE (guide)); g_return_if_fail (GIMP_IS_GUIDE (guide));
guides = g_list_append (guides, guide);
gimp_guide_tool_start (parent_tool, display,
guides, GIMP_ORIENTATION_UNKNOWN);
g_list_free (guides);
}
void
gimp_guide_tool_start_edit_many (GimpTool *parent_tool,
GimpDisplay *display,
GList *guides)
{
g_return_if_fail (GIMP_IS_TOOL (parent_tool));
g_return_if_fail (GIMP_IS_DISPLAY (display));
g_return_if_fail (guides != NULL);
gimp_guide_tool_start (parent_tool, display, gimp_guide_tool_start (parent_tool, display,
guide, GIMP_ORIENTATION_UNKNOWN); guides, GIMP_ORIENTATION_UNKNOWN);
} }
 End of changes. 42 change blocks. 
133 lines changed or deleted 280 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)