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:
parent
34fdea0708
commit
03428561ed
10 changed files with 42 additions and 28 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue