1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-31 03:00:05 +00:00

CustomTypeface unicode fix. Misc nullptr additions.

This commit is contained in:
Julian Storer 2011-04-07 16:49:14 +01:00
parent f04309f44a
commit 46c3a6bbe5
27 changed files with 219 additions and 186 deletions

View file

@ -283,16 +283,16 @@ const ValueTree DrawableImage::createValueTree (ComponentBuilder::ImageProvider*
ValueTreeWrapper v (tree);
v.setID (getComponentID());
v.setOpacity (opacity, 0);
v.setOverlayColour (overlayColour, 0);
v.setBoundingBox (bounds, 0);
v.setOpacity (opacity, nullptr);
v.setOverlayColour (overlayColour, nullptr);
v.setBoundingBox (bounds, nullptr);
if (image.isValid())
{
jassert (imageProvider != nullptr); // if you're using images, you need to provide something that can load and save them!
if (imageProvider != nullptr)
v.setImageIdentifier (imageProvider->getIdentifierForImage (image), 0);
v.setImageIdentifier (imageProvider->getIdentifierForImage (image), nullptr);
}
return tree;