internal/uidriver/glfw: Refactoring

This commit is contained in:
Hajime Hoshi 2021-02-11 04:00:37 +09:00
parent ec912e5cad
commit 1517f80430

View File

@ -57,11 +57,14 @@ type UserInterface struct {
lastDeviceScaleFactor float64 lastDeviceScaleFactor float64
// These values are not changed after initialized.
// TODO: the fullscreen size should be updated when the initial window position is changed?
initMonitor *glfw.Monitor initMonitor *glfw.Monitor
initTitle string
initVsync bool
initFullscreenWidthInDP int initFullscreenWidthInDP int
initFullscreenHeightInDP int initFullscreenHeightInDP int
initTitle string
initVsync bool
initFullscreen bool initFullscreen bool
initCursorMode driver.CursorMode initCursorMode driver.CursorMode
initWindowDecorated bool initWindowDecorated bool