A final catch-all fallback when failing to load a font
[notion/jeffpc.git] / mod_tiling / splitfloat.h
blob381a802d74dfb408156fa74dc395578659696dc5
1 /*
2 * ion/mod_tiling/splitfloat.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_MOD_TILING_SPLITFLOAT_H
10 #define ION_MOD_TILING_SPLITFLOAT_H
12 #include <ioncore/common.h>
13 #include <ioncore/gr.h>
14 #include "split.h"
15 #include "tiling.h"
17 INTRCLASS(WSplitFloat);
19 #include "panehandle.h"
21 DECLCLASS(WSplitFloat){
22 WSplitSplit ssplit;
23 WPaneHandle *tlpwin, *brpwin;
27 extern bool splitfloat_init(WSplitFloat *split, const WRectangle *geom,
28 WTiling *ws, int dir);
30 extern WSplitFloat *create_splitfloat(const WRectangle *geom,
31 WTiling *ws, int dir);
33 extern void splitfloat_deinit(WSplitFloat *split);
35 extern void splitfloat_update_handles(WSplitFloat *split,
36 const WRectangle *tlg,
37 const WRectangle *brg);
38 extern void splitfloat_tl_pwin_to_cnt(WSplitFloat *split, WRectangle *g);
39 extern void splitfloat_br_pwin_to_cnt(WSplitFloat *split, WRectangle *g);
40 extern void splitfloat_tl_cnt_to_pwin(WSplitFloat *split, WRectangle *g);
41 extern void splitfloat_br_cnt_to_pwin(WSplitFloat *split, WRectangle *g);
43 extern void splitfloat_flip(WSplitFloat *split);
45 extern WSplit *load_splitfloat(WTiling *ws, const WRectangle *geom,
46 ExtlTab tab);
48 extern WSplitRegion *splittree_split_floating(WSplit *node, int dir,
49 int primn, int nmins,
50 WRegionSimpleCreateFn *fn,
51 WTiling *ws);
53 #endif /* ION_MOD_TILING_SPLITFLOAT_H */