]> git.decadent.org.uk Git - ion3.git/blob - ioncore/float-placement.h
760030e8346bcd9cf451ebaca3871beecb823360
[ion3.git] / ioncore / float-placement.h
1 /*
2  * ion/ioncore/float-placement.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
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.
10  */
11
12 #ifndef ION_IONCORE_FLOAT_PLACEMENT_H
13 #define ION_IONCORE_FLOAT_PLACEMENT_H
14
15 #include "common.h"
16 #include "group.h"
17
18
19 typedef enum{
20     PLACEMENT_LRUD, PLACEMENT_UDLR, PLACEMENT_RANDOM
21 } WFloatPlacement;
22
23 extern WFloatPlacement ioncore_placement_method;
24
25 extern void group_calc_placement(WGroup *ws, uint level, 
26                                  WRectangle *geom);
27
28 #endif /* ION_IONCORE_FLOAT_PLACEMENT_H */