Allow OSX WindowBuilder to specify 'activation behavior'.
This commit is contained in:
parent
e467819794
commit
dc49156fe6
5 changed files with 74 additions and 23 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue