ui: Organize members

This commit is contained in:
Hajime Hoshi 2018-01-03 00:23:18 +09:00
parent 9478801076
commit 9578307d7b

View File

@ -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 (