mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
Partial implementation of the WindowDom system
This commit is contained in:
12
dom_pseudocode.xml
Normal file
12
dom_pseudocode.xml
Normal 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
|
||||
Reference in New Issue
Block a user