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 fcd6ffb..9f53051 100644
--- a/src/gtkext/gtkviewpanel-int.h
+++ b/src/gtkext/gtkviewpanel-int.h
@@ -51,6 +51,9 @@ typedef void (* define_address_fc) (GtkViewPanel *, const vmpa2t *);
/* Actualise les besoins internes avant un redimensionnement. */
typedef void (* prepare_resize_fc) (GtkViewPanel *);
+/* Indique la position courante du curseur. */
+typedef const vmpa2t * (* get_caret_location_fc) (const GtkViewPanel *);
+
/* Indique la position d'affichage d'une adresse donnée. */
typedef bool (* get_addr_coordinates_fc) (const GtkViewPanel *, const vmpa2t *, gint *, gint *, ScrollPositionTweak);
@@ -96,6 +99,7 @@ struct _GtkViewPanelClass
compute_scroll_inc_fc compute_inc; /* Calcul des bonds */
adjust_scroll_value_fc adjust; /* Réaction à un défilement */
define_address_fc define; /* Centrage sur une partie */
+ get_caret_location_fc get_caret_loc; /* Adresse du curseur */
get_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */
get_view_position_fc get_position; /* Indications sur la position */
move_caret_to_fc move_caret_to; /* Déplacement du curseur */