summaryrefslogtreecommitdiffstats
path: root/src/edge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edge.c')
-rw-r--r--src/edge.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/edge.c b/src/edge.c
index 89da897..d3c96cc 100644
--- a/src/edge.c
+++ b/src/edge.c
@@ -689,6 +689,18 @@ ganv_edge_unselect(GanvEdge* edge)
}
void
+ganv_edge_highlight(GanvEdge* edge)
+{
+ ganv_edge_set_highlighted(edge, TRUE);
+}
+
+void
+ganv_edge_unhighlight(GanvEdge* edge)
+{
+ ganv_edge_set_highlighted(edge, FALSE);
+}
+
+void
ganv_edge_set_highlighted(GanvEdge* edge, gboolean highlighted)
{
edge->impl->highlighted = highlighted;