driver: Refactoring: Reorder functions

This commit is contained in:
Hajime Hoshi 2020-04-01 21:28:00 +09:00
parent 19333c51e4
commit 5ad9868d85

View File

@ -36,18 +36,22 @@ type UI interface {
RunWithoutMainLoop(context UIContext)
DeviceScaleFactor() float64
CursorMode() CursorMode
IsFullscreen() bool
IsFocused() bool
IsRunnableOnUnfocused() bool
IsVsyncEnabled() bool
ScreenSizeInFullscreen() (int, int)
IsScreenTransparent() bool
CursorMode() CursorMode
SetCursorMode(mode CursorMode)
IsFullscreen() bool
SetFullscreen(fullscreen bool)
IsRunnableOnUnfocused() bool
SetRunnableOnUnfocused(runnableOnUnfocused bool)
IsVsyncEnabled() bool
SetVsyncEnabled(enabled bool)
IsScreenTransparent() bool
SetScreenTransparent(transparent bool)
Input() Input