Hello, I’d like to make a file list which should contains only some user-defined folders, and some custom graphics.
Example:
C:\files\pictures\ as "pic"
D:\games\gui\ as "gamegui"
C:\newpictures\ as “newpic”
I wanted to make a file list that shows:
pic
gamegui
newpic
And when you left clic in them the folder show all its files and subfolders.
-
I thought in use an inherited FileListComponent with a new paintListBox method, but I couldn’t add more that one “custom folder” to it.
-
Then I thought into use a new inherited class from ListBox, DirectoryContentsDisplayComponent and ListBoxModel, but if I do this I’ll have to use the juce default scroll bar (sorry, I don’t like it) or create a new LookAndFeel and change all the scrollbars into my project (I want a unique scroll bar for this list).
Then I should do it with DirectoryContentsList, some Components and a new inherited Scroll bar.
Am I wrong with 1) or 2)? Any orientation would be highly valued. Thanks!