Make create info serializable
This commit is contained in:
parent
29d6e53b62
commit
e12d65dec6
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
use crate::prelude::*;
|
use crate::prelude::*;
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use assetpath::AssetPath;
|
use assetpath::AssetPath;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
use utilities::prelude::*;
|
use utilities::prelude::*;
|
||||||
use vulkan_rs::prelude::*;
|
use vulkan_rs::prelude::*;
|
||||||
|
|
||||||
|
@ -21,7 +22,7 @@ use std::{ops::Deref, sync::Weak};
|
||||||
|
|
||||||
use paste::paste;
|
use paste::paste;
|
||||||
|
|
||||||
#[derive(Clone, Default, Debug)]
|
#[derive(Deserialize, Serialize, Clone, Default, Debug)]
|
||||||
pub struct GuiHandlerCreateInfo {
|
pub struct GuiHandlerCreateInfo {
|
||||||
// default button textures
|
// default button textures
|
||||||
pub menu_button: AssetPath,
|
pub menu_button: AssetPath,
|
||||||
|
|
Loading…
Reference in a new issue