{"action":"created","issue":{"url":"https://api.github.com/repos/SRL/SRL-6/issues/229","labels_url":"https://api.github.com/repos/SRL/SRL-6/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/SRL/SRL-6/issues/229/comments","events_url":"https://api.github.com/repos/SRL/SRL-6/issues/229/events","html_url":"https://github.com/SRL/SRL-6/pull/229","id":110867352,"number":229,"title":"Added TColorData.waitCount; T2DColorData.waitCount","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":1,"created_at":"2015-10-11T16:48:12Z","updated_at":"2015-11-18T21:58:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SRL/SRL-6/pulls/229","html_url":"https://github.com/SRL/SRL-6/pull/229","diff_url":"https://github.com/SRL/SRL-6/pull/229.diff","patch_url":"https://github.com/SRL/SRL-6/pull/229.patch"},"body":"(*\r\nTColorData.waitCount\r\n~~~~~~~~~~~~~~~~~~~~\r\n\r\n.. code-block:: pascal\r\n\r\n    function TColorData.waitCount(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     TColorData.waitCount(mainScreen.getBounds(), 2000, 50);\r\n*)           "},"comment":{"url":"https://api.github.com/repos/SRL/SRL-6/issues/comments/157877915","html_url":"https://github.com/SRL/SRL-6/pull/229#issuecomment-157877915","issue_url":"https://api.github.com/repos/SRL/SRL-6/issues/229","id":157877915,"user":{"login":"TheTS","id":8165365,"avatar_url":"https://avatars.githubusercontent.com/u/8165365?v=3","gravatar_id":"","url":"https://api.github.com/users/TheTS","html_url":"https://github.com/TheTS","followers_url":"https://api.github.com/users/TheTS/followers","following_url":"https://api.github.com/users/TheTS/following{/other_user}","gists_url":"https://api.github.com/users/TheTS/gists{/gist_id}","starred_url":"https://api.github.com/users/TheTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheTS/subscriptions","organizations_url":"https://api.github.com/users/TheTS/orgs","repos_url":"https://api.github.com/users/TheTS/repos","events_url":"https://api.github.com/users/TheTS/events{/privacy}","received_events_url":"https://api.github.com/users/TheTS/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:58:15Z","updated_at":"2015-11-18T21:58:15Z","body":"Got a chance to look at this (doesn't look like any other developers are active). \r\n\r\nI'd say it can be merged - I think everything should move towards the TColorData types in the future.  One question though, is the wait time normally the last parameter?"}}