summaryrefslogtreecommitdiff
path: root/src/gui/editem-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-17 13:45:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-17 19:06:08 (GMT)
commitd13bccd74759cd1c63a2036c279f04d9f052ecf3 (patch)
treeadbd0b9d915748a2b46070282c07b3f16033d89e /src/gui/editem-int.h
parent52ac5b1b340335f56ceb599dba63164a26f10b10 (diff)
Updated access to the Edition menu based on the current selection.
Diffstat (limited to 'src/gui/editem-int.h')
-rw-r--r--src/gui/editem-int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/editem-int.h b/src/gui/editem-int.h
index b76769f..fa62dc6 100644
--- a/src/gui/editem-int.h
+++ b/src/gui/editem-int.h
@@ -33,6 +33,7 @@
#include "../common/dllist.h"
+#include "../gtkext/gtkbufferview.h"
@@ -45,6 +46,9 @@ typedef void (* manage_item_view_fc) (GEditorItem *, GtkViewPanel *, bool);
/* Réagit à un changement d'affichage principal de contenu. */
typedef void (* update_item_view_fc) (GEditorItem *, GtkViewPanel *);
+/* Suit les changements de position dans du code d'assembleur. */
+typedef void (* track_caret_in_view_fc) (GEditorItem *, GtkBufferView *, const vmpa2t *);
+
/* Concentre l'attention de l'ensemble sur une adresse donnée. */
typedef void (* focus_addr_fc) (GEditorItem *, GLoadedBinary *, const vmpa2t *);
@@ -75,6 +79,7 @@ struct _GEditorItemClass
update_item_binary_fc update_binary; /* Changement de binaire */
manage_item_view_fc manage_view; /* Gestion des vues manipulées */
update_item_view_fc update_view; /* Rechargement dû à une vue */
+ track_caret_in_view_fc track_caret; /* Suivi des positions */
update_item_view_fc update_content; /* Rechargement dû à un contenu*/
focus_addr_fc focus_addr; /* Prête attention à une addr. */
update_project_fc update_project; /* Actualisation des binaires */