Partial implementation of the WindowDom system

This commit is contained in:
Keavon Chambers
2020-09-01 14:06:47 -07:00
parent 9a5185b5e6
commit 54425bfb9e
4 changed files with 128 additions and 19 deletions

12
dom_pseudocode.xml Normal file
View File

@@ -0,0 +1,12 @@
<window:main>
<col width="100%" height="100%">
</col>
</window:main>
Start with the given root component
For each child_component:
Get the component of the associated child_component tag
Create a DomNode for this component
Give this DomNode its width and height and other layout attributes
Recursively load its children