Add monitor support for win32
This commit is contained in:
parent
db8955a9d8
commit
d9d293667a
6 changed files with 153 additions and 15 deletions
|
|
@ -24,6 +24,12 @@ pub fn get_primary_monitor() -> MonitorID {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
impl MonitorID {
|
||||
pub fn get_name(&self) -> Option<String> {
|
||||
Some("<Unknown>".to_string())
|
||||
}
|
||||
}
|
||||
|
||||
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