Documentation ¶
Index ¶
- Variables
- type DefaultInternalHandler
- func (handler *DefaultInternalHandler) AfterDraw(screen *ebiten.Image)
- func (handler *DefaultInternalHandler) CursorPosition() (int, int)
- func (handler *DefaultInternalHandler) Draw(screen *ebiten.Image)
- func (handler *DefaultInternalHandler) GetCursorImage(name string) *ebiten.Image
- func (handler *DefaultInternalHandler) GetCursorOffset(name string) image.Point
- func (handler *DefaultInternalHandler) MouseButtonJustPressed(b ebiten.MouseButton) bool
- func (handler *DefaultInternalHandler) MouseButtonPressed(b ebiten.MouseButton) bool
- func (handler *DefaultInternalHandler) SetCursorImage(name string, cursorImage *ebiten.Image, offset image.Point)
- func (handler *DefaultInternalHandler) Update()
Constants ¶
This section is empty.
Variables ¶
View Source
var InternalUIHovered = false
Functions ¶
This section is empty.
Types ¶
type DefaultInternalHandler ¶
type DefaultInternalHandler struct { LeftMouseButtonPressed bool MiddleMouseButtonPressed bool RightMouseButtonPressed bool CursorX int CursorY int WheelX float64 WheelY float64 LeftMouseButtonJustPressed bool MiddleMouseButtonJustPressed bool RightMouseButtonJustPressed bool LastLeftMouseButtonPressed bool LastMiddleMouseButtonPressed bool LastRightMouseButtonPressed bool InputChars []rune KeyPressed map[ebiten.Key]bool AnyKeyPressed bool // contains filtered or unexported fields }
func (*DefaultInternalHandler) AfterDraw ¶
func (handler *DefaultInternalHandler) AfterDraw(screen *ebiten.Image)
func (*DefaultInternalHandler) CursorPosition ¶
func (handler *DefaultInternalHandler) CursorPosition() (int, int)
func (*DefaultInternalHandler) Draw ¶
func (handler *DefaultInternalHandler) Draw(screen *ebiten.Image)
func (*DefaultInternalHandler) GetCursorImage ¶
func (handler *DefaultInternalHandler) GetCursorImage(name string) *ebiten.Image
func (*DefaultInternalHandler) GetCursorOffset ¶
func (handler *DefaultInternalHandler) GetCursorOffset(name string) image.Point
func (*DefaultInternalHandler) MouseButtonJustPressed ¶
func (handler *DefaultInternalHandler) MouseButtonJustPressed(b ebiten.MouseButton) bool
func (*DefaultInternalHandler) MouseButtonPressed ¶
func (handler *DefaultInternalHandler) MouseButtonPressed(b ebiten.MouseButton) bool
func (*DefaultInternalHandler) SetCursorImage ¶
func (handler *DefaultInternalHandler) SetCursorImage(name string, cursorImage *ebiten.Image, offset image.Point)
func (*DefaultInternalHandler) Update ¶
func (handler *DefaultInternalHandler) Update()
Update updates the input system. This is called by the UI.
Click to show internal directories.
Click to hide internal directories.