diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-08-11 08:40:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-08-11 08:40:45 (GMT) |
commit | 45c220eb6c7cb1076788307ace4b6f3df2e5e941 (patch) | |
tree | b018cf25fc23190ec430afec0a612d29cb142757 /src/gui/core/panels.h | |
parent | d19bfec27f4ed528c5ca569dcbb6621185db0c48 (diff) |
Created a new widget to handle tiled panels.
Diffstat (limited to 'src/gui/core/panels.h')
-rw-r--r-- | src/gui/core/panels.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/core/panels.h b/src/gui/core/panels.h index 0c55417..477c1e0 100644 --- a/src/gui/core/panels.h +++ b/src/gui/core/panels.h @@ -44,7 +44,10 @@ void register_panel_item(GPanelItem *, GGenConfig *); typedef bool (* handle_panel_item_fc) (GPanelItem *, void *); /* Effectue le parcours de tous les panneaux chargés. */ -bool browse_all_item_panels(handle_panel_item_fc, void *); +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 *); |