fixed layout parser adding stack based recursion, code needs being cleaned up but layout works quite well now, added code draw while resizing

This commit is contained in:
2017-01-22 22:24:48 +00:00
parent 21622fd24c
commit e556cf4c61
7 changed files with 266 additions and 71 deletions

View File

@@ -1,5 +1,13 @@
<?xml version="1.0"?>
<layout>
<rect width="10" height="10" />
<circle div="10" width="100%" inner_radius="10" outer_radius="50" />
<flex dir="row" wrap="1" width="100%">
<plane height="100" width="50%" min-width="500"/>
<plane height="100%" width="50%" wrap="1" dir="col">
<plane height="150" width="100%" />
<plane height="50%" width="50%">
<plane height="30" width="45" />
<plane height="30" width="45" />
</plane>
</plane>
</flex>
</layout>