Enum sdl2_sys::SDL_WindowFlags [−][src]
#[repr(u32)]
pub enum SDL_WindowFlags {
Show 22 variants
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,
SDL_WINDOW_METAL,
}
Expand description
\brief The flags on a window
\sa SDL_GetWindowFlags()
Variants
< fullscreen window
< window usable with OpenGL context
< window is visible
< window is not visible
< no window decoration
< window can be resized
< window is minimized
< window is maximized
< window has grabbed input focus
< window has input focus
< window has mouse focus
< window not created by SDL
< 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.
< window has mouse captured (unrelated to INPUT_GRABBED)
< window should always be above others
< window should not be added to the taskbar
< window should be treated as a utility window
< window should be treated as a tooltip
< window should be treated as a popup menu
< window usable for Vulkan surface
< window usable for Metal view