Press Play
2012-01-04 02:27:25
function FindColorBox(var x, y: Integer; color: Integer; b: TBox): Boolean;
begin
Result:= FindColor(x, y, color, b.X1, b.Y1, b.X2, b.Y2);
end; I don't believe SRL has this function? Only GetColorBox. This would be useful - I hate having to split up my TBox :p
Could also be implemented for FindColorsTolerance?