diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 00:39:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 00:39:57 (GMT) |
commit | 1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (patch) | |
tree | c3581ceb7f8586f2f6822de563927a1246dd33a5 /src/gui/core/panels.h | |
parent | 6122bb7f34b178d4c07285adae16afcc55294b1f (diff) |
Rewritten the whole API dealing with panels.
Diffstat (limited to 'src/gui/core/panels.h')
-rw-r--r-- | src/gui/core/panels.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/core/panels.h b/src/gui/core/panels.h index 40c2fbd..3846038 100644 --- a/src/gui/core/panels.h +++ b/src/gui/core/panels.h @@ -38,13 +38,10 @@ void load_main_panels(void); /* Enregistre un panneau comme partie intégrante de l'éditeur. */ -void register_panel_item(GPanelItem *, GGenConfig *); - -/* Intègre un panneau comme partie intégrante de l'éditeur. */ -void activate_panel_item(GPanelItem *, GGenConfig *); +void register_panel_item(GType, GGenConfig *); /* Réalise un traitement sur un panneau de l'éditeur. */ -typedef bool (* handle_panel_item_fc) (GPanelItem *, void *); +typedef bool (* handle_panel_item_fc) (GPanelItemClass *, void *); /* Effectue le parcours de tous les panneaux chargés. */ bool _browse_all_item_panels(bool, handle_panel_item_fc, void *); @@ -52,9 +49,6 @@ bool _browse_all_item_panels(bool, handle_panel_item_fc, void *); #define browse_all_item_panels(h, d) \ _browse_all_item_panels(false, h, d) -/* Recherche un panneau à partir de son nom court. */ -GPanelItem *get_panel_item_by_name(const char *); - #endif /* _GUI_CORE_PANELS_H */ |