Add parsing of XML layout files into a ParsedLayoutNode tree

This commit is contained in:
Keavon Chambers
2020-05-25 22:08:27 -07:00
parent 474b2b39f9
commit f8025b15ea
13 changed files with 221 additions and 55 deletions
+8 -8
View File
@@ -1,20 +1,20 @@
<header.file-menu>
<header:file-menu>
<box height="100%" x-padding="10px">
<text height="100%" y-align="0.5" :color="mildwhite"></text>
<text height="100%" y-align="0.5" :color="[mildwhite]"></text>
</box>
<box height="100%" x-padding="10px">
<text height="100%" y-align="0.5" :color="mildwhite">File</text>
<text height="100%" y-align="0.5" :color="[mildwhite]">File</text>
</box>
<box height="100%" x-padding="10px">
<text height="100%" y-align="0.5" :color="mildwhite">Edit</text>
<text height="100%" y-align="0.5" :color="[mildwhite]">Edit</text>
</box>
<box height="100%" x-padding="10px">
<text height="100%" y-align="0.5" :color="mildwhite">Comp</text>
<text height="100%" y-align="0.5" :color="[mildwhite]">Comp</text>
</box>
<box height="100%" x-padding="10px">
<text height="100%" y-align="0.5" :color="mildwhite">View</text>
<text height="100%" y-align="0.5" :color="[mildwhite]">View</text>
</box>
<box height="100%" x-padding="10px">
<text height="100%" y-align="0.5" :color="mildwhite">Help</text>
<text height="100%" y-align="0.5" :color="[mildwhite]">Help</text>
</box>
</header.file-menu>
</header:file-menu>
+2 -2
View File
@@ -1,4 +1,4 @@
<header.window-buttons :maximized="IS_MAXIMIZED">
<header:window-buttons :maximized="IS_MAXIMIZED">
<box height="100%" y-align="0.5" x-padding="18px">
<icon :src="window_minimize.svg" />
</box>
@@ -13,4 +13,4 @@
<box height="100%" y-align="0.5" x-padding="18px">
<icon :src="window_close.svg" />
</box>
</header.window-buttons>
</header:window-buttons>