diff options
Diffstat (limited to 'src/gtkext/gtkbinview-int.h')
-rw-r--r-- | src/gtkext/gtkbinview-int.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gtkext/gtkbinview-int.h b/src/gtkext/gtkbinview-int.h index 33ba33c..fffbc9f 100644 --- a/src/gtkext/gtkbinview-int.h +++ b/src/gtkext/gtkbinview-int.h @@ -28,14 +28,28 @@ #include "gtkbinview.h" +#include <stdbool.h> #include <gtk/gtkfixed.h> +/* Définit les lignes à associer à la représentation. */ +typedef void (* set_rendering_lines_fc) (GtkBinview *, GRenderingLine *, GRenderingLine *); + +/* Indique la position d'affichage d'une adresse donnée. */ +typedef bool (* get_addr_coordinates_fc) (GtkBinView *, vmpa_t, gint *, gint *); + + struct _GtkBinview { GtkFixed parent; /* A laisser en premier */ + GRenderingLine *lines; /* Contenu à représenter */ + GRenderingLine *last; /* Dernière ligne associée */ + + set_rendering_lines_fc set_lines; /* Association des lignes */ + get_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */ + }; struct _GtkBinviewClass |