diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-01-31 22:50:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-01-31 22:50:42 (GMT) |
commit | f6eb49749d627de7d556139a392f73f0ca2862e8 (patch) | |
tree | df84f4c54f9f4f59e9b392b66d4d3ee1ce8633c0 /src/gtkext/gtkdisplaypanel-int.h | |
parent | 7ba93e4d9e3e722d8771d665c5217510105375d2 (diff) |
Provided the current active object in display panels.
Diffstat (limited to 'src/gtkext/gtkdisplaypanel-int.h')
-rw-r--r-- | src/gtkext/gtkdisplaypanel-int.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gtkext/gtkdisplaypanel-int.h b/src/gtkext/gtkdisplaypanel-int.h index 4425427..106663f 100644 --- a/src/gtkext/gtkdisplaypanel-int.h +++ b/src/gtkext/gtkdisplaypanel-int.h @@ -54,6 +54,9 @@ typedef const vmpa2t * (* get_caret_location_fc) (const GtkDisplayPanel *); /* Indique la position d'affichage d'une adresse donnée. */ typedef bool (* get_addr_coordinates_fc) (const GtkDisplayPanel *, const vmpa2t *, gint *, gint *, ScrollPositionTweak); +/* Fournit l'élément actif lié à la position courante. */ +typedef GObject * (* get_active_object_fc) (const GtkDisplayPanel *); + /* Fournit des éléments liés à la position courante dans la vue. */ typedef bool (* get_view_position_fc) (const GtkDisplayPanel *, GBufferLine **, GObject **); @@ -95,7 +98,7 @@ struct _GtkDisplayPanelClass 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 */ + get_active_object_fc get_active; /* Infos sur l'objet actif */ move_caret_to_fc move_caret_to; /* Déplacement du curseur */ cache_glance_fc cache_glance; /* Cache de la mignature */ |