**Update: Created a FileBrowser class to handle this, added the ability to differentiate between files and folders, and added a way to signal a file was selected**
I decided to try to bang out a file browser using SFML and TGUI. It's not pretty, but I wasn't going for that. I just wanted functionality.
It uses C++17's filesystem header, under std::experimental::filesystem::v1. I compiled it using Visual Studio 2015, so I can't say if it would work on anything else.
If nothing else, perhaps someone can use it to see how I worked my way around the file system.
In the image below, you can see the trace I printed to the console as I went around. Stopped on a fellow SFML work, Cendric (not to promote or anything, would never do that).Code:
https://github.com/JayhawkZombie/SFMLFileBrowser/tree/masterIf you feel like watching it work:
Edit: a more pretty version, embedded in our engine (still incomplete)