1 module des.gui.layout;
2 
3 import des.gui.base;
4 import des.gui.shape;
5 
6 interface DiLayoutItem
7 {
8     @property
9     {
10         ///
11         DiShape shape();
12         ///
13         const(DiShape) shape() const;
14     }
15 
16     void relayout();
17 }
18 
19 ///
20 interface DiLayout
21 {
22     ///
23     void opCall( in DiShape container,
24                  DiLayoutItem[] inner );
25 }