added constexpr hash based enum for faster switch on attributes and node names

This commit is contained in:
2017-01-27 22:09:37 +00:00
parent d413e49821
commit 7436706b37
3 changed files with 81 additions and 57 deletions

View File

@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<layout>
<flex dir="col" wrap="0" width="100%" height="100%" pad="5">
<node dir="col" wrap="0" width="100%" height="100%" pad="5">
<!-- toolbar -->
<plane height="50" width="100%" pad="5" dir="row" color=".2">
<border height="50" width="100%" pad="5" dir="row" color=".2">
<plane width="50" margin="0 5 0 0" color=".1"></plane>
<plane width="50" margin="0 5 0 0" color=".2"></plane>
<plane width="50" margin="0 5 0 0" color=".3"></plane>
@@ -14,7 +14,7 @@
<plane width="50" margin="0 5 0 0"></plane>
<plane width="50" margin="0 5 0 0"></plane>
<plane width="50" margin="0 5 0 0"></plane>
</plane>
</border>
<!-- central row -->
<plane grow="1" dir="row" wrap="1" height="0">
<!-- side bar -->
@@ -39,5 +39,5 @@
</plane>
<!-- status bar -->
<plane height="30" width="100%" />
</flex>
</node>
</layout>