mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/uidriver/glfw: Refactoring
This commit is contained in:
parent
ec912e5cad
commit
1517f80430
@ -57,23 +57,26 @@ 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
|
||||||
initFullscreen bool
|
|
||||||
initCursorMode driver.CursorMode
|
initTitle string
|
||||||
initWindowDecorated bool
|
initVsync bool
|
||||||
initWindowResizable bool
|
initFullscreen bool
|
||||||
initWindowPositionXInDP int
|
initCursorMode driver.CursorMode
|
||||||
initWindowPositionYInDP int
|
initWindowDecorated bool
|
||||||
initWindowWidthInDP int
|
initWindowResizable bool
|
||||||
initWindowHeightInDP int
|
initWindowPositionXInDP int
|
||||||
initWindowFloating bool
|
initWindowPositionYInDP int
|
||||||
initWindowMaximized bool
|
initWindowWidthInDP int
|
||||||
initScreenTransparent bool
|
initWindowHeightInDP int
|
||||||
initFocused bool
|
initWindowFloating bool
|
||||||
|
initWindowMaximized bool
|
||||||
|
initScreenTransparent bool
|
||||||
|
initFocused bool
|
||||||
|
|
||||||
vsyncInited bool
|
vsyncInited bool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user