{"action":"created","comment":{"url":"https://api.github.com/repos/Rat49/BootCamp/pulls/comments/181565135","pull_request_review_id":112220452,"id":181565135,"diff_hunk":"@@ -0,0 +1,30 @@\n+#pragma once\n+#include <SFML\\Graphics.hpp>\n+\n+class Widget\n+{\n+public:\n+\tWidget(const std::string & name, sf::Vector2f position);\n+\tconst std::string _name;\n+\n+\tvoid SetPosition(float x, float y);\n+\tvoid SetScale(sf::Vector2f scale);\n+\n+\tsf::Vector2f GetPosition() const;\t\n+\tsf::Vector2f GetScale() const;\n+\n+\tvoid AddOwner(sf::RenderWindow * host);\n+\n+\tvoid Update();\n+\n+\tvirtual void Draw() {};\n+\n+\tvirtual ~Widget();\n+private:\n+\tsf::Vector2f _position;\n+\tsf::Vector2f _scale;\n+protected:\n+\tvirtual void UpdateControl() {};\n+\tsf::RenderWindow * _owner;","path":"Source/UI/Widget.h","position":28,"original_position":28,"commit_id":"df9902e3d15e190d5a02c9f882636223acc3bc0d","original_commit_id":"df9902e3d15e190d5a02c9f882636223acc3bc0d","user":{"login":"yuyoyuppe","id":1828123,"avatar_url":"https://avatars3.githubusercontent.com/u/1828123?v=4","gravatar_id":"","url":"https://api.github.com/users/yuyoyuppe","html_url":"https://github.com/yuyoyuppe","followers_url":"https://api.github.com/users/yuyoyuppe/followers","following_url":"https://api.github.com/users/yuyoyuppe/following{/other_user}","gists_url":"https://api.github.com/users/yuyoyuppe/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyoyuppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyoyuppe/subscriptions","organizations_url":"https://api.github.com/users/yuyoyuppe/orgs","repos_url":"https://api.github.com/users/yuyoyuppe/repos","events_url":"https://api.github.com/users/yuyoyuppe/events{/privacy}","received_events_url":"https://api.github.com/users/yuyoyuppe/received_events","type":"User","site_admin":false},"body":"раз уж мы будем передавать окно в конструкторе, то лучше его сделать референсом","created_at":"2018-04-14T22:24:43Z","updated_at":"2018-04-14T22:25:38Z","html_url":"https://github.com/Rat49/BootCamp/pull/30#discussion_r181565135","pull_request_url":"https://api.github.com/repos/Rat49/BootCamp/pulls/30","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Rat49/BootCamp/pulls/comments/181565135"},"html":{"href":"https://github.com/Rat49/BootCamp/pull/30#discussion_r181565135"},"pull_request":{"href":"https://api.github.com/repos/Rat49/BootCamp/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/Rat49/BootCamp/pulls/30","id":181550268,"html_url":"https://github.com/Rat49/BootCamp/pull/30","diff_url":"https://github.com/Rat49/BootCamp/pull/30.diff","patch_url":"https://github.com/Rat49/BootCamp/pull/30.patch","issue_url":"https://api.github.com/repos/Rat49/BootCamp/issues/30","number":30,"state":"open","locked":false,"title":"User interface","user":{"login":"Solnec","id":14321207,"avatar_url":"https://avatars3.githubusercontent.com/u/14321207?v=4","gravatar_id":"","url":"https://api.github.com/users/Solnec","html_url":"https://github.com/Solnec","followers_url":"https://api.github.com/users/Solnec/followers","following_url":"https://api.github.com/users/Solnec/following{/other_user}","gists_url":"https://api.github.com/users/Solnec/gists{/gist_id}","starred_url":"https://api.github.com/users/Solnec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solnec/subscriptions","organizations_url":"https://api.github.com/users/Solnec/orgs","repos_url":"https://api.github.com/users/Solnec/repos","events_url":"https://api.github.com/users/Solnec/events{/privacy}","received_events_url":"https://api.github.com/users/Solnec/received_events","type":"User","site_admin":false},"body":"Причесать полностью не успеваю, к сожалению, но основное готово. \r\nВозможно поле _space у UI стоит сделать приватным?","created_at":"2018-04-13T17:28:48Z","updated_at":"2018-04-14T22:25:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Rat49/BootCamp/pulls/30/commits","review_comments_url":"https://api.github.com/repos/Rat49/BootCamp/pulls/30/comments","review_comment_url":"https://api.github.com/repos/Rat49/BootCamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rat49/BootCamp/issues/30/comments","statuses_url":"https://api.github.com/repos/Rat49/BootCamp/statuses/df9902e3d15e190d5a02c9f882636223acc3bc0d","head":{"label":"Rat49:user-interface","ref":"user-interface","sha":"df9902e3d15e190d5a02c9f882636223acc3bc0d","user":{"login":"Rat49","id":24396399,"avatar_url":"https://avatars2.githubusercontent.com/u/24396399?v=4","gravatar_id":"","url":"https://api.github.com/users/Rat49","html_url":"https://github.com/Rat49","followers_url":"https://api.github.com/users/Rat49/followers","following_url":"https://api.github.com/users/Rat49/following{/other_user}","gists_url":"https://api.github.com/users/Rat49/gists{/gist_id}","starred_url":"https://api.github.com/users/Rat49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rat49/subscriptions","organizations_url":"https://api.github.com/users/Rat49/orgs","repos_url":"https://api.github.com/users/Rat49/repos","events_url":"https://api.github.com/users/Rat49/events{/privacy}","received_events_url":"https://api.github.com/users/Rat49/received_events","type":"User","site_admin":false},"repo":{"id":128033798,"name":"BootCamp","full_name":"Rat49/BootCamp","owner":{"login":"Rat49","id":24396399,"avatar_url":"https://avatars2.githubusercontent.com/u/24396399?v=4","gravatar_id":"","url":"https://api.github.com/users/Rat49","html_url":"https://github.com/Rat49","followers_url":"https://api.github.com/users/Rat49/followers","following_url":"https://api.github.com/users/Rat49/following{/other_user}","gists_url":"https://api.github.com/users/Rat49/gists{/gist_id}","starred_url":"https://api.github.com/users/Rat49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rat49/subscriptions","organizations_url":"https://api.github.com/users/Rat49/orgs","repos_url":"https://api.github.com/users/Rat49/repos","events_url":"https://api.github.com/users/Rat49/events{/privacy}","received_events_url":"https://api.github.com/users/Rat49/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rat49/BootCamp","description":"Project made by BootCampers power","fork":false,"url":"https://api.github.com/repos/Rat49/BootCamp","forks_url":"https://api.github.com/repos/Rat49/BootCamp/forks","keys_url":"https://api.github.com/repos/Rat49/BootCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rat49/BootCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rat49/BootCamp/teams","hooks_url":"https://api.github.com/repos/Rat49/BootCamp/hooks","issue_events_url":"https://api.github.com/repos/Rat49/BootCamp/issues/events{/number}","events_url":"https://api.github.com/repos/Rat49/BootCamp/events","assignees_url":"https://api.github.com/repos/Rat49/BootCamp/assignees{/user}","branches_url":"https://api.github.com/repos/Rat49/BootCamp/branches{/branch}","tags_url":"https://api.github.com/repos/Rat49/BootCamp/tags","blobs_url":"https://api.github.com/repos/Rat49/BootCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rat49/BootCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rat49/BootCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rat49/BootCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rat49/BootCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/Rat49/BootCamp/languages","stargazers_url":"https://api.github.com/repos/Rat49/BootCamp/stargazers","contributors_url":"https://api.github.com/repos/Rat49/BootCamp/contributors","subscribers_url":"https://api.github.com/repos/Rat49/BootCamp/subscribers","subscription_url":"https://api.github.com/repos/Rat49/BootCamp/subscription","commits_url":"https://api.github.com/repos/Rat49/BootCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rat49/BootCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rat49/BootCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rat49/BootCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rat49/BootCamp/contents/{+path}","compare_url":"https://api.github.com/repos/Rat49/BootCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rat49/BootCamp/merges","archive_url":"https://api.github.com/repos/Rat49/BootCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rat49/BootCamp/downloads","issues_url":"https://api.github.com/repos/Rat49/BootCamp/issues{/number}","pulls_url":"https://api.github.com/repos/Rat49/BootCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/Rat49/BootCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/Rat49/BootCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rat49/BootCamp/labels{/name}","releases_url":"https://api.github.com/repos/Rat49/BootCamp/releases{/id}","deployments_url":"https://api.github.com/repos/Rat49/BootCamp/deployments","created_at":"2018-04-04T08:43:10Z","updated_at":"2018-04-13T16:27:56Z","pushed_at":"2018-04-13T22:19:54Z","git_url":"git://github.com/Rat49/BootCamp.git","ssh_url":"git@github.com:Rat49/BootCamp.git","clone_url":"https://github.com/Rat49/BootCamp.git","svn_url":"https://github.com/Rat49/BootCamp","homepage":null,"size":48831,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":0,"open_issues":15,"watchers":2,"default_branch":"master"}},"base":{"label":"Rat49:master","ref":"master","sha":"de2f2901132e6a352dfbf23dceb8f29b24b919f0","user":{"login":"Rat49","id":24396399,"avatar_url":"https://avatars2.githubusercontent.com/u/24396399?v=4","gravatar_id":"","url":"https://api.github.com/users/Rat49","html_url":"https://github.com/Rat49","followers_url":"https://api.github.com/users/Rat49/followers","following_url":"https://api.github.com/users/Rat49/following{/other_user}","gists_url":"https://api.github.com/users/Rat49/gists{/gist_id}","starred_url":"https://api.github.com/users/Rat49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rat49/subscriptions","organizations_url":"https://api.github.com/users/Rat49/orgs","repos_url":"https://api.github.com/users/Rat49/repos","events_url":"https://api.github.com/users/Rat49/events{/privacy}","received_events_url":"https://api.github.com/users/Rat49/received_events","type":"User","site_admin":false},"repo":{"id":128033798,"name":"BootCamp","full_name":"Rat49/BootCamp","owner":{"login":"Rat49","id":24396399,"avatar_url":"https://avatars2.githubusercontent.com/u/24396399?v=4","gravatar_id":"","url":"https://api.github.com/users/Rat49","html_url":"https://github.com/Rat49","followers_url":"https://api.github.com/users/Rat49/followers","following_url":"https://api.github.com/users/Rat49/following{/other_user}","gists_url":"https://api.github.com/users/Rat49/gists{/gist_id}","starred_url":"https://api.github.com/users/Rat49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rat49/subscriptions","organizations_url":"https://api.github.com/users/Rat49/orgs","repos_url":"https://api.github.com/users/Rat49/repos","events_url":"https://api.github.com/users/Rat49/events{/privacy}","received_events_url":"https://api.github.com/users/Rat49/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rat49/BootCamp","description":"Project made by BootCampers power","fork":false,"url":"https://api.github.com/repos/Rat49/BootCamp","forks_url":"https://api.github.com/repos/Rat49/BootCamp/forks","keys_url":"https://api.github.com/repos/Rat49/BootCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rat49/BootCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rat49/BootCamp/teams","hooks_url":"https://api.github.com/repos/Rat49/BootCamp/hooks","issue_events_url":"https://api.github.com/repos/Rat49/BootCamp/issues/events{/number}","events_url":"https://api.github.com/repos/Rat49/BootCamp/events","assignees_url":"https://api.github.com/repos/Rat49/BootCamp/assignees{/user}","branches_url":"https://api.github.com/repos/Rat49/BootCamp/branches{/branch}","tags_url":"https://api.github.com/repos/Rat49/BootCamp/tags","blobs_url":"https://api.github.com/repos/Rat49/BootCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rat49/BootCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rat49/BootCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rat49/BootCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rat49/BootCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/Rat49/BootCamp/languages","stargazers_url":"https://api.github.com/repos/Rat49/BootCamp/stargazers","contributors_url":"https://api.github.com/repos/Rat49/BootCamp/contributors","subscribers_url":"https://api.github.com/repos/Rat49/BootCamp/subscribers","subscription_url":"https://api.github.com/repos/Rat49/BootCamp/subscription","commits_url":"https://api.github.com/repos/Rat49/BootCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rat49/BootCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rat49/BootCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rat49/BootCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rat49/BootCamp/contents/{+path}","compare_url":"https://api.github.com/repos/Rat49/BootCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rat49/BootCamp/merges","archive_url":"https://api.github.com/repos/Rat49/BootCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rat49/BootCamp/downloads","issues_url":"https://api.github.com/repos/Rat49/BootCamp/issues{/number}","pulls_url":"https://api.github.com/repos/Rat49/BootCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/Rat49/BootCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/Rat49/BootCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rat49/BootCamp/labels{/name}","releases_url":"https://api.github.com/repos/Rat49/BootCamp/releases{/id}","deployments_url":"https://api.github.com/repos/Rat49/BootCamp/deployments","created_at":"2018-04-04T08:43:10Z","updated_at":"2018-04-13T16:27:56Z","pushed_at":"2018-04-13T22:19:54Z","git_url":"git://github.com/Rat49/BootCamp.git","ssh_url":"git@github.com:Rat49/BootCamp.git","clone_url":"https://github.com/Rat49/BootCamp.git","svn_url":"https://github.com/Rat49/BootCamp","homepage":null,"size":48831,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":0,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rat49/BootCamp/pulls/30"},"html":{"href":"https://github.com/Rat49/BootCamp/pull/30"},"issue":{"href":"https://api.github.com/repos/Rat49/BootCamp/issues/30"},"comments":{"href":"https://api.github.com/repos/Rat49/BootCamp/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/Rat49/BootCamp/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/Rat49/BootCamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rat49/BootCamp/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/Rat49/BootCamp/statuses/df9902e3d15e190d5a02c9f882636223acc3bc0d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"yuyoyuppe"}}