{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/42319146","id":42319146,"diff_hunk":"@@ -55,6 +55,7 @@ public interface IGraphicsDevice : IDisposable\n \t\tIShader CreateShader(string name);\n \n \t\tSize WindowSize { get; }\n+\t\tvoid ChangeRes(Size size, WindowMode windowMode);","path":"OpenRA.Game/Graphics/IGraphicsDevice.cs","position":4,"original_position":4,"commit_id":"74c3a1fe290ed9e66fc6fc3b94e57daee01570ee","original_commit_id":"74c3a1fe290ed9e66fc6fc3b94e57daee01570ee","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars.githubusercontent.com/u/167819?v=3","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"body":"`SetWindowSize(Size size)` please.  This doesn't use the `windowMode` arg, and there's no need to shorten \"resolution\" to \"res\" everywhere","created_at":"2015-10-18T09:45:12Z","updated_at":"2015-10-18T09:45:12Z","html_url":"https://github.com/OpenRA/OpenRA/pull/9665#discussion_r42319146","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/42319146"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/9665#discussion_r42319146"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665","id":48000545,"html_url":"https://github.com/OpenRA/OpenRA/pull/9665","diff_url":"https://github.com/OpenRA/OpenRA/pull/9665.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/9665.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/9665","number":9665,"state":"open","locked":false,"title":"Change display-mode without restart","user":{"login":"huwpascoe","id":1812087,"avatar_url":"https://avatars.githubusercontent.com/u/1812087?v=3","gravatar_id":"","url":"https://api.github.com/users/huwpascoe","html_url":"https://github.com/huwpascoe","followers_url":"https://api.github.com/users/huwpascoe/followers","following_url":"https://api.github.com/users/huwpascoe/following{/other_user}","gists_url":"https://api.github.com/users/huwpascoe/gists{/gist_id}","starred_url":"https://api.github.com/users/huwpascoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huwpascoe/subscriptions","organizations_url":"https://api.github.com/users/huwpascoe/orgs","repos_url":"https://api.github.com/users/huwpascoe/repos","events_url":"https://api.github.com/users/huwpascoe/events{/privacy}","received_events_url":"https://api.github.com/users/huwpascoe/received_events","type":"User","site_admin":false},"body":"Working prototype of display mode change without restarting. (Live display adjustments https://github.com/OpenRA/OpenRA/issues/3774) Type the new res in the display settings and go back/to another settings tab.\r\n\r\nNeed help to finish:\r\nNot all ingame widgets are initialized properly\r\nNitpicking the display settings UI - I think a dropdown resolution changer would be better\r\nProbably don't need help with but haven't included yet: fullscreen switching, hardware cursor switching","created_at":"2015-10-18T03:01:26Z","updated_at":"2015-10-18T09:45:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f451d59059298e52e81f3d182bb271a93c65c21","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/9665/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/74c3a1fe290ed9e66fc6fc3b94e57daee01570ee","head":{"label":"huwpascoe:newres","ref":"newres","sha":"74c3a1fe290ed9e66fc6fc3b94e57daee01570ee","user":{"login":"huwpascoe","id":1812087,"avatar_url":"https://avatars.githubusercontent.com/u/1812087?v=3","gravatar_id":"","url":"https://api.github.com/users/huwpascoe","html_url":"https://github.com/huwpascoe","followers_url":"https://api.github.com/users/huwpascoe/followers","following_url":"https://api.github.com/users/huwpascoe/following{/other_user}","gists_url":"https://api.github.com/users/huwpascoe/gists{/gist_id}","starred_url":"https://api.github.com/users/huwpascoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huwpascoe/subscriptions","organizations_url":"https://api.github.com/users/huwpascoe/orgs","repos_url":"https://api.github.com/users/huwpascoe/repos","events_url":"https://api.github.com/users/huwpascoe/events{/privacy}","received_events_url":"https://api.github.com/users/huwpascoe/received_events","type":"User","site_admin":false},"repo":{"id":42475691,"name":"OpenRA","full_name":"huwpascoe/OpenRA","owner":{"login":"huwpascoe","id":1812087,"avatar_url":"https://avatars.githubusercontent.com/u/1812087?v=3","gravatar_id":"","url":"https://api.github.com/users/huwpascoe","html_url":"https://github.com/huwpascoe","followers_url":"https://api.github.com/users/huwpascoe/followers","following_url":"https://api.github.com/users/huwpascoe/following{/other_user}","gists_url":"https://api.github.com/users/huwpascoe/gists{/gist_id}","starred_url":"https://api.github.com/users/huwpascoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huwpascoe/subscriptions","organizations_url":"https://api.github.com/users/huwpascoe/orgs","repos_url":"https://api.github.com/users/huwpascoe/repos","events_url":"https://api.github.com/users/huwpascoe/events{/privacy}","received_events_url":"https://api.github.com/users/huwpascoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huwpascoe/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":true,"url":"https://api.github.com/repos/huwpascoe/OpenRA","forks_url":"https://api.github.com/repos/huwpascoe/OpenRA/forks","keys_url":"https://api.github.com/repos/huwpascoe/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huwpascoe/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huwpascoe/OpenRA/teams","hooks_url":"https://api.github.com/repos/huwpascoe/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/huwpascoe/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/huwpascoe/OpenRA/events","assignees_url":"https://api.github.com/repos/huwpascoe/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/huwpascoe/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/huwpascoe/OpenRA/tags","blobs_url":"https://api.github.com/repos/huwpascoe/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huwpascoe/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huwpascoe/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/huwpascoe/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huwpascoe/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/huwpascoe/OpenRA/languages","stargazers_url":"https://api.github.com/repos/huwpascoe/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/huwpascoe/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/huwpascoe/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/huwpascoe/OpenRA/subscription","commits_url":"https://api.github.com/repos/huwpascoe/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/huwpascoe/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/huwpascoe/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/huwpascoe/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/huwpascoe/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/huwpascoe/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huwpascoe/OpenRA/merges","archive_url":"https://api.github.com/repos/huwpascoe/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huwpascoe/OpenRA/downloads","issues_url":"https://api.github.com/repos/huwpascoe/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/huwpascoe/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/huwpascoe/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/huwpascoe/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huwpascoe/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/huwpascoe/OpenRA/releases{/id}","created_at":"2015-09-14T20:38:53Z","updated_at":"2015-09-14T20:38:59Z","pushed_at":"2015-10-18T02:50:36Z","git_url":"git://github.com/huwpascoe/OpenRA.git","ssh_url":"git@github.com:huwpascoe/OpenRA.git","clone_url":"https://github.com/huwpascoe/OpenRA.git","svn_url":"https://github.com/huwpascoe/OpenRA","homepage":"http://www.openra.net","size":96018,"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":"bleed"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"380f30ed1352415b8f371137eaed2061891b5716","user":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"repo":{"id":959908,"name":"OpenRA","full_name":"OpenRA/OpenRA","owner":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRA/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":false,"url":"https://api.github.com/repos/OpenRA/OpenRA","forks_url":"https://api.github.com/repos/OpenRA/OpenRA/forks","keys_url":"https://api.github.com/repos/OpenRA/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRA/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRA/OpenRA/teams","hooks_url":"https://api.github.com/repos/OpenRA/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRA/OpenRA/events","assignees_url":"https://api.github.com/repos/OpenRA/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRA/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRA/OpenRA/tags","blobs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRA/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRA/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRA/OpenRA/languages","stargazers_url":"https://api.github.com/repos/OpenRA/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/OpenRA/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/OpenRA/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/OpenRA/OpenRA/subscription","commits_url":"https://api.github.com/repos/OpenRA/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRA/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRA/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRA/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRA/OpenRA/merges","archive_url":"https://api.github.com/repos/OpenRA/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRA/OpenRA/downloads","issues_url":"https://api.github.com/repos/OpenRA/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRA/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/OpenRA/OpenRA/releases{/id}","created_at":"2010-10-04T07:38:05Z","updated_at":"2015-10-18T04:55:42Z","pushed_at":"2015-10-18T08:59:33Z","git_url":"git://github.com/OpenRA/OpenRA.git","ssh_url":"git@github.com:OpenRA/OpenRA.git","clone_url":"https://github.com/OpenRA/OpenRA.git","svn_url":"https://github.com/OpenRA/OpenRA","homepage":"http://www.openra.net","size":196444,"stargazers_count":2241,"watchers_count":2241,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":785,"mirror_url":null,"open_issues_count":950,"forks":785,"open_issues":950,"watchers":2241,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/9665"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/9665"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/9665/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9665/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/74c3a1fe290ed9e66fc6fc3b94e57daee01570ee"}}}}