mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
ebiten: Add an explicit type to CursorModeType consts for pkg.go.dev
This commit is contained in:
parent
0c0981c391
commit
00bdf71ec3
@ -16,13 +16,12 @@ package ebiten
|
|||||||
|
|
||||||
import "github.com/hajimehoshi/ebiten/v2/internal/driver"
|
import "github.com/hajimehoshi/ebiten/v2/internal/driver"
|
||||||
|
|
||||||
// A CursorModeType represents
|
// CursorModeType represents
|
||||||
// a render and coordinate mode of a mouse cursor.
|
// a render and coordinate mode of a mouse cursor.
|
||||||
type CursorModeType int
|
type CursorModeType int
|
||||||
|
|
||||||
// Cursor Modes
|
|
||||||
const (
|
const (
|
||||||
CursorModeVisible = CursorModeType(driver.CursorModeVisible)
|
CursorModeVisible CursorModeType = CursorModeType(driver.CursorModeVisible)
|
||||||
CursorModeHidden = CursorModeType(driver.CursorModeHidden)
|
CursorModeHidden CursorModeType = CursorModeType(driver.CursorModeHidden)
|
||||||
CursorModeCaptured = CursorModeType(driver.CursorModeCaptured)
|
CursorModeCaptured CursorModeType = CursorModeType(driver.CursorModeCaptured)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user