mouse

package
v0.0.0-...-1623ecf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TMouse

type TMouse struct {
	// contains filtered or unexported fields
}

TMouse -- операции с мышью

func GetMouse

func GetMouse() *TMouse

GetMouse -- возвращает (при нобходимости создаёт новый)*TMouse

func (*TMouse) Close

func (sf *TMouse) Close()

Close -- обязательный вызов в конце работы

func (*TMouse) Pos

func (sf *TMouse) Pos() *pos.TPos

Pos -- возвращает объект координат мыши

func (*TMouse) PosGet

func (sf *TMouse) PosGet() (x, y float64)

PosGet -- возвращает хранимые координаты мыши

func (*TMouse) PosSet

func (sf *TMouse) PosSet(x, y float64)

PosSet -- принудительно устанавливает положение мыши на экране

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL