diff options
Diffstat (limited to 'src/analysis/line.h')
-rw-r--r-- | src/analysis/line.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/analysis/line.h b/src/analysis/line.h index e06c53c..981cf90 100644 --- a/src/analysis/line.h +++ b/src/analysis/line.h @@ -34,6 +34,20 @@ +/* Support principal de lignes */ +typedef enum _LinesMainOwner +{ + LMO_BLOCK, /* Unique bloc de code */ + LMO_GRAPH, /* Graphique de blocs de code */ + + LMO_COUNT + +} LinesMainOwner; + + + + + /* Définitions des types de ligne */ typedef enum _RenderingLineType { @@ -114,7 +128,7 @@ bool g_rendering_line_has_destination(const GRenderingLine *); GRenderingLine *g_rendering_line_get_destination(const GRenderingLine *, InstructionLinkType *); /* Procède à l'initialisation des bases d'une représentation. */ -void g_rendering_line_draw(GRenderingLine *, GdkDrawable *, GdkGC *, gint, gint, gint, gint); +void g_rendering_line_draw(GRenderingLine *, GdkDrawable *, GdkGC *, gint, gint, gint, gint, LinesMainOwner); @@ -131,10 +145,10 @@ void g_rendering_line_insert_into_lines(GRenderingLine **, GRenderingLine *, boo GRenderingLine *g_rendering_line_get_next_iter(GRenderingLine *, const GRenderingLine *, const GRenderingLine *); /* Met à jour le nombre d'octets maximal par instruction. */ -void g_rendering_line_update_bin_len(GRenderingLine *, const GRenderingLine *); +void g_rendering_line_update_bin_len(GRenderingLine *, GRenderingLine *, LinesMainOwner); /* Fournit les dimensions de lignes de représentation. */ -void g_rendering_line_get_size(GRenderingLine *, const GRenderingLine *, int *, int *, int *); +void g_rendering_line_get_size(GRenderingLine *, const GRenderingLine *, LinesMainOwner, int *, int *, int *); /* Recherche une ligne d'après sa position à l'écran. */ GRenderingLine *g_rendering_line_find_by_y(GRenderingLine *, const GRenderingLine *, gdouble *); |