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.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gtkext/gtkviewpanel-int.h b/src/gtkext/gtkviewpanel-int.h
index d51c637..07ce6e9 100644
--- a/src/gtkext/gtkviewpanel-int.h
+++ b/src/gtkext/gtkviewpanel-int.h
@@ -34,10 +34,13 @@
/* Indique les dimensions de travail du composant d'affichage. */
-typedef void (* compute_requested_size) (GtkViewPanel *, gint *, gint *);
+typedef void (* compute_requested_size_fc) (GtkViewPanel *, gint *, gint *);
/* Détermine la taille des bonds lors de défilements. */
-typedef void (* compute_scroll_inc) (GtkViewPanel *, gint, GtkOrientation, gdouble *, gdouble *);
+typedef void (* compute_scroll_inc_fc) (GtkViewPanel *, gint, GtkOrientation, gdouble *, gdouble *);
+
+/* Réagit à un défilement chez une barre associée au composant. */
+typedef void (* adjust_scroll_value_fc) (GtkViewPanel *, GtkAdjustment *, GtkOrientation);
/* Prend acte de l'association d'un binaire chargé. */
typedef void (* attach_binary_fc) (GtkViewPanel *, GLoadedBinary *);
@@ -87,8 +90,9 @@ struct _GtkViewPanelClass
{
GtkFixedClass parent; /* A laisser en premier */
- compute_requested_size compute_size; /* Calcul de la taille requise */
- compute_scroll_inc compute_inc; /* Calcul des bonds */
+ compute_requested_size_fc compute_size; /* Calcul de la taille requise */
+ 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_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */
get_view_position_fc get_position; /* Indications sur la position */