Refactor layout system and abstract data types to separate definitions and tags

This commit is contained in:
Keavon Chambers
2020-08-02 21:41:01 -07:00
parent 5ffe92fa70
commit 214c1c09ac
9 changed files with 515 additions and 345 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ impl Application {
// Main window in the XML layout language
let mut main_window_layout = LayoutSystem::new();
main_window_layout.load_layout_component("window", "main");
main_window_layout.add_window(("window", "main"));
Self {
surface,