summaryrefslogtreecommitdiff
path: root/src/gui/editem-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-10 20:16:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-10 20:16:25 (GMT)
commit61b7967d5031e0724ac8d02694ff58505818a5a0 (patch)
tree4b9ea233e61ee9e688fd29e93a8061732a755e6e /src/gui/editem-int.h
parentabc912f8500312c888832ff521d3dd17d8b2c613 (diff)
Refreshed all menu accesses in a better way.
Diffstat (limited to 'src/gui/editem-int.h')
-rw-r--r--src/gui/editem-int.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/editem-int.h b/src/gui/editem-int.h
index fa62dc6..9918595 100644
--- a/src/gui/editem-int.h
+++ b/src/gui/editem-int.h
@@ -34,6 +34,7 @@
#include "../common/dllist.h"
#include "../gtkext/gtkbufferview.h"
+#include "../gtkext/gtkviewpanel.h"
@@ -41,13 +42,13 @@
typedef void (* update_item_binary_fc) (GEditorItem *, GLoadedBinary *);
/* Réagit à un changement d'affichage principal de contenu. */
-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 *);
+/* Réagit à un changement de focus des panneaux d'affichage. */
+typedef void (* notify_focus_change_fc) (GEditorItem *, GtkViewPanel *);
+
/* Suit les changements de position dans du code d'assembleur. */
-typedef void (* track_caret_in_view_fc) (GEditorItem *, GtkBufferView *, const vmpa2t *);
+typedef void (* track_caret_in_view_fc) (GEditorItem *, GtkViewPanel *, const vmpa2t *);
/* Concentre l'attention de l'ensemble sur une adresse donnée. */
typedef void (* focus_addr_fc) (GEditorItem *, GLoadedBinary *, const vmpa2t *);
@@ -77,10 +78,10 @@ struct _GEditorItemClass
GObjectClass parent; /* A laisser en premier */
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*/
+ notify_focus_change_fc notify_focus; /* Gain ou perte de focus */
+ track_caret_in_view_fc track_caret; /* Suivi des positions */
focus_addr_fc focus_addr; /* Prête attention à une addr. */
update_project_fc update_project; /* Actualisation des binaires */