1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Added multiple-selection, and the ability to browse for both files and folders to the Juce file chooser dialog classes. This has involved changing a few methods, so if you're using these classes directly, you may need to tweak your code, but it should be very easy to do.

This commit is contained in:
Julian Storer 2009-12-08 16:07:47 +00:00
parent 71a12a140e
commit 1f6d9ec92c
13 changed files with 602 additions and 307 deletions

View file

@ -50,9 +50,14 @@ FileListComponent::~FileListComponent()
deleteAllChildren();
}
const File FileListComponent::getSelectedFile() const
int FileListComponent::getNumSelectedFiles() const
{
return fileList.getFile (getSelectedRow());
return getNumSelectedRows();
}
const File FileListComponent::getSelectedFile (int index) const
{
return fileList.getFile (getSelectedRow (index));
}
void FileListComponent::scrollToTop()