diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-06-29 09:29:46 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-06-29 09:29:46 +0200 |
commit | 836e53e55a94f3126ff17a956fe6328198d20f38 (patch) | |
tree | 9dcd66615bd0467e89fbcd8d6a00c114679c690d /src/lib.rs | |
parent | 164d47b93c7dc95cf52c5ef205a107a8a439e4ef (diff) | |
parent | 7053837ac19d5c6159f492e177d417aa994b7d04 (diff) | |
download | glutin-836e53e55a94f3126ff17a956fe6328198d20f38.tar.gz glutin-836e53e55a94f3126ff17a956fe6328198d20f38.zip |
Merge pull request #477 from rozaliev/feature/ios
[WIP] ios support
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -42,7 +42,7 @@ extern crate gdi32; extern crate user32; #[cfg(target_os = "windows")] extern crate dwmapi; -#[cfg(target_os = "macos")] +#[cfg(any(target_os = "macos", target_os = "ios"))] #[macro_use] extern crate objc; #[cfg(target_os = "macos")] @@ -345,6 +345,7 @@ pub struct BuilderAttribs<'a> { srgb: Option<bool>, transparent: bool, decorations: bool, + multitouch: bool } impl BuilderAttribs<'static> { @@ -371,6 +372,7 @@ impl BuilderAttribs<'static> { srgb: None, transparent: false, decorations: true, + multitouch: false } } } @@ -402,6 +404,7 @@ impl<'a> BuilderAttribs<'a> { srgb: self.srgb, transparent: self.transparent, decorations: self.decorations, + multitouch: self.multitouch }; (new_attribs, sharing) |