summaryrefslogtreecommitdiff
path: root/src/gtksnippet.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-02-18 00:47:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-02-18 00:47:48 (GMT)
commitc2d9948e1e67b48d1a6c8a711024d8dd3f6ac507 (patch)
tree0b651a1f7d640ce75414aade589a141d22698bc4 /src/gtksnippet.h
parentd7765c0e6d2685b57625f607325f4a80eb28dbe5 (diff)
Begun to rewrite the way rendering lines are managed.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@49 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtksnippet.h')
-rw-r--r--src/gtksnippet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtksnippet.h b/src/gtksnippet.h
index a4e2eb5..f3b541d 100644
--- a/src/gtksnippet.h
+++ b/src/gtksnippet.h
@@ -30,6 +30,7 @@
#include <cairo.h>
+#include "analysis/line.h"
#include "arch/instruction.h"
#include "arch/processor.h"
#include "format/exe_format.h"
@@ -104,6 +105,8 @@ struct _GtkSnippet {
code_line_info *info; /* Contenu à représenter */
unsigned int info_count; /* Quantité d'informations */
+ rendering_line *lines; /* Contenu à représenter */
+
gint sel;
};
@@ -142,6 +145,9 @@ void gtk_snippet_set_processor(GtkSnippet *, const asm_processor *);
/* Ajoute une ligne dans le bloc de représentation. */
void gtk_snippet_add_line(GtkSnippet *, const code_line_info *);
+/* Définit les lignes du bloc de représentation. */
+void gtk_snippet_set_rendering_lines(GtkSnippet *, rendering_line *);
+
/* Définit le contenu visuel à partir des infos enregistrées. */
void gtk_snippet_build_content(GtkSnippet *);