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

Warnings: Silence some GCC warnings

This commit is contained in:
reuk 2020-05-04 18:49:18 +01:00
parent f0642979f9
commit f49b3733ec
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
7 changed files with 22 additions and 8 deletions

View file

@ -113,18 +113,19 @@ public:
return windowBorder;
}
using ComponentPeer::localToGlobal;
Point<float> localToGlobal (Point<float> relativePosition) override
{
return relativePosition + getScreenPosition (false).toFloat();
}
using ComponentPeer::globalToLocal;
Point<float> globalToLocal (Point<float> screenPosition) override
{
return screenPosition - getScreenPosition (false).toFloat();
}
using ComponentPeer::localToGlobal;
using ComponentPeer::globalToLocal;
//==============================================================================
StringArray getAvailableRenderingEngines() override
{