{"action":"created","issue":{"url":"https://api.github.com/repos/braitsch/ofxDatGui/issues/51","repository_url":"https://api.github.com/repos/braitsch/ofxDatGui","labels_url":"https://api.github.com/repos/braitsch/ofxDatGui/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/braitsch/ofxDatGui/issues/51/comments","events_url":"https://api.github.com/repos/braitsch/ofxDatGui/issues/51/events","html_url":"https://github.com/braitsch/ofxDatGui/issues/51","id":142222862,"number":51,"title":"Addon image and font resources not being loaded","user":{"login":"pierrep","id":392160,"avatar_url":"https://avatars.githubusercontent.com/u/392160?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrep","html_url":"https://github.com/pierrep","followers_url":"https://api.github.com/users/pierrep/followers","following_url":"https://api.github.com/users/pierrep/following{/other_user}","gists_url":"https://api.github.com/users/pierrep/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrep/subscriptions","organizations_url":"https://api.github.com/users/pierrep/orgs","repos_url":"https://api.github.com/users/pierrep/repos","events_url":"https://api.github.com/users/pierrep/events{/privacy}","received_events_url":"https://api.github.com/users/pierrep/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-20T23:58:51Z","updated_at":"2016-04-22T15:50:53Z","closed_at":"2016-03-21T23:17:47Z","body":"I'm assuming this works on OSX, but is not cross-platform. I'm on Linux and the addon image resources weren't loading. I fixed this by setting the paths to be the following:\r\n```\r\nstring rainbow = \"../../../../../addons/ofxDatGui/ofxbraitsch/ofxdatgui/picker-rainbow.png\";\r\nstring radioOn = \"../../../../../addons/ofxDatGui/ofxbraitsch/ofxdatgui/icon-radio-on.png\";\r\nstring radioOff = \"../../../../../addons/ofxDatGui/ofxbraitsch/ofxdatgui/icon-radio-off.png\";\r\nstring dropdown = \"../../../../../addons/ofxDatGui/ofxbraitsch/ofxdatgui/icon-dropdown.png\";\r\n```\r\n\r\nThis is the normal OF behaviour, i.e. that file loading is relative to the data path.\r\nMaybe there's a more elegant way to do this, but I'm not sure."},"comment":{"url":"https://api.github.com/repos/braitsch/ofxDatGui/issues/comments/213485462","html_url":"https://github.com/braitsch/ofxDatGui/issues/51#issuecomment-213485462","issue_url":"https://api.github.com/repos/braitsch/ofxDatGui/issues/51","id":213485462,"user":{"login":"braitsch","id":144289,"avatar_url":"https://avatars.githubusercontent.com/u/144289?v=3","gravatar_id":"","url":"https://api.github.com/users/braitsch","html_url":"https://github.com/braitsch","followers_url":"https://api.github.com/users/braitsch/followers","following_url":"https://api.github.com/users/braitsch/following{/other_user}","gists_url":"https://api.github.com/users/braitsch/gists{/gist_id}","starred_url":"https://api.github.com/users/braitsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braitsch/subscriptions","organizations_url":"https://api.github.com/users/braitsch/orgs","repos_url":"https://api.github.com/users/braitsch/repos","events_url":"https://api.github.com/users/braitsch/events{/privacy}","received_events_url":"https://api.github.com/users/braitsch/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T15:50:53Z","updated_at":"2016-04-22T15:50:53Z","body":"@transat Thanks. This appears related to #65. Looking into this now."}}