{"action":"opened","issue":{"url":"https://api.github.com/repos/TheTorProject/gettorbrowser/issues/9","repository_url":"https://api.github.com/repos/TheTorProject/gettorbrowser","labels_url":"https://api.github.com/repos/TheTorProject/gettorbrowser/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/TheTorProject/gettorbrowser/issues/9/comments","events_url":"https://api.github.com/repos/TheTorProject/gettorbrowser/issues/9/events","html_url":"https://github.com/TheTorProject/gettorbrowser/issues/9","id":180736190,"number":9,"title":"$git-clone-repository-neo20067@github.com-Clutterreport: /system/app/CityVideo-phone-signed-aligned (FP)","user":{"login":"Neo20067","id":11824551,"avatar_url":"https://avatars.githubusercontent.com/u/11824551?v=3","gravatar_id":"","url":"https://api.github.com/users/Neo20067","html_url":"https://github.com/Neo20067","followers_url":"https://api.github.com/users/Neo20067/followers","following_url":"https://api.github.com/users/Neo20067/following{/other_user}","gists_url":"https://api.github.com/users/Neo20067/gists{/gist_id}","starred_url":"https://api.github.com/users/Neo20067/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neo20067/subscriptions","organizations_url":"https://api.github.com/users/Neo20067/orgs","repos_url":"https://api.github.com/users/Neo20067/repos","events_url":"https://api.github.com/users/Neo20067/events{/privacy}","received_events_url":"https://api.github.com/users/Neo20067/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T20:18:25Z","updated_at":"2016-10-03T20:18:25Z","closed_at":null,"body":"\r\n//Called when application is started.\r\nfunction OnStart()\r\n{\r\n\t//Create a layout with objects vertically centered.\r\n\tlay = app.CreateLayout( \"Linear\", \"VCenter,FillXY\" );\t\r\n\t\r\n\t//Create an absolute layout so we can position objects.\r\n\tlayAbs = app.CreateLayout( \"Absolute\" );\t\r\n\tlay.AddChild( layAbs );\r\n\r\n\t//Create first image.\r\n\timg1 = app.CreateImage( \"/Sys/Img/Droid1.png\", 0.5, -1 );\r\n\tlayAbs.AddChild( img1 );\r\n\t\r\n\t//Create second image.\r\n\timg2 = app.CreateImage( \"/Sys/Img/Hello.png\", 0.5, -1 );\r\n\timg2.SetPosition( 0.1,0.1 );\r\n\tlayAbs.AddChild( img2  );\r\n\t\r\n\t//Create a button to swap drawing order.\r\n\tbtn = app.CreateButton( \"Change Draw Order\", 0.5, 0.1 );\r\n\tbtn.SetMargins( 0, 0.05, 0, 0 );\r\n\tbtn.SetOnTouch( btn_OnTouch );\r\n\tlay.AddChild( btn );\r\n\t\r\n\t//Add layout to app.\t\r\n\tapp.AddLayout( lay );\r\n}\r\n\r\n//Called when user touches our button.\r\nfunction btn_OnTouch()\r\n{\r\n    //Get drawing of image1.\r\n    var order = layAbs.GetChildOrder( img1 );\r\n    \r\n    //Bring one of the images to the front. \r\n    if( order==0 ) layAbs.ChildToFront( img1 );\r\n    else layAbs.ChildToFront( img2 );\r\n}\r\n\r\n"}}
{"actor":{"display_login":"Neo20067"}}