2019-06-25 03:15:34 +02:00
|
|
|
use crate::dpi::{PhysicalPosition, PhysicalSize};
|
2019-07-11 00:54:54 +02:00
|
|
|
use crate::monitor::VideoMode;
|
2019-06-25 03:15:34 +02:00
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
|
|
|
pub struct Handle;
|
|
|
|
|
|
|
|
|
|
impl Handle {
|
|
|
|
|
pub fn hidpi_factor(&self) -> f64 {
|
|
|
|
|
1.0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn position(&self) -> PhysicalPosition {
|
|
|
|
|
unimplemented!();
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-11 00:54:54 +02:00
|
|
|
pub fn name(&self) -> Option<String> {
|
2019-06-25 03:15:34 +02:00
|
|
|
unimplemented!();
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-11 00:54:54 +02:00
|
|
|
pub fn size(&self) -> PhysicalSize {
|
2019-06-25 03:15:34 +02:00
|
|
|
unimplemented!();
|
|
|
|
|
}
|
2019-07-11 00:54:54 +02:00
|
|
|
|
|
|
|
|
pub fn video_modes(&self) -> impl Iterator<Item = VideoMode> {
|
|
|
|
|
// TODO: is this possible ?
|
|
|
|
|
std::iter::empty()
|
|
|
|
|
}
|
2019-06-25 03:15:34 +02:00
|
|
|
}
|