Class WindowConfig
java.lang.Object
dev.prozilla.pine.core.state.config.WindowConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BooleanConfigOptionEnables toggling between fullscreen and windowed mode with a keyboard shortcut.final BooleanConfigOptionEnables vertical synchronization of the window.final BooleanConfigOptionDetermines whether the window is in fullscreen or windowed mode.final IntConfigOptionHeight of the window.final ObjectConfigOption<String[]> Icon of the window.final BooleanConfigOptionDetermines whether the window will have window decorations such as a border, a close widget, etc.final StringConfigOptionTitle of the window.final IntConfigOptionWidth of the window. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WIDTH
-
HEIGHT
-
TITLE
-
ICON
-
SHOW_DECORATIONS
-
FULLSCREEN
-
ENABLE_VSYNC
-
ENABLE_TOGGLE_FULLSCREEN
-
width
Width of the window. Defaults to900. -
height
Height of the window. Defaults to600. -
title
Title of the window. Defaults to"Untitled". -
icon
Icon of the window. Defaults tonull. -
showDecorations
Determines whether the window will have window decorations such as a border, a close widget, etc. Defaults totrue. -
fullscreen
Determines whether the window is in fullscreen or windowed mode. Defaults tofalse. -
enableVSync
Enables vertical synchronization of the window. Defaults totrue. -
enableToggleFullscreen
Enables toggling between fullscreen and windowed mode with a keyboard shortcut. Defaults totrue.
-
-
Constructor Details
-
WindowConfig
public WindowConfig()
-