{"action":"created","issue":{"url":"https://api.github.com/repos/veandco/go-sdl2/issues/202","repository_url":"https://api.github.com/repos/veandco/go-sdl2","labels_url":"https://api.github.com/repos/veandco/go-sdl2/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/veandco/go-sdl2/issues/202/comments","events_url":"https://api.github.com/repos/veandco/go-sdl2/issues/202/events","html_url":"https://github.com/veandco/go-sdl2/issues/202","id":171445696,"number":202,"title":"Color.Uint32() probably implemented incorrectly","user":{"login":"faiface","id":3924105,"avatar_url":"https://avatars.githubusercontent.com/u/3924105?v=3","gravatar_id":"","url":"https://api.github.com/users/faiface","html_url":"https://github.com/faiface","followers_url":"https://api.github.com/users/faiface/followers","following_url":"https://api.github.com/users/faiface/following{/other_user}","gists_url":"https://api.github.com/users/faiface/gists{/gist_id}","starred_url":"https://api.github.com/users/faiface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faiface/subscriptions","organizations_url":"https://api.github.com/users/faiface/orgs","repos_url":"https://api.github.com/users/faiface/repos","events_url":"https://api.github.com/users/faiface/events{/privacy}","received_events_url":"https://api.github.com/users/faiface/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-16T15:32:28Z","updated_at":"2016-08-16T16:52:55Z","closed_at":null,"body":"Currently, `Color.Uint32()` returns an integer in format `#00RRGGBB`.\r\nHowever, functions in SDL2_gfx, such as `FilledPolygonColor` require `#AABBGGRR`.\r\nI am not sure if this is a bug, or SDL2_gfx just use some crazy representation, however, `Color.Uint32()` doesn't produce usable results in this case."},"comment":{"url":"https://api.github.com/repos/veandco/go-sdl2/issues/comments/240164890","html_url":"https://github.com/veandco/go-sdl2/issues/202#issuecomment-240164890","issue_url":"https://api.github.com/repos/veandco/go-sdl2/issues/202","id":240164890,"user":{"login":"veeableful","id":2060653,"avatar_url":"https://avatars.githubusercontent.com/u/2060653?v=3","gravatar_id":"","url":"https://api.github.com/users/veeableful","html_url":"https://github.com/veeableful","followers_url":"https://api.github.com/users/veeableful/followers","following_url":"https://api.github.com/users/veeableful/following{/other_user}","gists_url":"https://api.github.com/users/veeableful/gists{/gist_id}","starred_url":"https://api.github.com/users/veeableful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veeableful/subscriptions","organizations_url":"https://api.github.com/users/veeableful/orgs","repos_url":"https://api.github.com/users/veeableful/repos","events_url":"https://api.github.com/users/veeableful/events{/privacy}","received_events_url":"https://api.github.com/users/veeableful/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T16:52:55Z","updated_at":"2016-08-16T16:52:55Z","body":"If you have a suggestion on how to make it easier, we could put it into the binding. I'm thinking of either changing all the uint32 into sdl.Color which is then converted internally _or_ provide a function for users that does the conversion. Which one would be more convenient for you?"}}
{"actor":{"display_login":"veeableful"}}