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