Add API for monitors

This commit is contained in:
Tomaka17 2014-07-31 09:56:53 +02:00
parent 8911e162ce
commit db8955a9d8
4 changed files with 95 additions and 0 deletions

View file

@ -19,6 +19,14 @@ pub struct Window {
pub struct MonitorID(uint);
pub fn get_available_monitors() -> Vec<MonitorID> {
unimplemented!()
}
pub fn get_primary_monitor() -> MonitorID {
unimplemented!()
}
/// Stores the list of all the windows.
/// Only available on callback thread.
local_data_key!(pub WINDOWS_LIST: Mutex<Vec<(ffi::HWND, Sender<Event>)>>)