mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
get/set_size() -> get/set_inner/outer_size()
This commit is contained in:
@@ -221,11 +221,15 @@ impl Window {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_size(&self) -> (uint, uint) {
|
||||
pub fn get_inner_size(&self) -> (uint, uint) {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn set_size(&self, x: uint, y: uint) {
|
||||
pub fn get_outer_size(&self) -> (uint, uint) {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub fn set_inner_size(&self, x: uint, y: uint) {
|
||||
use libc;
|
||||
|
||||
unsafe {
|
||||
|
||||
Reference in New Issue
Block a user