1use anyhow::{anyhow, Result};
2use uuid::Uuid;
3
4use crate::{Bounds, DisplayId, GlobalPixels, PlatformDisplay, Point, Size};
5
6#[derive(Debug)]
7pub(crate) struct WindowsDisplay;
8
9impl WindowsDisplay {
10 pub(crate) fn new() -> Self {
11 Self
12 }
13}
14
15impl PlatformDisplay for WindowsDisplay {
16 // todo!("windows")
17 fn id(&self) -> DisplayId {
18 DisplayId(1)
19 }
20
21 // todo!("windows")
22 fn uuid(&self) -> Result<Uuid> {
23 Err(anyhow!("not implemented yet."))
24 }
25
26 // todo!("windows")
27 fn bounds(&self) -> Bounds<GlobalPixels> {
28 Bounds::new(
29 Point::new(0.0.into(), 0.0.into()),
30 Size {
31 width: 1920.0.into(),
32 height: 1280.0.into(),
33 },
34 )
35 }
36}