diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-06-14 22:55:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-06-14 22:55:24 (GMT) |
commit | c987ca944052019957d3f31d69c679ed5ad994f2 (patch) | |
tree | 44f9c7a7f94925814ebebce50388935c83b34e88 /src/gtkext/gtkviewpanel-int.h | |
parent | c1b22ec0aa497a212ef897f3f8fffedf07cd45a6 (diff) |
Been able to move the caret when scrolling to a given address.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@541 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkviewpanel-int.h')
-rw-r--r-- | src/gtkext/gtkviewpanel-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtkext/gtkviewpanel-int.h b/src/gtkext/gtkviewpanel-int.h index e51dbac..5fbcd76 100644 --- a/src/gtkext/gtkviewpanel-int.h +++ b/src/gtkext/gtkviewpanel-int.h @@ -57,6 +57,9 @@ typedef bool (* get_addr_coordinates_fc) (const GtkViewPanel *, const vmpa2t *, /* Fournit des éléments liés à la position courante dans la vue. */ typedef bool (* get_view_position_fc) (const GtkViewPanel *, GBufferLine **, GBufferSegment **); +/* Déplace le curseur à un emplacement défini. */ +typedef bool (* move_caret_to_fc) (GtkViewPanel *, gint, gint); + /* Place en cache un rendu destiné à l'aperçu graphique rapide. */ typedef void (* cache_glance_fc) (GtkViewPanel *, cairo_t *, const GtkAllocation *, double); @@ -95,6 +98,7 @@ struct _GtkViewPanelClass define_address_fc define; /* Centrage sur une partie */ 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 */ cache_glance_fc cache_glance; /* Cache de la mignature */ }; |