Skip to content

Directory tree view #3384

Closed
Closed

Description

@OverShifted

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

Activity

  1. changed the title [-]Imgui directory tree view[/-] [+]Directory tree view[/+] on Sep 30, 2020
  2. ocornut commented on Sep 11, 2023

    @ocornut
    Owner

    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!

  3. OverShifted commented on Sep 11, 2023

    @OverShifted
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址