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

ScaledImage: Use in a few more places

This commit is contained in:
reuk 2021-11-25 18:14:31 +00:00
parent 34fdea0708
commit 03428561ed
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
10 changed files with 42 additions and 28 deletions

View file

@ -127,15 +127,8 @@ namespace juce
struct CustomMouseCursorInfo
{
CustomMouseCursorInfo() = default;
CustomMouseCursorInfo (const Image& im, Point<int> hs, float scale = 1.0f) noexcept
: image (im), hotspot (hs), scaleFactor (scale)
{}
Image image;
ScaledImage image;
Point<int> hotspot;
float scaleFactor = 1.0f;
};
} // namespace juce