74
74
rgba green(0,255,0,255);
75
75
rgba red(255,0,0,255);
77
typedef geometry::Point2d<int> intpoint;
79
77
// A point on the visible green button
80
intpoint visibleGreen(100, 260);
78
point visibleGreen(100, 260);
82
80
// A point on the BIG green button, but not on the small one
83
intpoint bigGreen(100, 352);
81
point bigGreen(100, 352);
85
83
// A point on the yellow box, overlapping the green button
86
intpoint yellowOnGreen(127, 256);
84
point yellowOnGreen(127, 256);
88
86
// A point on the yellow box, not overlapping the green button
89
intpoint yellowOffGreen(136, 231);
87
point yellowOffGreen(136, 231);
91
89
// A point on the BIG yellow box, not overlapping the green button,
92
90
// would be on the small red box...
93
intpoint bigYellowOffGreen(294,365);
91
point bigYellowOffGreen(294,365);
95
93
// A point on the red box, but out of the red button hit area
96
intpoint redNoHit(241, 351);
94
point redNoHit(241, 351);
98
96
// A point on the BIG red button, but not on the small one
99
intpoint bigRedNoHit(330, 397);
97
point bigRedNoHit(330, 397);
101
99
//----------------------------------------