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
0c0981c391
commit
00bdf71ec3
@ -16,13 +16,12 @@ package ebiten
|
||||
|
||||
import "github.com/hajimehoshi/ebiten/v2/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