{"action":"created","issue":{"url":"https://api.github.com/repos/trillek-team/tec/issues/41","labels_url":"https://api.github.com/repos/trillek-team/tec/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/trillek-team/tec/issues/41/comments","events_url":"https://api.github.com/repos/trillek-team/tec/issues/41/events","html_url":"https://github.com/trillek-team/tec/pull/41","id":104570238,"number":41,"title":"FilePath class to handle filepaths on a sane way","user":{"login":"Zardoz89","id":888483,"avatar_url":"https://avatars.githubusercontent.com/u/888483?v=3","gravatar_id":"","url":"https://api.github.com/users/Zardoz89","html_url":"https://github.com/Zardoz89","followers_url":"https://api.github.com/users/Zardoz89/followers","following_url":"https://api.github.com/users/Zardoz89/following{/other_user}","gists_url":"https://api.github.com/users/Zardoz89/gists{/gist_id}","starred_url":"https://api.github.com/users/Zardoz89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zardoz89/subscriptions","organizations_url":"https://api.github.com/users/Zardoz89/orgs","repos_url":"https://api.github.com/users/Zardoz89/repos","events_url":"https://api.github.com/users/Zardoz89/events{/privacy}","received_events_url":"https://api.github.com/users/Zardoz89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-02T21:00:26Z","updated_at":"2015-09-07T08:12:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/trillek-team/tec/pulls/41","html_url":"https://github.com/trillek-team/tec/pull/41","diff_url":"https://github.com/trillek-team/tec/pull/41.diff","patch_url":"https://github.com/trillek-team/tec/pull/41.patch"},"body":"Implements FilePath class that wraps a unicode string that represents a path. Also, handles searching and getting the base path to assets folder and other interesting special folders, like user config and local data storage.\r\n\r\nFilePath  do some basic path operations on a sane cross-platafom way. Like\r\n- Path creation from strings\r\n- Concatenate '+' and append '/' paths\r\n- Check file/dir existence\r\n- Create whole directory structures\r\n- Check if a path is valid\r\n- Check if a path is an absolute path\r\n- Get a subpath from a full path\r\n- Get the basepath from a path (the folder where is a file or the father folder of a folder)\r\n- Return a generic normalized string representation\r\n- Return a OS native string representation\r\n- Return a OS native string representation on the OS desired string format (*nix -> string ; windows -> wstring)\r\n\r\nAlso, now the whole code that handles paths to resources, uses now FilePath class, so would try to load the assets from the correct path. Try to copy assets to the folder where is TEC.exe, or execute TEC.exe on the same folder where is the assets folder."},"comment":{"url":"https://api.github.com/repos/trillek-team/tec/issues/comments/138227331","html_url":"https://github.com/trillek-team/tec/pull/41#issuecomment-138227331","issue_url":"https://api.github.com/repos/trillek-team/tec/issues/41","id":138227331,"user":{"login":"Zardoz89","id":888483,"avatar_url":"https://avatars.githubusercontent.com/u/888483?v=3","gravatar_id":"","url":"https://api.github.com/users/Zardoz89","html_url":"https://github.com/Zardoz89","followers_url":"https://api.github.com/users/Zardoz89/followers","following_url":"https://api.github.com/users/Zardoz89/following{/other_user}","gists_url":"https://api.github.com/users/Zardoz89/gists{/gist_id}","starred_url":"https://api.github.com/users/Zardoz89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zardoz89/subscriptions","organizations_url":"https://api.github.com/users/Zardoz89/orgs","repos_url":"https://api.github.com/users/Zardoz89/repos","events_url":"https://api.github.com/users/Zardoz89/events{/privacy}","received_events_url":"https://api.github.com/users/Zardoz89/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T08:12:14Z","updated_at":"2015-09-07T08:12:14Z","body":"If I read correctly, would be necessary to setup ImGui::GetIO()  to the correct path for the ini file :\r\n```\r\nImGuiIO& io = ImGui::GetIO();\r\nio.IniFilename =  (FilePath::GetUserSettingsPath() / \"imgui.ini\").toString();\r\n```\r\nI would try to check it and do the proper commit."}}