summaryrefslogtreecommitdiff
path: root/src/gtkext/grid.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-07-14 17:58:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-07-14 17:58:45 (GMT)
commit9d0d5edf372a9f681bbfd0a3639ee8fc367ce96d (patch)
tree58493507927e69bb0fb9f337845fb010900f35e3 /src/gtkext/grid.h
parentbeb69108d4efcebc5a6d70d0de6bdc9ea8026960 (diff)
Setup basic features for framework GUI panels.
Diffstat (limited to 'src/gtkext/grid.h')
-rw-r--r--src/gtkext/grid.h37
1 files changed, 33 insertions, 4 deletions
diff --git a/src/gtkext/grid.h b/src/gtkext/grid.h
index 539e248..d9b7ef1 100644
--- a/src/gtkext/grid.h
+++ b/src/gtkext/grid.h
@@ -2,7 +2,7 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
* tiledgrid.h - prototypes pour un composant d'affichage avec des chemins vers les composants contenus
*
- * Copyright (C) 2018-2019 Cyrille Bagard
+ * Copyright (C) 2018-2024 Cyrille Bagard
*
* This file is part of Chrysalide.
*
@@ -21,13 +21,40 @@
*/
-#ifndef _GTKEXT_TILEDGRID_H
-#define _GTKEXT_TILEDGRID_H
+#ifndef _GTKEXT_GRID_H
+#define _GTKEXT_GRID_H
#include <gtk/gtk.h>
+#include "dockstation.h"
+#include "panel.h"
+#include "../glibext/helpers.h"
+
+
+
+#define GTK_TYPE_TILING_GRID (gtk_tiling_grid_get_type())
+
+DECLARE_GTYPE(GtkTilingGrid, gtk_tiling_grid, GTK, TILING_GRID);
+
+
+/* Crée une nouvelle instance de conteneur avec tuiles. */
+GtkWidget *gtk_tiling_grid_new(void);
+
+
+
+
+
+
+
+
+
+#if 0
+
+#include <gtk/gtk.h>
+
+
#include "gtkdockstation.h"
#include "../glibext/configuration.h"
#include "../gui/panel.h"
@@ -81,5 +108,7 @@ void gtk_tiled_grid_restore_positions(const GtkTiledGrid *, GGenConfig *);
void gtk_tiled_grid_save_positions(const GtkTiledGrid *, GGenConfig *);
+#endif
+
-#endif /* _GTKEXT_TILEDGRID_H */
+#endif /* _GTKEXT_GRID_H */