Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory tree view #3384

Closed
OverShifted opened this issue Aug 5, 2020 · 2 comments
Closed

Directory tree view #3384

OverShifted opened this issue Aug 5, 2020 · 2 comments

Comments

@OverShifted
Copy link

OverShifted commented Aug 5, 2020

Hi.
I've just implemented a tree view for my little game engine's editor to show the contents of a directory and supports multiple selections.
Then I decided to share that with you guys so I created a gist and uploaded the code.
https://gist.github.com/OverShifted/13aec504dfe376dcc2171e8b7451c5b5

This is not perfect. it has std::string allocation and checks the filesystem every frame but you might make it better.

gif

@ocornut ocornut changed the title Imgui directory tree view Directory tree view Sep 30, 2020
@ocornut
Copy link
Owner

ocornut commented Sep 11, 2023

FYI I have added this in the Wiki Extension List under "File Browsers / File Dialog":
https://github.com/ocornut/imgui/wiki/Useful-Extensions

Thanks for sharing!

@ocornut ocornut closed this as completed Sep 11, 2023
@OverShifted
Copy link
Author

Thanks @ocornut! But the gist link seems to be wrong.

uilianries pushed a commit to uilianries/imgui that referenced this issue Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants