ui: Update the comments

This commit is contained in:
Hajime Hoshi 2020-01-24 11:32:56 +09:00
parent 94d0f1137c
commit 145f9f9588

2
run.go
View File

@ -240,11 +240,13 @@ func RunWithoutMainLoop(f func(*Image) error, width, height int, scale float64,
} }
// ScreenSizeInFullscreen is deprecated as of 1.11.0-alpha. // ScreenSizeInFullscreen is deprecated as of 1.11.0-alpha.
// Use SetFulllscreen, RunGame and the interface Game's Layout instead.
func ScreenSizeInFullscreen() (int, int) { func ScreenSizeInFullscreen() (int, int) {
return uiDriver().ScreenSizeInFullscreen() return uiDriver().ScreenSizeInFullscreen()
} }
// MonitorSize is deprecated as of 1.8.0-alpha. // MonitorSize is deprecated as of 1.8.0-alpha.
// Use SetFulllscreen, RunGame and the interface Game's Layout instead.
func MonitorSize() (int, int) { func MonitorSize() (int, int) {
return ScreenSizeInFullscreen() return ScreenSizeInFullscreen()
} }