diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-02-15 22:58:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-02-15 22:58:40 (GMT) |
commit | 16242be5838a77690946cbb2f30b2e89f2df0b94 (patch) | |
tree | d3c2b2725f41f2a0d45ae7f32e2ab9cb1886b230 /src/analysis/block.c | |
parent | 5ed40f0afbd58fbfdf05be7b2a10ab8d0819759f (diff) |
Displayed tooltips for graph view edges.
Diffstat (limited to 'src/analysis/block.c')
-rw-r--r-- | src/analysis/block.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/analysis/block.c b/src/analysis/block.c index a7172af..85c8017 100644 --- a/src/analysis/block.c +++ b/src/analysis/block.c @@ -357,6 +357,32 @@ GBufferView *g_code_block_get_view(GCodeBlock *block, segcnt_list *highlighted) } +/****************************************************************************** +* * +* Paramètres : block = bloc de code à consulter. * +* * +* Description : Construit un ensemble d'indications pour bloc. * +* * +* Retour : Informations à présenter sous forme de bulle d'aide. * +* * +* Remarques : - * +* * +******************************************************************************/ + +char *g_code_block_build_tooltip(const GCodeBlock *block) +{ + char *result; /* Description à retourner */ + GCodeBlockClass *class; /* Classe des blocs de code */ + + class = G_CODE_BLOCK_GET_CLASS(block); + + result = class->build_tooltip(block); + + return result; + +} + + /* ---------------------------------------------------------------------------------- */ /* DEFINITION DE LIAISONS ENTRE BLOCS DE CODE */ |