summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkviewpanel-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-26 21:21:24 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-26 21:21:24 (GMT)
commit4bc86c5dc8d3cfa9780103b56f52024a49913c22 (patch)
treeb71c0e7868441fa22067d6dc1bad0cfcc8bbec1d /src/gtkext/gtkviewpanel-int.h
parent9895df71ae6ea14e09478cc243227b7b3a2139a3 (diff)
Fixed various bugs and mistakes.
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 */