From 42dc1d36235292786322d28340a81c6cb3fd46c0 Mon Sep 17 00:00:00 2001 From: hurter Date: Wed, 31 Aug 2011 16:25:05 +0000 Subject: --- AnotoData/AnotoStripBoard.cs | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 AnotoData/AnotoStripBoard.cs (limited to 'AnotoData/AnotoStripBoard.cs') diff --git a/AnotoData/AnotoStripBoard.cs b/AnotoData/AnotoStripBoard.cs new file mode 100644 index 0000000..9510c4d --- /dev/null +++ b/AnotoData/AnotoStripBoard.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; + +using System.Text; + +namespace AnotoData +{ + public class AnotoStripBoard:AnotoHotArea + { + public AnotoStripBoard() + { + this.Category = Categories.StripBoard; + this.PageIndex = -1; //Multi pages + } + + public override bool IsInside(int x, int y, string page) + { + if ( IsTheCorrectPages(page)) + return true; + return false; + } + + private bool IsTheCorrectPages(string page) + { + if ((page == "1728.0.0.0") || (page == "1728.0.0.1") || + + (page == "1728.0.0.2") || (page == "1728.0.0.3") || + (page == "1728.0.0.4") || (page == "1728.0.0.5") || + + (page == "1728.0.0.6")) + return true; + return false; + } + + + } +} -- cgit v1.1