{"action":"closed","number":772,"pull_request":{"url":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/772","id":105739363,"html_url":"https://github.com/OpenCPN/OpenCPN/pull/772","diff_url":"https://github.com/OpenCPN/OpenCPN/pull/772.diff","patch_url":"https://github.com/OpenCPN/OpenCPN/pull/772.patch","issue_url":"https://api.github.com/repos/OpenCPN/OpenCPN/issues/772","number":772,"state":"closed","locked":false,"title":"Make tide rectangles' displayed size depend screen resolution","user":{"login":"paulkube","id":25650153,"avatar_url":"https://avatars.githubusercontent.com/u/25650153?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkube","html_url":"https://github.com/paulkube","followers_url":"https://api.github.com/users/paulkube/followers","following_url":"https://api.github.com/users/paulkube/following{/other_user}","gists_url":"https://api.github.com/users/paulkube/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkube/subscriptions","organizations_url":"https://api.github.com/users/paulkube/orgs","repos_url":"https://api.github.com/users/paulkube/repos","events_url":"https://api.github.com/users/paulkube/events{/privacy}","received_events_url":"https://api.github.com/users/paulkube/received_events","type":"User","site_admin":false},"body":"The size of tide rectangles (the rectangular \"icons\" drawn on the\r\nchart to show tide height at tide stations) was previously hard-coded\r\nin terms of pixels, and so the rectangles become too small to be\r\nreadable on high-resolution displays. The changes in this commit make\r\nthe size of the tide rectangles depend on screen resolution, to be\r\nreadable on any display.\r\n\r\nThe changes also introduce a parameter TideRectangleScale, default\r\nvalue 100, which can be set in the opencpn configuration file to allow\r\nusers to modify the scaling of the tide reactangles, by analogy with the\r\nexisting CurrentArrowScale parameter for adjusting displayed size of\r\ncurrent arrows.\r\n\r\nThe changes have been tested under Ubuntu 16.04 LTS and Windows 10, on\r\ndisplays up to 3200x1800 resolution.\r\n\r\nCf. http://www.cruisersforum.com/forums/f134/opencpn-scaling-problems-with-high-resolution-displays-179462.html","created_at":"2017-02-11T03:16:32Z","updated_at":"2017-02-13T05:01:42Z","closed_at":"2017-02-13T05:01:42Z","merged_at":"2017-02-13T05:01:41Z","merge_commit_sha":"538703ecdc1668c4c8eea1822335e8dda16c7283","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/772/commits","review_comments_url":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/772/comments","review_comment_url":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenCPN/OpenCPN/issues/772/comments","statuses_url":"https://api.github.com/repos/OpenCPN/OpenCPN/statuses/2e1a9b55d6d21001beeb9f44c83cc9adb4d540dd","head":{"label":"paulkube:master","ref":"master","sha":"2e1a9b55d6d21001beeb9f44c83cc9adb4d540dd","user":{"login":"paulkube","id":25650153,"avatar_url":"https://avatars.githubusercontent.com/u/25650153?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkube","html_url":"https://github.com/paulkube","followers_url":"https://api.github.com/users/paulkube/followers","following_url":"https://api.github.com/users/paulkube/following{/other_user}","gists_url":"https://api.github.com/users/paulkube/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkube/subscriptions","organizations_url":"https://api.github.com/users/paulkube/orgs","repos_url":"https://api.github.com/users/paulkube/repos","events_url":"https://api.github.com/users/paulkube/events{/privacy}","received_events_url":"https://api.github.com/users/paulkube/received_events","type":"User","site_admin":false},"repo":{"id":81618531,"name":"OpenCPN","full_name":"paulkube/OpenCPN","owner":{"login":"paulkube","id":25650153,"avatar_url":"https://avatars.githubusercontent.com/u/25650153?v=3","gravatar_id":"","url":"https://api.github.com/users/paulkube","html_url":"https://github.com/paulkube","followers_url":"https://api.github.com/users/paulkube/followers","following_url":"https://api.github.com/users/paulkube/following{/other_user}","gists_url":"https://api.github.com/users/paulkube/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkube/subscriptions","organizations_url":"https://api.github.com/users/paulkube/orgs","repos_url":"https://api.github.com/users/paulkube/repos","events_url":"https://api.github.com/users/paulkube/events{/privacy}","received_events_url":"https://api.github.com/users/paulkube/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulkube/OpenCPN","description":"A concise ChartPlotter/Navigator. A cross-platform ship-borne GUI application supporting * GPS/GPDS Postition Input * BSB Raster Chart Display * S57 Vector ENChart Display * AIS Input Decoding * Waypoint Autopilot Navigation","fork":true,"url":"https://api.github.com/repos/paulkube/OpenCPN","forks_url":"https://api.github.com/repos/paulkube/OpenCPN/forks","keys_url":"https://api.github.com/repos/paulkube/OpenCPN/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulkube/OpenCPN/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulkube/OpenCPN/teams","hooks_url":"https://api.github.com/repos/paulkube/OpenCPN/hooks","issue_events_url":"https://api.github.com/repos/paulkube/OpenCPN/issues/events{/number}","events_url":"https://api.github.com/repos/paulkube/OpenCPN/events","assignees_url":"https://api.github.com/repos/paulkube/OpenCPN/assignees{/user}","branches_url":"https://api.github.com/repos/paulkube/OpenCPN/branches{/branch}","tags_url":"https://api.github.com/repos/paulkube/OpenCPN/tags","blobs_url":"https://api.github.com/repos/paulkube/OpenCPN/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulkube/OpenCPN/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulkube/OpenCPN/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulkube/OpenCPN/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulkube/OpenCPN/statuses/{sha}","languages_url":"https://api.github.com/repos/paulkube/OpenCPN/languages","stargazers_url":"https://api.github.com/repos/paulkube/OpenCPN/stargazers","contributors_url":"https://api.github.com/repos/paulkube/OpenCPN/contributors","subscribers_url":"https://api.github.com/repos/paulkube/OpenCPN/subscribers","subscription_url":"https://api.github.com/repos/paulkube/OpenCPN/subscription","commits_url":"https://api.github.com/repos/paulkube/OpenCPN/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulkube/OpenCPN/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulkube/OpenCPN/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulkube/OpenCPN/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulkube/OpenCPN/contents/{+path}","compare_url":"https://api.github.com/repos/paulkube/OpenCPN/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulkube/OpenCPN/merges","archive_url":"https://api.github.com/repos/paulkube/OpenCPN/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulkube/OpenCPN/downloads","issues_url":"https://api.github.com/repos/paulkube/OpenCPN/issues{/number}","pulls_url":"https://api.github.com/repos/paulkube/OpenCPN/pulls{/number}","milestones_url":"https://api.github.com/repos/paulkube/OpenCPN/milestones{/number}","notifications_url":"https://api.github.com/repos/paulkube/OpenCPN/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulkube/OpenCPN/labels{/name}","releases_url":"https://api.github.com/repos/paulkube/OpenCPN/releases{/id}","deployments_url":"https://api.github.com/repos/paulkube/OpenCPN/deployments","created_at":"2017-02-11T00:15:49Z","updated_at":"2017-02-11T00:16:01Z","pushed_at":"2017-02-11T03:05:50Z","git_url":"git://github.com/paulkube/OpenCPN.git","ssh_url":"git@github.com:paulkube/OpenCPN.git","clone_url":"https://github.com/paulkube/OpenCPN.git","svn_url":"https://github.com/paulkube/OpenCPN","homepage":"http://sourceforge.net/projects/opencpn/","size":240355,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenCPN:master","ref":"master","sha":"76ed5cd1d9ac4e913efad63c39eb69958d45d9f6","user":{"login":"OpenCPN","id":194497,"avatar_url":"https://avatars.githubusercontent.com/u/194497?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCPN","html_url":"https://github.com/OpenCPN","followers_url":"https://api.github.com/users/OpenCPN/followers","following_url":"https://api.github.com/users/OpenCPN/following{/other_user}","gists_url":"https://api.github.com/users/OpenCPN/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCPN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCPN/subscriptions","organizations_url":"https://api.github.com/users/OpenCPN/orgs","repos_url":"https://api.github.com/users/OpenCPN/repos","events_url":"https://api.github.com/users/OpenCPN/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCPN/received_events","type":"User","site_admin":false},"repo":{"id":498850,"name":"OpenCPN","full_name":"OpenCPN/OpenCPN","owner":{"login":"OpenCPN","id":194497,"avatar_url":"https://avatars.githubusercontent.com/u/194497?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCPN","html_url":"https://github.com/OpenCPN","followers_url":"https://api.github.com/users/OpenCPN/followers","following_url":"https://api.github.com/users/OpenCPN/following{/other_user}","gists_url":"https://api.github.com/users/OpenCPN/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCPN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCPN/subscriptions","organizations_url":"https://api.github.com/users/OpenCPN/orgs","repos_url":"https://api.github.com/users/OpenCPN/repos","events_url":"https://api.github.com/users/OpenCPN/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCPN/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OpenCPN/OpenCPN","description":"A concise ChartPlotter/Navigator. A cross-platform ship-borne GUI application supporting * GPS/GPDS Postition Input * BSB Raster Chart Display * S57 Vector ENChart Display * AIS Input Decoding * Waypoint Autopilot Navigation","fork":false,"url":"https://api.github.com/repos/OpenCPN/OpenCPN","forks_url":"https://api.github.com/repos/OpenCPN/OpenCPN/forks","keys_url":"https://api.github.com/repos/OpenCPN/OpenCPN/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenCPN/OpenCPN/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenCPN/OpenCPN/teams","hooks_url":"https://api.github.com/repos/OpenCPN/OpenCPN/hooks","issue_events_url":"https://api.github.com/repos/OpenCPN/OpenCPN/issues/events{/number}","events_url":"https://api.github.com/repos/OpenCPN/OpenCPN/events","assignees_url":"https://api.github.com/repos/OpenCPN/OpenCPN/assignees{/user}","branches_url":"https://api.github.com/repos/OpenCPN/OpenCPN/branches{/branch}","tags_url":"https://api.github.com/repos/OpenCPN/OpenCPN/tags","blobs_url":"https://api.github.com/repos/OpenCPN/OpenCPN/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenCPN/OpenCPN/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenCPN/OpenCPN/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenCPN/OpenCPN/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenCPN/OpenCPN/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenCPN/OpenCPN/languages","stargazers_url":"https://api.github.com/repos/OpenCPN/OpenCPN/stargazers","contributors_url":"https://api.github.com/repos/OpenCPN/OpenCPN/contributors","subscribers_url":"https://api.github.com/repos/OpenCPN/OpenCPN/subscribers","subscription_url":"https://api.github.com/repos/OpenCPN/OpenCPN/subscription","commits_url":"https://api.github.com/repos/OpenCPN/OpenCPN/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenCPN/OpenCPN/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenCPN/OpenCPN/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenCPN/OpenCPN/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenCPN/OpenCPN/contents/{+path}","compare_url":"https://api.github.com/repos/OpenCPN/OpenCPN/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenCPN/OpenCPN/merges","archive_url":"https://api.github.com/repos/OpenCPN/OpenCPN/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenCPN/OpenCPN/downloads","issues_url":"https://api.github.com/repos/OpenCPN/OpenCPN/issues{/number}","pulls_url":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenCPN/OpenCPN/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenCPN/OpenCPN/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenCPN/OpenCPN/labels{/name}","releases_url":"https://api.github.com/repos/OpenCPN/OpenCPN/releases{/id}","deployments_url":"https://api.github.com/repos/OpenCPN/OpenCPN/deployments","created_at":"2010-02-02T11:55:06Z","updated_at":"2017-01-26T13:56:19Z","pushed_at":"2017-02-13T05:01:41Z","git_url":"git://github.com/OpenCPN/OpenCPN.git","ssh_url":"git@github.com:OpenCPN/OpenCPN.git","clone_url":"https://github.com/OpenCPN/OpenCPN.git","svn_url":"https://github.com/OpenCPN/OpenCPN","homepage":"http://sourceforge.net/projects/opencpn/","size":240863,"stargazers_count":219,"watchers_count":219,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":168,"mirror_url":null,"open_issues_count":37,"forks":168,"open_issues":37,"watchers":219,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/772"},"html":{"href":"https://github.com/OpenCPN/OpenCPN/pull/772"},"issue":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/issues/772"},"comments":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/issues/772/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/772/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/pulls/772/commits"},"statuses":{"href":"https://api.github.com/repos/OpenCPN/OpenCPN/statuses/2e1a9b55d6d21001beeb9f44c83cc9adb4d540dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bdbcat","id":1015682,"avatar_url":"https://avatars.githubusercontent.com/u/1015682?v=3","gravatar_id":"","url":"https://api.github.com/users/bdbcat","html_url":"https://github.com/bdbcat","followers_url":"https://api.github.com/users/bdbcat/followers","following_url":"https://api.github.com/users/bdbcat/following{/other_user}","gists_url":"https://api.github.com/users/bdbcat/gists{/gist_id}","starred_url":"https://api.github.com/users/bdbcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdbcat/subscriptions","organizations_url":"https://api.github.com/users/bdbcat/orgs","repos_url":"https://api.github.com/users/bdbcat/repos","events_url":"https://api.github.com/users/bdbcat/events{/privacy}","received_events_url":"https://api.github.com/users/bdbcat/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":72,"deletions":42,"changed_files":4}}
{"actor":{"display_login":"bdbcat"}}