diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-07-20 23:23:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-07-20 23:23:43 (GMT) |
commit | e4ccb9e56e822628e299527fee0b7325f0d25662 (patch) | |
tree | 10d5eb35fad4ba01b757d4c403c912f209eacb3e /src/gui/panels/binary.h | |
parent | 9d0d5edf372a9f681bbfd0a3639ee8fc367ce96d (diff) |
Prepare a welcome screen.
Diffstat (limited to 'src/gui/panels/binary.h')
-rw-r--r-- | src/gui/panels/binary.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/gui/panels/binary.h b/src/gui/panels/binary.h new file mode 100644 index 0000000..bcf8707 --- /dev/null +++ b/src/gui/panels/binary.h @@ -0,0 +1,64 @@ + +/* Chrysalide - Outil d'analyse de fichiers binaires + * binary.h - prototypes pour le panneau d'accueil par défaut + * + * Copyright (C) 2012-2024 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef _GUI_PANELS_BINARY_H +#define _GUI_PANELS_BINARY_H + + +#include <gtk/gtk.h> + + +#include "../panel.h" +#include "../../glibext/helpers.h" +#include "../../gtkext/panel.h" + + + +/* ------------------------- COEUR D'UN PANNEAU D'AFFICHAGE ------------------------- */ + + +#define GTK_TYPE_BINARY_PANEL (gtk_binary_panel_get_type()) + +DECLARE_GTYPE(GtkBinaryPanel, gtk_binary_panel, GTK, BINARY_PANEL); + + +/* Crée une nouvelle instance de panneau d'accueil. */ +GtkTiledPanel *gtk_binary_panel_new(void); + + + +/* ---------------------- MANIPULATIONS D'UN PANNEAU GRAPHIQUE ---------------------- */ + + +#define G_TYPE_BINARY_PANEL (g_binary_panel_get_type()) + +DECLARE_GTYPE(GBinaryPanel, g_binary_panel, G, BINARY_PANEL); + + +/* Constitue une définition de manipulation de panneau. */ +GPanelItem *g_binary_panel_new(void); + + + +#endif /* _GUI_PANELS_WELCOME_H */ |