// // WindowAttributeSetter.cs // // Copyright (C) 2019 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // namespace OpenToolkit.GraphicsLibraryFramework { /// /// Used to get window related attributes. /// /// public enum WindowAttributeGetter { /// /// Indicates whether the specified window has input focus. /// Initial input focus is controlled by the window hint with the same name /// Focused = WindowHintBool.Focused, /// /// Indicates whether the specified window is iconified, /// whether by the user or with . /// Iconified = WindowHintBool.Iconified, /// /// Indicates whether the specified window is resizable by the user. /// This is set on creation with the window hint with the same name. /// Resizable = WindowHintBool.Resizable, /// /// Indicates whether the specified window is visible. /// Window visibility can be controlled with and /// and initial visibility is controlled by the window hint with the same name. /// Visible = WindowHintBool.Visible, /// /// Indicates whether the specified window has decorations such as a border,a close widget, etc. /// This is set on creation with the window hint with the same name. /// Decorated = WindowHintBool.Decorated, /// /// Specifies whether the full screen window will automatically iconify and restore /// the previous video mode on input focus loss. /// Possible values are true and false. This hint is ignored for windowed mode windows. /// AutoIconify = WindowHintBool.AutoIconify, /// /// Indicates whether the specified window is floating, also called topmost or always-on-top. /// This is controlled by the window hint with the same name. /// Floating = WindowHintBool.Floating, /// /// Indicates whether the specified window is maximized, /// whether by the user or with . /// Maximized = WindowHintBool.Maximized, /// /// Specifies whether the cursor should be centered over newly created full screen windows. /// Possible values are true and false. This hint is ignored for windowed mode windows. /// CenterCursor = WindowHintBool.CenterCursor, /// /// Specifies whether the window framebuffer will be transparent. /// If enabled and supported by the system, the window framebuffer alpha channel will be used /// to combine the framebuffer with the background. /// This does not affect window decorations. Possible values are true and false. /// TransparentFramebuffer = WindowHintBool.TransparentFramebuffer, /// /// indicates whether the cursor is currently directly over the client area of the window, /// with no other windows between. /// See Cursor enter/leave events /// for details. /// Hovered = WindowHintBool.Hovered, /// /// Specifies whether the window will be given input focus when is called. /// Possible values are true and false. /// FocusOnShow = WindowHintBool.FocusOnShow, } }