From 56aafda8495243fa939bdce01f36d4adbf4ec556 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Thu, 16 May 2024 20:28:58 -0400 Subject: Added configurable logfile path --- src/components.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/components.rs') diff --git a/src/components.rs b/src/components.rs index 3ebf507..3814cc7 100644 --- a/src/components.rs +++ b/src/components.rs @@ -11,6 +11,8 @@ use grex_framebuffer_extract::{ render_assets::FramebufferExtractSource, }; +use crate::resources::TerminalWidget; + #[derive(Component)] pub struct TerminalDisplay; @@ -72,3 +74,12 @@ impl TerminalDisplayBundle { } } +#[derive(Component)] +pub struct Widget { + pub widget: Box, + pub depth: u32, + pub enabled: bool, +} + +#[derive(Component)] +pub struct Tooltip(pub String); -- cgit v1.2.3