/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
return mImpl->mWindow.windowNumber;
}
+std::string WindowBaseCocoa::GetNativeWindowResourceId()
+{
+ return std::string();
+}
+
EGLNativeWindowType WindowBaseCocoa::CreateEglWindow(int width, int height)
{
// XXX: this method is called from a secondary thread, but
[mImpl->mWindow.contentView setFrameSize:size];
}
+void WindowBaseCocoa::SetLayout(unsigned int numCols, unsigned int numRows, unsigned int column, unsigned int row, unsigned int colSpan, unsigned int rowSpan)
+{
+}
+
void WindowBaseCocoa::SetClass( const std::string& name, const std::string& className )
{
}
[mImpl->mWinController showWindow:nil];
}
+void WindowBaseCocoa::Maximize(bool maximize)
+{
+}
+
+bool WindowBaseCocoa::IsMaximized() const
+{
+ return false;
+}
+
+void WindowBaseCocoa::SetMaximumSize(Dali::Window::WindowSize size)
+{
+}
+
+void WindowBaseCocoa::Minimize(bool minimize)
+{
+}
+
+bool WindowBaseCocoa::IsMinimized() const
+{
+ return false;
+}
+
+void WindowBaseCocoa::SetMimimumSize(Dali::Window::WindowSize size)
+{
+}
+
void WindowBaseCocoa::SetAvailableAnlges( const std::vector< int >& angles )
{
}
{
}
-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
{
}
-bool WindowBaseCocoa::SetScreenOffMode(WindowScreenOffMode screenOffMode)
+WindowOperationResult WindowBaseCocoa::SetScreenOffMode(WindowScreenOffMode screenOffMode)
{
- return false;
+ return WindowOperationResult::NOT_SUPPORTED;
}
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
dpiVertical = res.height;
}
-int WindowBaseCocoa::GetOrientation() const
+int WindowBaseCocoa::GetWindowRotationAngle() const
{
return 0;
}
mImpl->mWindow.alphaValue = static_cast<CGFloat>(!transparent);
}
-void WindowBaseCocoa::SetParent( WindowBase* parentWinBase )
+void WindowBaseCocoa::SetParent(WindowBase* parentWinBase, bool belowParent)
{
auto &parent = dynamic_cast<WindowBaseCocoa&>(*parentWinBase);
[mImpl->mWindow setParentWindow:parent.mImpl->mWindow];
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<int>& inputRegion)
+{
+}
+
+void WindowBaseCocoa::ExcludeInputRegion(const Rect<int>& inputRegion)
+{
+}
+
} // namespace Dali::Internal::Adaptor
@implementation CocoaView