Add missing get_api stubs.

Add hidpi_factor() support for retina displays.
Fix Resize and MouseMoved events to handle retina displays.
Fix inverted y position for MouseMoved events on mac.
Fix initial painting on retina display.
This commit is contained in:
Glenn Watson 2014-12-19 11:27:03 +10:00
parent bcda363188
commit fd5e77f23e
6 changed files with 49 additions and 3 deletions

View file

@ -289,6 +289,10 @@ impl Window {
pub fn set_cursor(&self, cursor: MouseCursor) {
unimplemented!()
}
pub fn hidpi_factor(&self) -> f32 {
1.0
}
}
#[unsafe_destructor]