4 * Copyright (c) Tuomo Valkonen 1999-2006.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_PANEWS_PANEWS_H
13 #define ION_PANEWS_PANEWS_H
15 #include <ioncore/common.h>
16 #include <ioncore/region.h>
17 #include <ioncore/screen.h>
18 #include <libextl/extl.h>
19 #include <ioncore/rectangle.h>
21 #include <mod_tiling/tiling.h>
30 extern void panews_deinit(WPaneWS *ws);
31 extern bool panews_init(WPaneWS *ws, WWindow *parent, const WFitParams *fp,
33 extern WPaneWS *create_panews(WWindow *parent, const WFitParams *fp, bool cu);
34 extern WPaneWS *create_panews_simple(WWindow *parent, const WFitParams *fp);
35 extern WRegion *panews_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
37 /* Dynfun implementations */
39 extern bool panews_managed_may_destroy(WPaneWS *ws, WRegion *reg);
40 extern void panews_managed_remove(WPaneWS *ws, WRegion *reg);
41 extern bool panews_managed_add(WPaneWS *ws, WRegion *reg);
42 extern WRegion *panews_managed_control_focus(WPaneWS *ws, WRegion *reg);
44 extern ExtlTab panews_get_configuration(WPaneWS *ws);
45 extern WRegion *panews_load(WWindow *par, const WFitParams *fp, ExtlTab tab);
47 #endif /* ION_PANEWS_PANEWS_H */