summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkdisplaypanel-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-11 14:18:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-11 14:18:06 (GMT)
commit4299c1d780a37ad242948fabab8675d74952c5f9 (patch)
treec8e591572d1b5958da06cbf1a5e4b3907bc3e0fc /src/gtkext/gtkdisplaypanel-int.h
parent7c2129872cecdc185843ea0af81d0858ed8e7b90 (diff)
Restored a minimal graph view system.
Diffstat (limited to 'src/gtkext/gtkdisplaypanel-int.h')
-rw-r--r--src/gtkext/gtkdisplaypanel-int.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gtkext/gtkdisplaypanel-int.h b/src/gtkext/gtkdisplaypanel-int.h
index 72638c0..7a60152 100644
--- a/src/gtkext/gtkdisplaypanel-int.h
+++ b/src/gtkext/gtkdisplaypanel-int.h
@@ -32,6 +32,9 @@
#include <gtk/gtk.h>
+#include "../glibext/glinecursor.h"
+
+
/* Prend acte de l'association d'un binaire chargé. */
typedef void (* attach_binary_fc) (GtkDisplayPanel *, GLoadedBinary *);
@@ -63,6 +66,12 @@ typedef bool (* get_view_position_fc) (const GtkDisplayPanel *, GBufferLine **,
/* Déplace le curseur à un emplacement défini. */
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);
@@ -100,6 +109,9 @@ struct _GtkDisplayPanelClass
get_addr_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 */
/* Signaux */