/* OpenIDA - Outil d'analyse de fichiers binaires * gtkbinview-int.h - définitions internes propre à l'affichage d'un ou plusieurs morceaux de code * * Copyright (C) 2009 Cyrille Bagard * * This file is part of OpenIDA. * * OpenIDA is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * OpenIDA is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Foobar. If not, see . */ #ifndef _GTKEXT_GTKBINVIEW_INT_H #define _GTKEXT_GTKBINVIEW_INT_H #include "gtkbinview.h" #include #include /* 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 { GtkFixedClass parent; /* A laisser en premier */ }; #endif /* _GTKEXT_GTKBINVIEW_INT_H */