use objc2::__framework_prelude::*;
use crate::*;
extern_methods!(
#[cfg(all(feature = "NSResponder", feature = "NSView"))]
unsafe impl NSView {
#[deprecated = "Use NSOpenGLView instead."]
#[method(wantsBestResolutionOpenGLSurface)]
pub unsafe fn wantsBestResolutionOpenGLSurface(&self) -> bool;
#[deprecated = "Use NSOpenGLView instead."]
#[method(setWantsBestResolutionOpenGLSurface:)]
pub fn setWantsBestResolutionOpenGLSurface(
&self,
wants_best_resolution_open_gl_surface: bool,
);
}
);
extern_methods!(
#[cfg(all(feature = "NSResponder", feature = "NSView"))]
unsafe impl NSView {
#[deprecated = "Use NSOpenGLView instead."]
#[method(wantsExtendedDynamicRangeOpenGLSurface)]
pub unsafe fn wantsExtendedDynamicRangeOpenGLSurface(&self) -> bool;
#[deprecated = "Use NSOpenGLView instead."]
#[method(setWantsExtendedDynamicRangeOpenGLSurface:)]
pub unsafe fn setWantsExtendedDynamicRangeOpenGLSurface(
&self,
wants_extended_dynamic_range_open_gl_surface: bool,
);
}
);