LnF getDefaultFolderImage and drawFileBrowserRow


#1

hi,

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?


#2

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


#3

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


#4

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


#5

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?


#6

hi,

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.