use std::{collections::HashMap, sync::Arc}; use parking_lot::Mutex; use crate::{layout::align_rect, *}; #[derive(Clone, Copy)] pub enum CursorIcon { Default, ResizeNorthWestSouthEast, } impl Default for CursorIcon { fn default() -> Self { CursorIcon::Default } } /// Contains the input, style and output of all GUI commands. pub struct Context { /// The default style for new regions pub(crate) style: Mutex