summaryrefslogtreecommitdiff
path: root/AnotoData/AnotoStripBoard.cs
blob: 9510c4dea4a69896de9264811b46fa51da5e1064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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;
        }


    }
}