1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Added methods Graphics::setTiledImageFill and Graphics::setGradientFill - these are now the preferred way to specify a fill type, rather than using the Brush classes (which will probably disappear at some point in the future). Also refactored and renamed some DrawablePath methods, which might require a few tweaks to your code if you use this class.

This commit is contained in:
Julian Storer 2009-11-05 17:59:44 +00:00
parent 0b2f0f086c
commit cd88571081
22 changed files with 877 additions and 941 deletions

View file

@ -62,7 +62,7 @@ FileSearchPathListComponent::FileSearchPathListComponent()
Path arrowPath;
arrowPath.addArrow (50.0f, 100.0f, 50.0f, 0.0, 40.0f, 100.0f, 50.0f);
DrawablePath arrowImage;
arrowImage.setSolidFill (Colours::black.withAlpha (0.4f));
arrowImage.setFillColour (Colours::black.withAlpha (0.4f));
arrowImage.setPath (arrowPath);
((DrawableButton*) upButton)->setImages (&arrowImage);
@ -75,7 +75,7 @@ FileSearchPathListComponent::FileSearchPathListComponent()
Path arrowPath;
arrowPath.addArrow (50.0f, 0.0f, 50.0f, 100.0f, 40.0f, 100.0f, 50.0f);
DrawablePath arrowImage;
arrowImage.setSolidFill (Colours::black.withAlpha (0.4f));
arrowImage.setFillColour (Colours::black.withAlpha (0.4f));
arrowImage.setPath (arrowPath);
((DrawableButton*) downButton)->setImages (&arrowImage);