update godoc and fmt code

This commit is contained in:
vcaesar 2018-04-09 17:39:47 +08:00
parent b99914bc5e
commit cc49c369c7

View File

@ -784,6 +784,9 @@ func SetKeyboardDelay(x int) {
*/
// FindBitmap find the bitmap
//
// robotgo.FindBitmap(bitmap, subbitamp C.MMBitmapRef, tolerance float64)
//
func FindBitmap(args ...interface{}) (int, int) {
var (
bit C.MMBitmapRef
@ -810,6 +813,9 @@ func FindBitmap(args ...interface{}) (int, int) {
}
// FindPic finding the image by path
//
// robotgo.FindPic(path string, subbitamp C.MMBitmapRef, tolerance float64)
//
func FindPic(path string, args ...interface{}) (int, int) {
var (
sbit C.MMBitmapRef