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) RunWithoutMainLoop(context UIContext)
DeviceScaleFactor() float64 DeviceScaleFactor() float64
CursorMode() CursorMode
IsFullscreen() bool
IsFocused() bool IsFocused() bool
IsRunnableOnUnfocused() bool
IsVsyncEnabled() bool
ScreenSizeInFullscreen() (int, int) ScreenSizeInFullscreen() (int, int)
IsScreenTransparent() bool
CursorMode() CursorMode
SetCursorMode(mode CursorMode) SetCursorMode(mode CursorMode)
IsFullscreen() bool
SetFullscreen(fullscreen bool) SetFullscreen(fullscreen bool)
IsRunnableOnUnfocused() bool
SetRunnableOnUnfocused(runnableOnUnfocused bool) SetRunnableOnUnfocused(runnableOnUnfocused bool)
IsVsyncEnabled() bool
SetVsyncEnabled(enabled bool) SetVsyncEnabled(enabled bool)
IsScreenTransparent() bool
SetScreenTransparent(transparent bool) SetScreenTransparent(transparent bool)
Input() Input Input() Input