refactor: SurfaceMessage

This commit is contained in:
Ashley Wulber 2025-02-18 00:59:11 -05:00
parent c6ca33457f
commit 56bbc3f289
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
9 changed files with 201 additions and 98 deletions

View file

@ -4,6 +4,7 @@
use std::{cell::OnceCell, collections::HashMap};
use crate::{
surface_message::SurfaceMessage,
theme::menu_bar,
widget::{
button, icon,
@ -18,9 +19,9 @@ use iced_core::{window::Id, Element};
use palette::Srgba;
use slotmap::Key;
use crate::Theme;
use crate::{surface_message::SurfaceMessageHandler, Theme};
use super::{message::SurfaceMessage, Renderer, Task};
use super::{Renderer, Task};
/// Status of the nav bar and its panels.
#[derive(Clone)]