mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Even more introjucer refactoring.
This commit is contained in:
parent
997d29c445
commit
6392cdabcc
28 changed files with 420 additions and 336 deletions
|
|
@ -501,7 +501,7 @@ Image Project::getBestIconForSize (int size, bool returnNullIfNothingBigEnough)
|
|||
if (returnNullIfNothingBigEnough && im.getWidth() < size && im.getHeight() < size)
|
||||
return Image::null;
|
||||
|
||||
Image newIm (Image::ARGB, size, size, true);
|
||||
Image newIm (Image::ARGB, size, size, true, Image::SoftwareImage);
|
||||
Graphics g (newIm);
|
||||
g.drawImageWithin (im, 0, 0, size, size,
|
||||
RectanglePlacement::centred | RectanglePlacement::onlyReduceInSize, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue