From 84703027d63e22361197a1fc74a4949becf5fccb Mon Sep 17 00:00:00 2001 From: Evgeny Rozaliev Date: Fri, 5 Jun 2015 16:38:21 +0300 Subject: [add] ios support --- src/window.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/window.rs') 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, -- cgit v1.2.3