Description
The Editor.WindowFlags.SplashScreen
field is a member of the Editor.WindowFlags
enumeration. This flag is used to specify that a window should be treated as a splash screen. Splash screens are typically used to display a brief introductory image or animation while an application is loading.
When a window is flagged as a splash screen, it may have specific behaviors such as being displayed without a window border or being non-interactive, depending on the platform and window manager.
Usage
To use the SplashScreen
flag, you can combine it with other WindowFlags
using a bitwise OR operation. This allows you to customize the behavior and appearance of your window. For example, you might want to create a splash screen that stays on top of other windows:
var windowFlags = Editor.WindowFlags.SplashScreen | Editor.WindowFlags.WindowStaysOnTopHint;
Apply these flags when creating or configuring a window in your application to ensure it behaves as a splash screen.
Example
// Example of using the SplashScreen flag
var windowFlags = Editor.WindowFlags.SplashScreen | Editor.WindowFlags.WindowStaysOnTopHint;
// Assuming you have a method to create a window with specific flags
CreateWindow("My Splash Screen", windowFlags);