summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkdisplaypanel-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-12-21 14:58:27 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-12-21 14:58:27 (GMT)
commit223c2d906ccdb1ae680a474884448c799878a06f (patch)
tree7da08923299dfd950e34f4041e6967d1000c8f99 /src/gtkext/gtkdisplaypanel-int.h
parent6a444b273cf812c080c57d36a43436bf4aa4d55e (diff)
Updated the graph view when updating the current location.
Diffstat (limited to 'src/gtkext/gtkdisplaypanel-int.h')
-rw-r--r--src/gtkext/gtkdisplaypanel-int.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gtkext/gtkdisplaypanel-int.h b/src/gtkext/gtkdisplaypanel-int.h
index 90b146c..7d64925 100644
--- a/src/gtkext/gtkdisplaypanel-int.h
+++ b/src/gtkext/gtkdisplaypanel-int.h
@@ -46,8 +46,8 @@ typedef void (* compute_scroll_inc_fc) (GtkDisplayPanel *, gint, GtkOrientation,
/* Réagit à un défilement chez une barre associée au composant. */
typedef void (* adjust_scroll_value_fc) (GtkDisplayPanel *, GtkAdjustment *, GtkOrientation);
-/* Réagit à la sélection externe d'une adresse. */
-typedef void (* define_address_fc) (GtkDisplayPanel *, const vmpa2t *);
+/* Ajuste au besoin la zone affichée pour un curseur. */
+typedef void (* prepare_for_cursor_fc) (GtkDisplayPanel *, const GLineCursor *);
/* Indique la position d'affichage d'une adresse donnée. */
typedef bool (* get_coordinates_fc) (const GtkDisplayPanel *, const GLineCursor *, gint *, gint *, ScrollPositionTweak);
@@ -64,9 +64,6 @@ typedef bool (* move_caret_to_fc) (GtkDisplayPanel *, gint, gint);
/* Fournit le position courante dans un panneau de chargement. */
typedef GLineCursor * (* get_cursor_fc) (const GtkDisplayPanel *);
-/* Définit le position courante dans un panneau de chargement. */
-typedef void (* set_cursor_fc) (GtkDisplayPanel *, const GLineCursor *);
-
/* Place en cache un rendu destiné à l'aperçu graphique rapide. */
typedef void (* cache_glance_fc) (GtkDisplayPanel *, cairo_t *, const GtkAllocation *, double);
@@ -98,13 +95,12 @@ struct _GtkDisplayPanelClass
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 */
+ prepare_for_cursor_fc prepare; /* Préparation de zone affichée*/
get_coordinates_fc get_coordinates; /* Conversion adresse <-> pos. */
get_active_object_fc get_active; /* Infos sur l'objet actif */
move_caret_to_fc move_caret_to; /* Déplacement du curseur */
get_cursor_fc get_cursor; /* Fourniture d'une position */
- set_cursor_fc set_cursor; /* Application d'une position */
cache_glance_fc cache_glance; /* Cache de la mignature */
};