mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 04:22:05 +01:00
ui: Fix comments
This commit is contained in:
parent
6250dd9f9b
commit
90dba581e2
4
run.go
4
run.go
@ -470,6 +470,8 @@ func SetMaxTPS(tps int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// IsScreenTransparent reports whether the window is transparent.
|
// IsScreenTransparent reports whether the window is transparent.
|
||||||
|
//
|
||||||
|
// IsScreenTransparent is concurrent-safe.
|
||||||
func IsScreenTransparent() bool {
|
func IsScreenTransparent() bool {
|
||||||
return uiDriver().IsScreenTransparent()
|
return uiDriver().IsScreenTransparent()
|
||||||
}
|
}
|
||||||
@ -479,6 +481,8 @@ func IsScreenTransparent() bool {
|
|||||||
// SetScreenTransparent panics if SetScreenTransparent is called after the main loop.
|
// SetScreenTransparent panics if SetScreenTransparent is called after the main loop.
|
||||||
//
|
//
|
||||||
// SetScreenTransparent does nothing on mobiles.
|
// SetScreenTransparent does nothing on mobiles.
|
||||||
|
//
|
||||||
|
// SetScreenTransparent is concurrent-safe.
|
||||||
func SetScreenTransparent(transparent bool) {
|
func SetScreenTransparent(transparent bool) {
|
||||||
uiDriver().SetScreenTransparent(transparent)
|
uiDriver().SetScreenTransparent(transparent)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user