display_options::View done

This commit is contained in:
Aleksander
2025-12-20 13:54:09 +01:00
parent e81c3945e6
commit 5462e84995
15 changed files with 370 additions and 151 deletions

View File

@@ -13,7 +13,10 @@ use wgui::{
widget::{label::WidgetLabel, rectangle::WidgetRectangle},
windowing::{WguiWindow, WguiWindowParams, WguiWindowParamsExtra, WguiWindowPlacement},
};
use wlx_common::{dash_interface, timestep::Timestep};
use wlx_common::{
dash_interface::{self, BoxDashInterface},
timestep::Timestep,
};
use crate::{
assets, settings,
@@ -41,7 +44,7 @@ pub struct Frontend {
globals: WguiGlobals,
pub settings: Box<dyn settings::SettingsIO>,
pub interface: Box<dyn dash_interface::DashInterface>,
pub interface: BoxDashInterface,
#[allow(dead_code)]
state: ParserState,
@@ -63,7 +66,7 @@ pub struct Frontend {
pub struct InitParams {
pub settings: Box<dyn settings::SettingsIO>,
pub interface: Box<dyn dash_interface::DashInterface>,
pub interface: BoxDashInterface,
}
pub type RcFrontend = Rc<RefCell<Frontend>>;