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:
parent
d7bfecae28
commit
63eb8c5692
1 changed files with 0 additions and 16 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue