1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc.

This commit is contained in:
Julian Storer 2010-01-28 16:02:16 +00:00
parent da485977be
commit 773c7d7407
37 changed files with 406 additions and 306 deletions

View file

@ -28,7 +28,7 @@
#if JUCE_INCLUDED_FILE
//==============================================================================
void FileChooser::showPlatformDialog (OwnedArray<File>& results,
void FileChooser::showPlatformDialog (Array<File>& results,
const String& title,
const File& file,
const String& filters,
@ -90,7 +90,7 @@ void FileChooser::showPlatformDialog (OwnedArray<File>& results,
tokens.add (resultString);
for (int i = 0; i < tokens.size(); i++)
results.add (new File (tokens[i]));
results.add (File (tokens[i]));
return;
}