diff options
author | Corey Farwell <coreyf@rwell.org> | 2016-04-28 19:30:44 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2016-04-29 10:43:30 -0400 |
commit | dc49156fe6bd2d15c4bd5e5f9e1ff6f3ffe7d334 (patch) | |
tree | 11e04bd8607b2443b05e0781fa63c58dfff1f19d /src/window.rs | |
parent | e46781979499e47e04697fe96994dfe96b7f1e59 (diff) | |
download | glutin-dc49156fe6bd2d15c4bd5e5f9e1ff6f3ffe7d334.tar.gz glutin-dc49156fe6bd2d15c4bd5e5f9e1ff6f3ffe7d334.zip |
Allow OSX WindowBuilder to specify 'activation behavior'.
Diffstat (limited to 'src/window.rs')
-rw-r--r-- | src/window.rs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/window.rs b/src/window.rs index 6d2f0d3..8e82c1d 100644 --- a/src/window.rs +++ b/src/window.rs @@ -16,26 +16,12 @@ use PixelFormatRequirements; use Robustness; use Window; use WindowAttributes; +use WindowBuilder; use native_monitor::NativeMonitorId; use libc; use platform; -/// Object that allows you to build windows. -pub struct WindowBuilder<'a> { - /// The attributes to use to create the window. - pub window: WindowAttributes, - - /// The attributes to use to create the context. - pub opengl: GlAttributes<&'a platform::Window>, - - // Should be made public once it's stabilized. - pf_reqs: PixelFormatRequirements, - - /// Platform-specific configuration. - platform_specific: platform::PlatformSpecificWindowBuilderAttributes, -} - impl<'a> WindowBuilder<'a> { /// Initializes a new `WindowBuilder` with default values. #[inline] |