1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Remove unused functions

This commit is contained in:
reuk 2024-07-31 19:34:10 +01:00
parent d7bfecae28
commit 63eb8c5692
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -1572,15 +1572,6 @@ public:
info.rcWindow.right - info.rcClient.right };
}
BorderSize<float> getScaledBorderSize() const
{
const auto physical = findPhysicalBorderSize();
return { (float) physical.getTop() / (float) scaleFactor,
(float) physical.getLeft() / (float) scaleFactor,
(float) physical.getBottom() / (float) scaleFactor,
(float) physical.getRight() / (float) scaleFactor };
}
void updateBorderSize()
{
if (renderContext == nullptr)
@ -3348,13 +3339,6 @@ private:
&& ! isKioskMode();
}
Rectangle<int> getCurrentScaledBounds() const
{
const auto windowBorder = findPhysicalBorderSize().multipliedBy (1.0 / scaleFactor);
const auto unscaled = windowBorder.addedTo (detail::ScalingHelpers::scaledScreenPosToUnscaled (component, component.getBounds()));
return detail::ScalingHelpers::unscaledScreenPosToScaled (component, unscaled);
}
LRESULT handleSizeConstraining (RECT& r, const WPARAM wParam)
{
if (isConstrainedNativeWindow())