Add API for monitors
This commit is contained in:
parent
8911e162ce
commit
db8955a9d8
4 changed files with 95 additions and 0 deletions
|
|
@ -16,6 +16,14 @@ pub struct Window {
|
|||
|
||||
pub struct MonitorID(uint);
|
||||
|
||||
pub fn get_available_monitors() -> Vec<MonitorID> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn get_primary_monitor() -> MonitorID {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
|
||||
-> Result<Window, String>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue