From f2d112213ba889eddb6c1b0fab878bcd4f500c64 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Fri, 19 Dec 2014 05:06:56 +1000 Subject: Add experimental attribute since this API will need to be cleaned up. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index eee166b..a1c0a28 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -486,6 +486,7 @@ impl Window { /// Sets a resize callback that is called by Mac (and potentially other /// operating systems) during resize operations. This can be used to repaint /// during window resizing. + #[experimental] pub fn set_window_resize_callback(&mut self, callback: Option) { self.window.set_window_resize_callback(callback); } @@ -550,6 +551,7 @@ impl HeadlessContext { self.context.get_api() } + #[experimental] pub fn set_window_resize_callback(&mut self, _: Option) { } } -- cgit v1.2.3