diff options
author | Evgeny Rozaliev <rozaliev@gmail.com> | 2015-06-05 16:38:21 +0300 |
---|---|---|
committer | Evgeny Rozaliev <rozaliev@gmail.com> | 2015-06-05 16:38:35 +0300 |
commit | 84703027d63e22361197a1fc74a4949becf5fccb (patch) | |
tree | 72c985a88bb03438888c910b55c17fabb36e1048 /src/window.rs | |
parent | 76e7a90752ef60a3b48fd20ad3e551945336479d (diff) | |
download | glutin-84703027d63e22361197a1fc74a4949becf5fccb.tar.gz glutin-84703027d63e22361197a1fc74a4949becf5fccb.zip |
[add] ios support
Diffstat (limited to 'src/window.rs')
-rw-r--r-- | src/window.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window.rs b/src/window.rs index 578c237..664868b 100644 --- a/src/window.rs +++ b/src/window.rs @@ -149,6 +149,12 @@ impl<'a> WindowBuilder<'a> { self } + /// Enables multitouch + pub fn with_multitouch(mut self) -> WindowBuilder<'a> { + self.attribs.multitouch = true; + self + } + /// Builds the window. /// /// Error should be very rare and only occur in case of permission denied, incompatible system, |