mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 06:18:12 +08:00
Implement abstract syntax tree parsing of XML layout
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ impl Application {
|
||||
let gui_rect_pipeline = Pipeline::new(&device, swap_chain_descriptor.format, vec![], &mut shader_cache, ("shaders/shader.vert", "shaders/shader.frag"));
|
||||
pipeline_cache.set("gui_rect", gui_rect_pipeline);
|
||||
|
||||
let gui_root_data = GuiNode::new(swap_chain_descriptor.width, swap_chain_descriptor.height, ColorPalette::get_color_srgb(ColorPalette::Accent));
|
||||
let gui_root_data = GuiNode::new(swap_chain_descriptor.width, swap_chain_descriptor.height, ColorPalette::Accent.into_color_srgb());
|
||||
let gui_root = rctree::Node::new(gui_root_data);
|
||||
|
||||
GuiLayout::new();
|
||||
|
||||
Reference in New Issue
Block a user