use slint::{PhysicalSize, platform::WindowAdapter};
use std::rc::Rc;
#[derive(Debug)]
pub struct SpellSkiaWinAdapterDummy {
pub(crate) window: bool,
pub(crate) size: bool,
pub(crate) renderer: bool,
pub(crate) needs_redraw: bool,
}
impl WindowAdapter for SpellSkiaWinAdapterDummy {
fn window(&self) -> &slint::Window {
&self.window
}
fn size(&self) -> PhysicalSize {
self.size
}
fn renderer(&self) -> &dyn slint::platform::Renderer {
&self.renderer
}
fn request_redraw(&self) {}
}
impl SpellSkiaWinAdapterDummy {
pub fn new(shared_core: bool, width: u32, height: u32) -> Rc<Self> {}
pub fn draw(&self) -> bool {}
}