LnF getDefaultFolderImage and drawFileBrowserRow


for greater flexibility, that would be great to have a boolean isOpen as argument to getDefaultFolderImage().

and an itemId in drawFileBrowserRow()

what do you think?

But isn’t a folder always a directory…??

oops I meant isOpen in order to have an open and a closed folder icon

Suppose so, but then I’d have to draw one!

you don’t have to use the info if you don’t want to.
But if we want to have 2 different icons then we need to have the information.

what about having an itemId in drawFileBrowserRow?


thanks for the change in drawFileBrowserRow for the itemId,

that would be great to also have the isOpen flag even if you don’t use it in the default juce LnF.