diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-12-20 00:28:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-12-20 00:28:36 (GMT) |
commit | 56deaf395c65658102ef0111cfc072d65335331a (patch) | |
tree | ba6d6fd0dbc781e9ad3b3cf6b2eb529a7d7a6aa3 /src/gtkext/gtkblockview.h | |
parent | d9fdfcf887a7a596a68db2500bb5e4d0b692abb6 (diff) |
Begun to clean the code by moving the disassembling process into disass/.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@202 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkblockview.h')
-rw-r--r-- | src/gtkext/gtkblockview.h | 47 |
1 files changed, 7 insertions, 40 deletions
diff --git a/src/gtkext/gtkblockview.h b/src/gtkext/gtkblockview.h index ed958d0..af2ba2b 100644 --- a/src/gtkext/gtkblockview.h +++ b/src/gtkext/gtkblockview.h @@ -25,13 +25,8 @@ #define _GTKEXT_GTKBLOCKVIEW_H -#include <stdint.h> -#include <gtk/gtk.h> -#include <cairo.h> - - -#include "../analysis/line.h" -#include "../format/exe_format.h" +#include <glib-object.h> +#include <gtk/gtkwidget.h> @@ -43,46 +38,18 @@ #define GTK_BLOCK_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BLOCK_VIEW, GtkBlockViewClass)) - +/* Composant d'affichage de code d'assembleur (instance) */ typedef struct _GtkBlockView GtkBlockView; - +/* Composant d'affichage de code d'assembleur (classe) */ typedef struct _GtkBlockViewClass GtkBlockViewClass; - -/* Détermine le type du composant d'affichage en block. */ +/* Détermine le type du composant d'affichage de bloc en langage d'assemblage. */ GType gtk_block_view_get_type(void); -/* Crée un nouveau composant pour l'affichage en block. */ -GtkWidget *gtk_block_view_new(MainRendering); - - - - - - - - - - - - -/* Choisit d'afficher les adresses virtuelles ou non. */ -void gtk_block_view_show_vaddress(GtkBlockView *, gboolean); - -/* Choisit d'afficher le code brut ou non. */ -void gtk_block_view_show_code(GtkBlockView *, gboolean); - - - - -/* Définit le format auquel le contenu est lié. */ -void gtk_block_view_set_format(GtkBlockView *, const exe_format *); - - - - +/* Crée un nouveau composant pour l'affichage de bloc en ASM. */ +GtkWidget *gtk_block_view_new(void); |