summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/layout.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2013-05-05 13:18:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2013-05-05 13:18:46 (GMT)
commit114e769bc9c3dc48f0293f080d687451e32220e3 (patch)
tree3d79e9a4783adb52f6a14d00102ad6940c04acf6 /src/gtkext/graph/layout.h
parentcf97db0ea4d1ea983db38df85984034b49fa4f77 (diff)
Implemented first basic steps towards nice graph rendering.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@346 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/layout.h')
-rw-r--r--src/gtkext/graph/layout.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtkext/graph/layout.h b/src/gtkext/graph/layout.h
index 6295cac..8aade99 100644
--- a/src/gtkext/graph/layout.h
+++ b/src/gtkext/graph/layout.h
@@ -69,9 +69,15 @@ GGraphLayout *g_graph_layout_new(GInstrBlock *, GtkBufferView **, size_t);
/* Ajoute un lien entre deux noeuds au graphique. */
void g_graph_layout_add_edge(GGraphLayout *, GGraphEdge *);
+/* Met à jour les positions des différents noeuds. */
+void g_graph_layout_refresh(GGraphLayout *);
+
/* Dispose chaque noeud sur la surface de destination donnée. */
void g_graph_layout_place(GGraphLayout *, GtkGraphView *);
+/* Fournit la taille requise pour un plein rendu du graphique. */
+void g_graph_layout_size_request(const GGraphLayout *, GtkRequisition *);
+
/* Dessine les liens graphiques enregistrés dans le moteur. */
void g_graph_layout_draw(const GGraphLayout *, GdkDrawable *, GdkGC *);