From f25f89101a98ad815c0ae2d25e1a8dc35d53a5dd Mon Sep 17 00:00:00 2001
From: asmrobot <asmrobot@hotmail.com>
Date: Tue, 29 Oct 2019 13:55:37 +0000
Subject: [PATCH] format state machine
---
src/RichCreator.Utility/CV/GroupCVHelper.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/RichCreator.Utility/CV/GroupCVHelper.cs b/src/RichCreator.Utility/CV/GroupCVHelper.cs
index b0bde7f..52360e4 100644
--- a/src/RichCreator.Utility/CV/GroupCVHelper.cs
+++ b/src/RichCreator.Utility/CV/GroupCVHelper.cs
@@ -215,11 +215,11 @@
/// <param name="noPoint"></param>
/// <param name="limitRect"></param>
/// <returns></returns>
- public static bool FindYaoqingZuduiWindow(out ZTPoint yesPoint,out ZTPoint noPoint, ZTRectangle limitRect)
+ public static bool FindYaoqingZuduiWindow(out Structs.ZTPoint yesPoint,out Structs.ZTPoint noPoint, ZTRectangle limitRect)
{
ZTRectangle textRect = ZTRectangle.Empty;
- yesPoint = ZTPoint.Empty;
- noPoint = ZTPoint.Empty;
+ yesPoint = Structs.ZTPoint.Empty;
+ noPoint = Structs.ZTPoint.Empty;
Image<Rgb, byte> image = ScreenCapture.Instance.CaptureScreenReturnImage();
if (!CVHelper.FindColorArray(out textRect, image, YaoqingZuduiWindowTitle, limitRect))
@@ -233,9 +233,9 @@
return false;
}
- ZTPoint center = textRect.GetCenterPoint();
- yesPoint = new ZTPoint(center.X - 28, center.Y + 186);
- noPoint = new ZTPoint(center.X + 28, center.Y + 186);
+ Structs.ZTPoint center = textRect.GetCenterPoint();
+ yesPoint = new Structs.ZTPoint(center.X - 28, center.Y + 186);
+ noPoint = new Structs.ZTPoint(center.X + 28, center.Y + 186);
return true;
}
--
Gitblit v1.9.3