FlixelLwjgl3Window
View sourceclass
org.flixelgdx.backend.lwjgl3.window.FlixelLwjgl3Window
public final class FlixelLwjgl3Window implements FlixelWindow
GLFW-backed FlixelWindow for the LWJGL3 backend.
Desktop see-through uses FlixelGame.applyBackdropForDesktopTransparency(boolean) from the default FlixelWindow.setTransparencyActive(...) implementation. Do not call glfwSetWindowAttrib(GLFW_TRANSPARENT_FRAMEBUFFER, ...): GLFW reports GLFW_INVALID_ENUM and it is not a supported dynamic attribute on common platforms.
Window position updates use a single logical (x, y) pair and at most one postRunnable per frame batch so separate FlixelLwjgl3Window.setX(int) and FlixelLwjgl3Window.setY(int) calls (for example from independent tween goals) still produce one consistent glfwSetWindowPos snapshot without stale axis readbacks.
Constructors
FlixelLwjgl3Window()
public FlixelLwjgl3Window()
Methods
configureCloseHandlingHook(FlixelLwjgl3WindowListener)
public static void configureCloseHandlingHook(FlixelLwjgl3WindowListener hook)
getOpacity()
public float getOpacity()
setOpacity(float)
public void setOpacity(float opacity)
supportsWindowOpacity()
public boolean supportsWindowOpacity()
setDecorated(boolean)
public void setDecorated(boolean decorated)
supportsDecorated()
public boolean supportsDecorated()
getX()
public int getX()
getY()
public int getY()
setX(int)
public void setX(int x)
setY(int)
public void setY(int y)
setPosition(int, int)
public void setPosition(int x, int y)
changeX(int)
public void changeX(int deltaX)
changeY(int)
public void changeY(int deltaY)
bringToForeground()
public void bringToForeground()
supportsBringToForeground()
public boolean supportsBringToForeground()
setFloating(boolean)
public void setFloating(boolean floating)
supportsFloating()
public boolean supportsFloating()
setAbsorbCloseRequests(boolean)
public void setAbsorbCloseRequests(boolean absorb)
supportsAbsorbCloseRequests()
public boolean supportsAbsorbCloseRequests()
isAbsorbCloseRequests()
public boolean isAbsorbCloseRequests()
isFloating()
public boolean isFloating()
isDecorated()
public boolean isDecorated()