diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-11-12 20:03:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-11-12 20:03:12 (GMT) |
commit | 771f21b9d5dd2b394359304a660418bbc84befda (patch) | |
tree | 60d6a9350d388f2db7ad571e6edddf46a99444f2 /src/glibext/gloadedpanel-int.h | |
parent | de62d34d2dc6135b42af7f8a103c8c7af09fd54f (diff) |
Defined a new interface for displaying loaded contents.
Diffstat (limited to 'src/glibext/gloadedpanel-int.h')
-rw-r--r-- | src/glibext/gloadedpanel-int.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/glibext/gloadedpanel-int.h b/src/glibext/gloadedpanel-int.h new file mode 100644 index 0000000..8686d1b --- /dev/null +++ b/src/glibext/gloadedpanel-int.h @@ -0,0 +1,51 @@ + +/* Chrysalide - Outil d'analyse de fichiers binaires + * gloadedpanel-int.h - définitions internes propres à l'affichage de contenus chargés + * + * Copyright (C) 2017 Cyrille Bagard + * + * This file is part of Chrysalide. + * + * Chrysalide 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. + * + * Chrysalide 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 <http://www.gnu.org/licenses/>. + */ + + +#ifndef _GLIBEXT_GLOADEDPANEL_INT_H +#define _GLIBEXT_GLOADEDPANEL_INT_H + + +#include "gloadedpanel.h" + + + +/* Place en cache un rendu destiné à l'aperçu graphique rapide. */ +typedef void (* cache_loaded_glance_fc) (GLoadedPanel *, cairo_t *, const GtkAllocation *, double); + + +/* Intermédiaire pour la génération de lignes (interface) */ +struct _GLoadedPanelIface +{ + GTypeInterface base_iface; /* A laisser en premier */ + + cache_loaded_glance_fc cache_glance; /* Cache de la mignature */ + +}; + + +/* Redéfinition */ +typedef GLoadedPanelIface GLoadedPanelInterface; + + + +#endif /* _GLIBEXT_GLOADEDPANEL_INT_H */ |