summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkviewpanel-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkviewpanel-int.h')
-rw-r--r--src/gtkext/gtkviewpanel-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtkext/gtkviewpanel-int.h b/src/gtkext/gtkviewpanel-int.h
index 79f6f4c..446d182 100644
--- a/src/gtkext/gtkviewpanel-int.h
+++ b/src/gtkext/gtkviewpanel-int.h
@@ -36,6 +36,9 @@
/* Prend acte de l'association d'un binaire chargé. */
typedef void (* attach_binary_fc) (GtkViewPanel *, GOpenidaBinary *, bool *, bool *);
+/* Indique la position d'affichage d'une adresse donnée. */
+typedef bool (* get_addr_coordinates_fc) (const GtkViewPanel *, vmpa_t, gint *, gint *);
+
/* Réagit à un défilement quelconque. */
typedef void (* scroll_fc) (GtkViewPanel *);
@@ -54,6 +57,7 @@ struct _GtkViewPanel
GOpenidaBinary *binary; /* Binaire à visualiser */
attach_binary_fc attach; /* Association avec un binaire */
+ get_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */
scroll_fc scroll; /* Défilement du contenu */
bool *display_addr; /* Affichage des adresses ? */