aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authorEvgeny Rozaliev <rozaliev@gmail.com>2015-06-05 16:38:21 +0300
committerEvgeny Rozaliev <rozaliev@gmail.com>2015-06-05 16:38:35 +0300
commit84703027d63e22361197a1fc74a4949becf5fccb (patch)
tree72c985a88bb03438888c910b55c17fabb36e1048 /src/window.rs
parent76e7a90752ef60a3b48fd20ad3e551945336479d (diff)
downloadglutin-84703027d63e22361197a1fc74a4949becf5fccb.tar.gz
glutin-84703027d63e22361197a1fc74a4949becf5fccb.zip
[add] ios support
Diffstat (limited to 'src/window.rs')
-rw-r--r--src/window.rs6
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,