Documentation ¶
Index ¶
- func AddEvent(aeve string) int
- func CaptureScreen(args ...int) C.MMBitmapRef
- func Click(args ...interface{})
- func CloseWindow()
- func Convert(args ...interface{})
- func Drag(x, y int)
- func DragMouse(x, y int)
- func FindBitmap(args ...interface{}) (int, int)
- func GetActive() C.MData
- func GetHandle() int
- func GetMousePos() (int, int)
- func GetPixelColor(x, y int) string
- func GetPortion(bit C.MMBitmapRef, x, y, w, h C.size_t) C.MMBitmapRef
- func GetScreenSize() (int, int)
- func GetTitle() string
- func GetVersion() string
- func GetXDisplayName() string
- func IsValid() bool
- func KeyTap(args ...interface{})
- func KeyToggle(args ...string) string
- func LEvent(aeve string) int
- func MouseClick(args ...interface{})
- func MouseToggle(args ...interface{})
- func Move(x, y int)
- func MoveClick(x, y int, args ...interface{})
- func MoveMouse(x, y int)
- func MoveMouseSmooth(x, y int, args ...float64)
- func MoveSmooth(x, y int, args ...float64)
- func OpenBitmap(args ...interface{}) C.MMBitmapRef
- func SaveBitmap(args ...interface{}) string
- func ScrollMouse(x int, y string)
- func SetActive(win C.MData)
- func SetHandle(hwnd int)
- func SetKeyDelay(x int)
- func SetKeyboardDelay(x int)
- func SetMouseDelay(x int)
- func SetXDisplayName(name string) string
- func ShowAlert(title, msg string, args ...string) int
- func StopEvent()
- func TostringBitmap(bit C.MMBitmapRef) *C.char
- func Try(fun func(), handler func(interface{}))
- func TypeStrDelay(x string, y int)
- func TypeString(x string)
- func TypeStringDelayed(x string, y int)
- type Bitmap
- type MPoint
- type Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPortion ¶
func GetPortion(bit C.MMBitmapRef, x, y, w, h C.size_t) C.MMBitmapRef
GetPortion Get Portion
func MoveMouseSmooth ¶
MoveMouseSmooth Move the Mouse Smooth
func TypeStringDelayed ¶
TypeStringDelayed Type String Delayed
Types ¶
type Bitmap ¶
type Bitmap struct { ImageBuffer *uint8 Width int Height int Bytewidth int BitsPerPixel uint8 BytesPerPixel uint8 }
Bitmap is Bitmap struct type Bit_map struct {
func BCaptureScreen ¶
BCaptureScreen Capture the Screen func Capture_Screen(args ...int) Bitmap {
Click to show internal directories.
Click to hide internal directories.