Move SupportsNativeDecorations/SupportsNativeDecorationDragging to SDLPlatform

#2800
This commit is contained in:
Wojtek Figat
2026-02-12 09:24:48 +01:00
parent c4d20f06ee
commit d68969dbe2
6 changed files with 27 additions and 51 deletions

View File

@@ -292,24 +292,6 @@ PlatformType PlatformBase::GetPlatformType()
return PLATFORM_TYPE;
}
#if !PLATFORM_SDL
bool PlatformBase::SupportsNativeDecorations()
{
return true;
}
bool PlatformBase::SupportsNativeDecorationDragging()
{
#if PLATFORM_LINUX
return false;
#else
return true;
#endif
}
#endif
bool PlatformBase::Is64BitApp()
{
#if PLATFORM_64BITS

View File

@@ -369,16 +369,6 @@ public:
/// </summary>
API_PROPERTY() static PlatformType GetPlatformType();
/// <summary>
/// Returns true if system provides decorations for windows.
/// </summary>
API_PROPERTY() static bool SupportsNativeDecorations();
/// <summary>
/// Returns true if system provides support for native window dragging events.
/// </summary>
API_PROPERTY() static bool SupportsNativeDecorationDragging();
/// <summary>
/// Returns true if is running 64 bit application (otherwise 32 bit). It's compile-time constant.
/// </summary>