mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ui: Update the comments
This commit is contained in:
parent
94d0f1137c
commit
145f9f9588
2
run.go
2
run.go
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user