{"action":"created","issue":{"url":"https://api.github.com/repos/SRL/SRL-6/issues/227","labels_url":"https://api.github.com/repos/SRL/SRL-6/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/SRL/SRL-6/issues/227/comments","events_url":"https://api.github.com/repos/SRL/SRL-6/issues/227/events","html_url":"https://github.com/SRL/SRL-6/pull/227","id":110734777,"number":227,"title":"Added waitCountColor","user":{"login":"ThomasSRL","id":13174570,"avatar_url":"https://avatars.githubusercontent.com/u/13174570?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSRL","html_url":"https://github.com/ThomasSRL","followers_url":"https://api.github.com/users/ThomasSRL/followers","following_url":"https://api.github.com/users/ThomasSRL/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSRL/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSRL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSRL/subscriptions","organizations_url":"https://api.github.com/users/ThomasSRL/orgs","repos_url":"https://api.github.com/users/ThomasSRL/repos","events_url":"https://api.github.com/users/ThomasSRL/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSRL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-09T20:58:09Z","updated_at":"2015-10-10T18:30:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SRL/SRL-6/pulls/227","html_url":"https://github.com/SRL/SRL-6/pull/227","diff_url":"https://github.com/SRL/SRL-6/pull/227.diff","patch_url":"https://github.com/SRL/SRL-6/pull/227.patch"},"body":"waitCountColor\r\n~~~~~~~~~~~~~~\r\n\r\n.. code-block:: pascal\r\n\r\n    function waitCountColor(color, tol: integer; area: TBox; waitTime, minCount: integer): boolean;\r\n\r\nCounts the color until waitTime is reached, if the color count is higher then\r\nminCount will exit and result true.\r\n\r\n.. note::\r\n\r\n    - by Thomas\r\n    - Last Updated: 9 October by Thomas\r\n\r\nExample:\r\n\r\n.. code-block:: pascal\r\n\r\n     // would wait until the color count is over 50 or until 2000ms has passed.\r\n     waitCountColor(clBlack, 5, mainScreen.getBounds(), 2000, 50);"},"comment":{"url":"https://api.github.com/repos/SRL/SRL-6/issues/comments/147114808","html_url":"https://github.com/SRL/SRL-6/pull/227#issuecomment-147114808","issue_url":"https://api.github.com/repos/SRL/SRL-6/issues/227","id":147114808,"user":{"login":"ThomasSRL","id":13174570,"avatar_url":"https://avatars.githubusercontent.com/u/13174570?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSRL","html_url":"https://github.com/ThomasSRL","followers_url":"https://api.github.com/users/ThomasSRL/followers","following_url":"https://api.github.com/users/ThomasSRL/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSRL/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSRL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSRL/subscriptions","organizations_url":"https://api.github.com/users/ThomasSRL/orgs","repos_url":"https://api.github.com/users/ThomasSRL/repos","events_url":"https://api.github.com/users/ThomasSRL/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSRL/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T18:30:31Z","updated_at":"2015-10-10T18:30:31Z","body":"I've also written TColorData.waitCount etc, might be more usefull!"}}