summaryrefslogtreecommitdiff
path: root/src/analysis/block-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-02-15 22:58:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-02-15 22:58:40 (GMT)
commit16242be5838a77690946cbb2f30b2e89f2df0b94 (patch)
treed3c2b2725f41f2a0d45ae7f32e2ab9cb1886b230 /src/analysis/block-int.h
parent5ed40f0afbd58fbfdf05be7b2a10ab8d0819759f (diff)
Displayed tooltips for graph view edges.
Diffstat (limited to 'src/analysis/block-int.h')
-rw-r--r--src/analysis/block-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/block-int.h b/src/analysis/block-int.h
index 6759e7b..9eb99d7 100644
--- a/src/analysis/block-int.h
+++ b/src/analysis/block-int.h
@@ -47,6 +47,9 @@ typedef block_link_t * (* block_get_links_fc) (const GCodeBlock *, const GBlockL
/* Fournit la représentation graphique d'un bloc de code. */
typedef GBufferView * (* block_build_view_fc) (const GCodeBlock *, segcnt_list *);
+/* Construit un ensemble d'indications pour bloc. */
+typedef char *(* block_build_tooltip_fc) (const GCodeBlock *);
+
/* Description d'un bloc de code (instance) */
struct _GCodeBlock
@@ -75,6 +78,7 @@ struct _GCodeBlockClass
block_get_links_fc get_src; /* Obtention des origines */
block_get_links_fc get_dest; /* Obtention des destinations */
block_build_view_fc build; /* Construction d'une vue */
+ block_build_tooltip_fc build_tooltip; /* Construction d'une bulle */
};