summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/edge.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-03-04 20:52:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-03-04 20:52:50 (GMT)
commit27c21356d494824850005932f3dee5f38d7a8e82 (patch)
tree6d7381f9cde78d28b4664f73ef03d0adb5b7b288 /src/gtkext/graph/edge.h
parent72bebbd9dc7d59f69e23442b6c5b5526feb2a1a9 (diff)
Provided access to the graph layout from Python.
Diffstat (limited to 'src/gtkext/graph/edge.h')
-rw-r--r--src/gtkext/graph/edge.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gtkext/graph/edge.h b/src/gtkext/graph/edge.h
index ec33544..5342766 100644
--- a/src/gtkext/graph/edge.h
+++ b/src/gtkext/graph/edge.h
@@ -30,7 +30,7 @@
#include <gtk/gtk.h>
-#include "../../analysis/disass/block.h"
+#include "../../analysis/block.h"
@@ -88,6 +88,9 @@ GGraphEdge *_g_graph_edge_new(GCodeBlock *, GCodeBlock *, const GdkPoint **, siz
/* Fournit les deux blocs aux extrémités d'un lien. */
void g_graph_edge_get_boundaries(const GGraphEdge *, GCodeBlock **, GCodeBlock **);
+/* Fournit la couleur de rendu d'un lien graphique. */
+EdgeColor g_graph_edge_get_color(const GGraphEdge *);
+
/* Fournit les abscisses des points extrèmes de la ligne. */
void g_graph_edge_get_x_borders(const GGraphEdge *, gint *, gint *);
@@ -97,6 +100,9 @@ void g_graph_edge_resolve(GGraphEdge *);
/* Opère un décalage du lien dans une direction donnée. */
void g_graph_edge_offset(GGraphEdge *, gint, gint);
+/* Fournit l'ensemble des points constituant un lien graphique. */
+const GdkPoint *g_graph_edge_get_points(const GGraphEdge *, size_t *);
+
/* Opère un décalage du lien dans une direction donnée. */
bool g_graph_edge_detect_at(const GGraphEdge *, gint, gint);