summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkviewpanel-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-11-10 18:00:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-11-10 18:00:23 (GMT)
commit85be5ab140bb90ca69e20323eb49999d8520af13 (patch)
tree0cda930b0d37f48f620efbce0e04f3f2de416bd6 /src/gtkext/gtkviewpanel-int.h
parentba5c517970f725903ae8b196b28f1a2eb7705536 (diff)
Provided a nice way to get a small preview of the current graph.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@280 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkviewpanel-int.h')
-rw-r--r--src/gtkext/gtkviewpanel-int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gtkext/gtkviewpanel-int.h b/src/gtkext/gtkviewpanel-int.h
index 6e6cbaf..ee14067 100644
--- a/src/gtkext/gtkviewpanel-int.h
+++ b/src/gtkext/gtkviewpanel-int.h
@@ -45,6 +45,10 @@ typedef bool (* get_addr_coordinates_fc) (const GtkViewPanel *, vmpa_t, gint *,
/* Réagit à un défilement quelconque. */
typedef void (* scroll_fc) (GtkViewPanel *);
+/* Place en cache un rendu destiné à l'aperçu graphique rapide. */
+typedef void (* cache_glance_fc) (GtkViewPanel *, cairo_t *);
+
+
/* Composant d'affichage générique (instance) */
struct _GtkViewPanel
@@ -63,6 +67,7 @@ struct _GtkViewPanel
define_address_fc define; /* Centrage sur une partie */
get_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */
scroll_fc scroll; /* Défilement du contenu */
+ cache_glance_fc cache_glance; /* Cache de la mignature */
bool *display_addr; /* Affichage des adresses ? */
bool *display_code; /* Affichage du code binaire ? */