From 63eb8c569205ec0dbc0476cbc546ce366c0f61dc Mon Sep 17 00:00:00 2001 From: reuk Date: Wed, 31 Jul 2024 19:34:10 +0100 Subject: [PATCH] Windows: Remove unused functions --- .../native/juce_Windowing_windows.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp index bf564e645d..c5aa812ced 100644 --- a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp +++ b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp @@ -1572,15 +1572,6 @@ public: info.rcWindow.right - info.rcClient.right }; } - BorderSize 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 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())