mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
ui: Organize members
This commit is contained in:
parent
9478801076
commit
9578307d7b
@ -31,25 +31,30 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type userInterface struct {
|
type userInterface struct {
|
||||||
title string
|
title string
|
||||||
window *glfw.Window
|
window *glfw.Window
|
||||||
width int
|
width int
|
||||||
windowWidth int
|
windowWidth int
|
||||||
height int
|
height int
|
||||||
scale float64
|
|
||||||
cachedDeviceScale float64
|
scale float64
|
||||||
cachedGLFWScale float64
|
cachedDeviceScale float64
|
||||||
fullscreenScale float64
|
cachedGLFWScale float64
|
||||||
funcs chan func()
|
fullscreenScale float64
|
||||||
|
|
||||||
running bool
|
running bool
|
||||||
sizeChanged bool
|
sizeChanged bool
|
||||||
origPosX int
|
origPosX int
|
||||||
origPosY int
|
origPosY int
|
||||||
initFullscreen bool
|
|
||||||
initCursorVisible bool
|
|
||||||
initIconImages []image.Image
|
|
||||||
runnableInBackground bool
|
runnableInBackground bool
|
||||||
m sync.Mutex
|
|
||||||
|
initFullscreen bool
|
||||||
|
initCursorVisible bool
|
||||||
|
initIconImages []image.Image
|
||||||
|
|
||||||
|
funcs chan func()
|
||||||
|
|
||||||
|
m sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user