mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-08 00:05:00 +00:00
Rename ComponentLayout to GuiLayout
This commit is contained in:
parent
870ce74743
commit
decff5681b
3 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@ use crate::window_events;
|
|||
use crate::pipeline::Pipeline;
|
||||
use crate::texture::Texture;
|
||||
use crate::resource_cache::ResourceCache;
|
||||
use crate::component_layout::ComponentLayout;
|
||||
use crate::gui_layout::GuiLayout;
|
||||
use crate::gui_node::GuiNode;
|
||||
use winit::event::*;
|
||||
use winit::event_loop::*;
|
||||
|
@ -75,7 +75,7 @@ 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();
|
||||
GuiLayout::new();
|
||||
|
||||
Self {
|
||||
surface,
|
||||
|
|
|
@ -2,12 +2,12 @@ use std::fs;
|
|||
use std::io;
|
||||
use crate::layout_parsed_node::*;
|
||||
|
||||
pub struct ComponentLayout {
|
||||
pub struct GuiLayout {
|
||||
|
||||
}
|
||||
|
||||
impl ComponentLayout {
|
||||
pub fn new() -> ComponentLayout {
|
||||
impl GuiLayout {
|
||||
pub fn new() -> GuiLayout {
|
||||
let parsed_layout_tree = Self::parse_xml_file("gui/window/main.xml").unwrap();
|
||||
Self::interpret_abstract_syntax_tree(parsed_layout_tree);
|
||||
Self {}
|
|
@ -9,7 +9,7 @@ mod draw_command;
|
|||
mod gui_node;
|
||||
mod gui_attributes;
|
||||
mod window_events;
|
||||
mod component_layout;
|
||||
mod gui_layout;
|
||||
mod layout_parsed_node;
|
||||
|
||||
use application::Application;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue