summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkbinview-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-14 11:57:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-14 11:57:14 (GMT)
commitae0135d727fdc67a268ede1530042a42a2a1ccd3 (patch)
treed3dc13797072c261ea8bb49dc2e83b0858478bc7 /src/gtkext/gtkbinview-int.h
parentfa0509e2914e3cb562a7cc58293f1171886fafb0 (diff)
Cleaned and improved the binary views ; implemented some first steps for the graphical view.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@76 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkbinview-int.h')
-rw-r--r--src/gtkext/gtkbinview-int.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gtkext/gtkbinview-int.h b/src/gtkext/gtkbinview-int.h
index 33ba33c..fffbc9f 100644
--- a/src/gtkext/gtkbinview-int.h
+++ b/src/gtkext/gtkbinview-int.h
@@ -28,14 +28,28 @@
#include "gtkbinview.h"
+#include <stdbool.h>
#include <gtk/gtkfixed.h>
+/* Définit les lignes à associer à la représentation. */
+typedef void (* set_rendering_lines_fc) (GtkBinview *, GRenderingLine *, GRenderingLine *);
+
+/* Indique la position d'affichage d'une adresse donnée. */
+typedef bool (* get_addr_coordinates_fc) (GtkBinView *, vmpa_t, gint *, gint *);
+
+
struct _GtkBinview
{
GtkFixed parent; /* A laisser en premier */
+ GRenderingLine *lines; /* Contenu à représenter */
+ GRenderingLine *last; /* Dernière ligne associée */
+
+ set_rendering_lines_fc set_lines; /* Association des lignes */
+ get_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */
+
};
struct _GtkBinviewClass