Commit 238683e7 authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

app: add gimp_canvas_item_get_highlight()

parent 7b531682
......@@ -270,6 +270,18 @@ gimp_canvas_item_set_highlight (GimpCanvasItem *item,
NULL);
}
gboolean
gimp_canvas_item_get_highlight (GimpCanvasItem *item)
{
GimpCanvasItemPrivate *private;
g_return_val_if_fail (GIMP_IS_CANVAS_ITEM (item), FALSE);
private = GET_PRIVATE (item);
return private->highlight;
}
void
gimp_canvas_item_suspend_stroking (GimpCanvasItem *item)
{
......
......@@ -69,8 +69,10 @@ GdkRegion * gimp_canvas_item_get_extents (GimpCanvasItem *item,
void gimp_canvas_item_set_line_cap (GimpCanvasItem *item,
cairo_line_cap_t line_cap);
void gimp_canvas_item_set_highlight (GimpCanvasItem *item,
gboolean highlight);
gboolean gimp_canvas_item_get_highlight (GimpCanvasItem *item);
void gimp_canvas_item_suspend_stroking (GimpCanvasItem *item);
void gimp_canvas_item_resume_stroking (GimpCanvasItem *item);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment