2 * ion/panews/splitext.h
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_SPLITEXT_H
13 #define ION_PANEWS_SPLITEXT_H
15 #include <ioncore/common.h>
16 #include <mod_tiling/split.h>
18 INTRCLASS(WSplitUnused);
19 INTRCLASS(WSplitPane);
23 DECLCLASS(WSplitUnused){
27 DECLCLASS(WSplitPane){
33 extern bool splitunused_init(WSplitUnused *split, const WRectangle *geom,
35 extern bool splitpane_init(WSplitPane *split, const WRectangle *geom,
38 extern WSplitUnused *create_splitunused(const WRectangle *geom,
40 extern WSplitPane *create_splitpane(const WRectangle *geom, WSplit *cnt);
42 extern void splitunused_deinit(WSplitUnused *split);
43 extern void splitpane_deinit(WSplitPane *split);
45 extern const char *splitpane_get_marker(WSplitPane *pane);
46 extern bool splitpane_set_marker(WSplitPane *pane, const char *s);
48 extern WRegion *panews_do_get_nextto(WPaneWS *ws, WRegion *reg,
49 int dir, int primn, bool any);
50 extern WRegion *panews_do_get_farthest(WPaneWS *ws,
51 int dir, int primn, bool any);
53 extern WSplitRegion *split_tree_find_region_in_pane_of(WSplit *node);
55 #endif /* ION_PANEWS_SPLITEXT_H */