Add API for monitors
This commit is contained in:
parent
8911e162ce
commit
db8955a9d8
4 changed files with 95 additions and 0 deletions
|
|
@ -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>)>>)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue