mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 07:28:12 +08:00
Add parsing of XML layout files into a ParsedLayoutNode tree
This commit is contained in:
+3
-1
@@ -3,7 +3,7 @@ use crate::window_events;
|
||||
use crate::pipeline::Pipeline;
|
||||
use crate::texture::Texture;
|
||||
use crate::resource_cache::ResourceCache;
|
||||
use crate::draw_command::DrawCommand;
|
||||
use crate::component_layout::ComponentLayout;
|
||||
use crate::gui_node::GuiNode;
|
||||
use winit::event::*;
|
||||
use winit::event_loop::*;
|
||||
@@ -75,6 +75,8 @@ impl Application {
|
||||
let gui_root_data = GuiNode::new(swap_chain_descriptor.width, swap_chain_descriptor.height, ColorPalette::get_color_srgb(ColorPalette::Accent));
|
||||
let gui_root = rctree::Node::new(gui_root_data);
|
||||
|
||||
ComponentLayout::new();
|
||||
|
||||
Self {
|
||||
surface,
|
||||
adapter,
|
||||
|
||||
Reference in New Issue
Block a user