X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fmacos%2Fwindow-base-mac.mm;h=594a18610a96662408e7e54331dc6a56a52a9326;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20210901.082233;hp=b98f8a6e70908451d2f9d03fd3734f30743450e4;hpb=fa8f3a0760ff2d22cebb4d1103a133b1ca8c1c13;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/macos/window-base-mac.mm b/dali/internal/window-system/macos/window-base-mac.mm index b98f8a6..594a186 100644 --- a/dali/internal/window-system/macos/window-base-mac.mm +++ b/dali/internal/window-system/macos/window-base-mac.mm @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -535,9 +535,14 @@ void WindowBaseCocoa::SetType( Dali::WindowType type ) { } -bool WindowBaseCocoa::SetNotificationLevel( WindowNotificationLevel level ) +Dali::WindowType WindowBaseCocoa::GetType() const { - return false; + return Dali::WindowType::NORMAL; +} + +WindowOperationResult WindowBaseCocoa::SetNotificationLevel( WindowNotificationLevel level ) +{ + return WindowOperationResult::NOT_SUPPORTED; } WindowNotificationLevel WindowBaseCocoa::GetNotificationLevel() const @@ -549,9 +554,9 @@ void WindowBaseCocoa::SetOpaqueState( bool opaque ) { } -bool WindowBaseCocoa::SetScreenOffMode(WindowScreenOffMode screenOffMode) +WindowOperationResult WindowBaseCocoa::SetScreenOffMode(WindowScreenOffMode screenOffMode) { - return false; + return WindowOperationResult::NOT_SUPPORTED; } WindowScreenOffMode WindowBaseCocoa::GetScreenOffMode() const @@ -559,9 +564,9 @@ WindowScreenOffMode WindowBaseCocoa::GetScreenOffMode() const return WindowScreenOffMode::TIMEOUT; } -bool WindowBaseCocoa::SetBrightness( int brightness ) +WindowOperationResult WindowBaseCocoa::SetBrightness( int brightness ) { - return false; + return WindowOperationResult::NOT_SUPPORTED; } int WindowBaseCocoa::GetBrightness() const @@ -646,6 +651,43 @@ int WindowBaseCocoa::CreateFramePresentedSyncFence() return -1; } +void WindowBaseCocoa::SetPositionSizeWithAngle(PositionSize positionSize, int angle) +{ +} + +void WindowBaseCocoa::InitializeIme() +{ +} + +void WindowBaseCocoa::ImeWindowReadyToRender() +{ +} + +void WindowBaseCocoa::RequestMoveToServer() +{ +} + +void WindowBaseCocoa::RequestResizeToServer(WindowResizeDirection direction) +{ +} + +void WindowBaseCocoa::EnableFloatingMode(bool enable) +{ +} + +bool WindowBaseCocoa::IsFloatingModeEnabled() const +{ + return false; +} + +void WindowBaseCocoa::IncludeInputRegion(const Rect& inputRegion) +{ +} + +void WindowBaseCocoa::ExcludeInputRegion(const Rect& inputRegion) +{ +} + } // namespace Dali::Internal::Adaptor @implementation CocoaView