diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-04-06 10:15:41 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-04-06 10:15:41 (GMT) |
commit | e108e192582aa1dbe020dfbc09bee5e6ab2cc534 (patch) | |
tree | ff037f19f3ab5ee2aabb8f1cd62d6c7f634179ad /src/gtkext/graph/nodes | |
parent | 40d624af29e752bb4255099ab3f1de64e3c96dd3 (diff) |
Said goodbye to Graphviz.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@505 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/nodes')
-rw-r--r-- | src/gtkext/graph/nodes/flow.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gtkext/graph/nodes/flow.c b/src/gtkext/graph/nodes/flow.c index 863d86c..d691da5 100644 --- a/src/gtkext/graph/nodes/flow.c +++ b/src/gtkext/graph/nodes/flow.c @@ -474,21 +474,6 @@ bool g_flow_node_start_with(const GFlowNode *node, GArchInstruction *instr) g_flow_block_get_boundary(node->block, &first, NULL); - /* - do - { - vmpa_t a1, a2; - - g_arch_instruction_get_location(instr, NULL, NULL, &a1); - g_arch_instruction_get_location(first, NULL, NULL, &a2); - - printf(" -- compare %p (0x%08lx) vs %p (0x%08lx)\n", - instr, a1, first, a2); - - } - while (0); - */ - return (first == instr); } @@ -617,10 +602,6 @@ void g_flow_node_link(GFlowNode *node, GGraphLayout *layout, GGraphNode *nodes) void g_flow_node_place(const GFlowNode *node, GtkGraphView *view) { - printf("[put] %p (%d ; %d) - (%d ; %d)\n", node, - G_GRAPH_NODE(node)->alloc.x, G_GRAPH_NODE(node)->alloc.y, - G_GRAPH_NODE(node)->alloc.width, G_GRAPH_NODE(node)->alloc.height); - gtk_graph_view_put(view, GTK_WIDGET(node->view), &G_GRAPH_NODE(node)->alloc); } @@ -951,7 +932,6 @@ GdkPoint g_flow_node_get_point_from_slot(const GFlowNode *node, bool entry, cons } - slots_width = (count - 1) * SPACE_BETWEEN_SLOT; slots_left = base->alloc.x + (base->alloc.width - slots_width) / 2; @@ -960,17 +940,6 @@ GdkPoint g_flow_node_get_point_from_slot(const GFlowNode *node, bool entry, cons result.x = slots_left + index * SPACE_BETWEEN_SLOT; - - -#if 0 - slots_width = (count - 1) * SPACE_BETWEEN_SLOT; - slots_left = base->alloc.x + (base->alloc.width - slots_width) / 2; - - index = (slot - slots)/* / sizeof(node_slot_t)*/; - /* BUG_ON(index >= count); */ - - result.x = slots_left + index * SPACE_BETWEEN_SLOT; -#endif return result; } |