From 8cc86c8d2599586bd736913075f32306945054bb Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 25 Aug 2017 19:30:14 +0800 Subject: [PATCH] Update examples --- examples/bitmap/main.go | 2 ++ examples/main.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/bitmap/main.go b/examples/bitmap/main.go index ba52331..25396c9 100644 --- a/examples/bitmap/main.go +++ b/examples/bitmap/main.go @@ -62,4 +62,6 @@ func main() { // open image bitmap openbit := robotgo.OpenBitmap("test.tif") fmt.Println("openBitmap...", openbit) + fx, fy = robotgo.FindBitmap(openbit) + fmt.Println("FindBitmap------", fx, fy) } diff --git a/examples/main.go b/examples/main.go index f4825ea..33f2616 100644 --- a/examples/main.go +++ b/examples/main.go @@ -169,6 +169,8 @@ func bitmap() { // open image bitmap openbit := robotgo.OpenBitmap("test.tif") fmt.Println("openBitmap...", openbit) + fx, fy = robotgo.FindBitmap(openbit) + fmt.Println("FindBitmap------", fx, fy) } func event() {