[][src]Enum sdl2_sys::SDL_WindowFlags

#[repr(u32)]pub enum SDL_WindowFlags {
    SDL_WINDOW_FULLSCREEN,
    SDL_WINDOW_OPENGL,
    SDL_WINDOW_SHOWN,
    SDL_WINDOW_HIDDEN,
    SDL_WINDOW_BORDERLESS,
    SDL_WINDOW_RESIZABLE,
    SDL_WINDOW_MINIMIZED,
    SDL_WINDOW_MAXIMIZED,
    SDL_WINDOW_INPUT_GRABBED,
    SDL_WINDOW_INPUT_FOCUS,
    SDL_WINDOW_MOUSE_FOCUS,
    SDL_WINDOW_FULLSCREEN_DESKTOP,
    SDL_WINDOW_FOREIGN,
    SDL_WINDOW_ALLOW_HIGHDPI,
    SDL_WINDOW_MOUSE_CAPTURE,
    SDL_WINDOW_ALWAYS_ON_TOP,
    SDL_WINDOW_SKIP_TASKBAR,
    SDL_WINDOW_UTILITY,
    SDL_WINDOW_TOOLTIP,
    SDL_WINDOW_POPUP_MENU,
    SDL_WINDOW_VULKAN,
}

\brief The flags on a window

\sa SDL_GetWindowFlags()

Variants

SDL_WINDOW_FULLSCREEN

< fullscreen window

SDL_WINDOW_OPENGL

< window usable with OpenGL context

SDL_WINDOW_SHOWN

< window is visible

SDL_WINDOW_HIDDEN

< window is not visible

SDL_WINDOW_BORDERLESS

< no window decoration

SDL_WINDOW_RESIZABLE

< window can be resized

SDL_WINDOW_MINIMIZED

< window is minimized

SDL_WINDOW_MAXIMIZED

< window is maximized

SDL_WINDOW_INPUT_GRABBED

< window has grabbed input focus

SDL_WINDOW_INPUT_FOCUS

< window has input focus

SDL_WINDOW_MOUSE_FOCUS

< window has mouse focus

SDL_WINDOW_FULLSCREEN_DESKTOP
SDL_WINDOW_FOREIGN

< window not created by SDL

SDL_WINDOW_ALLOW_HIGHDPI

< window should be created in high-DPI mode if supported. On macOS NSHighResolutionCapable must be set true in the application's Info.plist for this to have any effect.

SDL_WINDOW_MOUSE_CAPTURE

< window has mouse captured (unrelated to INPUT_GRABBED)

SDL_WINDOW_ALWAYS_ON_TOP

< window should always be above others

SDL_WINDOW_SKIP_TASKBAR

< window should not be added to the taskbar

SDL_WINDOW_UTILITY

< window should be treated as a utility window

SDL_WINDOW_TOOLTIP

< window should be treated as a tooltip

SDL_WINDOW_POPUP_MENU

< window should be treated as a popup menu

SDL_WINDOW_VULKAN

< window usable for Vulkan surface

Trait Implementations

impl Clone for SDL_WindowFlags[src]

impl Copy for SDL_WindowFlags[src]

impl Debug for SDL_WindowFlags[src]

impl Eq for SDL_WindowFlags[src]

impl Hash for SDL_WindowFlags[src]

impl PartialEq<SDL_WindowFlags> for SDL_WindowFlags[src]

impl StructuralEq for SDL_WindowFlags[src]

impl StructuralPartialEq for SDL_WindowFlags[src]

Auto Trait Implementations

impl Send for SDL_WindowFlags

impl Sync for SDL_WindowFlags

impl Unpin for SDL_WindowFlags

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.