Implement get_position for win32 and fix interface

This commit is contained in:
Tomaka17 2014-07-27 22:46:30 +02:00
parent 14a697b272
commit 1f0999e6a0
5 changed files with 31 additions and 7 deletions

View file

@ -52,7 +52,7 @@ impl Window {
}
#[inline]
pub fn get_position(&self) -> (uint, uint) {
pub fn get_position(&self) -> (int, int) {
self.window.get_position()
}