diff options
author | Victor Berger <victor.berger@m4x.org> | 2015-12-08 22:54:06 +0100 |
---|---|---|
committer | Victor Berger <victor.berger@m4x.org> | 2015-12-22 14:36:41 +0100 |
commit | 1b25d705ce2110b097b98f37f5e7dd9dc3a9d82c (patch) | |
tree | d3263019c41c2a4cd44be9959783bd499f5cd3e1 /src/api/wayland/monitor.rs | |
parent | fad2e77a36e79594de5e13072e6273f671154b9e (diff) | |
download | glutin-1b25d705ce2110b097b98f37f5e7dd9dc3a9d82c.tar.gz glutin-1b25d705ce2110b097b98f37f5e7dd9dc3a9d82c.zip |
api/wayland: move window and monitor to mods.
Diffstat (limited to 'src/api/wayland/monitor.rs')
-rw-r--r-- | src/api/wayland/monitor.rs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/api/wayland/monitor.rs b/src/api/wayland/monitor.rs new file mode 100644 index 0000000..3a42f1f --- /dev/null +++ b/src/api/wayland/monitor.rs @@ -0,0 +1,28 @@ +use std::collections::VecDeque; + +#[derive(Clone)] +pub struct MonitorId; + +#[inline] +pub fn get_available_monitors() -> VecDeque<MonitorId> { + unimplemented!() +} +#[inline] +pub fn get_primary_monitor() -> MonitorId { + unimplemented!() +} + +impl MonitorId { + pub fn get_name(&self) -> Option<String> { + unimplemented!() + } + + #[inline] + pub fn get_native_identifier(&self) -> ::native_monitor::NativeMonitorId { + unimplemented!() + } + + pub fn get_dimensions(&self) -> (u32, u32) { + unimplemented!() + } +}
\ No newline at end of file |