#define DALI_INTERNAL_WINDOWSYSTEM_TIZENWAYLAND_WINDOW_BASE_ECORE_WL_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
#include <tizen-extension-client-protocol.h>
#include <wayland-egl.h>
-#ifdef DALI_ELDBUS_AVAILABLE
-#include <Eldbus.h>
-#endif
-
namespace Dali
{
namespace Internal
*/
void OnFontSizeChanged();
-#ifdef DALI_ELDBUS_AVAILABLE
- /**
- * @brief Called when Ecore ElDBus accessibility event is received.
- */
- void OnEcoreElDBusAccessibilityNotification(void* context, const Eldbus_Message* message);
-#endif
-
/**
* @brief RegistryGlobalCallback
*/
int GetNativeWindowId() override;
/**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::GetNativeWindowResourceId()
+ */
+ std::string GetNativeWindowResourceId() override;
+
+ /**
* @copydoc Dali::Internal::Adaptor::WindowBase::CreateEglWindow()
*/
EGLNativeWindowType CreateEglWindow(int width, int height) override;
void MoveResize(PositionSize positionSize) override;
/**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::SetLayout()
+ */
+ void SetLayout(unsigned int numCols, unsigned int numRows, unsigned int column, unsigned int row, unsigned int colSpan, unsigned int rowSpan) override;
+
+ /**
* @copydoc Dali::Internal::Adaptor::WindowBase::SetClass()
*/
void SetClass(const std::string& name, const std::string& className) override;
void Activate() override;
/**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::Maximize()
+ */
+ void Maximize(bool maximize) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::IsMaximized()
+ */
+ bool IsMaximized() const override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::SetMaximumSize()
+ */
+ void SetMaximumSize(Dali::Window::WindowSize size) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::Minimize()
+ */
+ void Minimize(bool minimize) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::IsMinimized()
+ */
+ bool IsMinimized() const override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::SetMimimumSize()
+ */
+ void SetMimimumSize(Dali::Window::WindowSize size) override;
+
+ /**
* @copydoc Dali::Internal::Adaptor::WindowBase::SetAvailableAnlges()
*/
void SetAvailableAnlges(const std::vector<int>& angles) override;
void GetDpi(unsigned int& dpiHorizontal, unsigned int& dpiVertical) override;
/**
- * @copydoc Dali::Internal::Adaptor::WindowBase::GetOrientation()
+ * @copydoc Dali::Internal::Adaptor::WindowBase::GetWindowRotationAngle()
*/
- int GetOrientation() const override;
+ int GetWindowRotationAngle() const override;
/**
* @copydoc Dali::Internal::Adaptor::WindowBase::GetScreenRotationAngle()
*/
void ExcludeInputRegion(const Rect<int>& inputRegion) override;
-private:
/**
- * Second stage initialization
+ * @copydoc Dali::Internal::Adaptor::WindowBase::PointerConstraintsLock()
*/
- void Initialize(PositionSize positionSize, Any surface, bool isTransparent);
+ bool PointerConstraintsLock() override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::PointerConstraintsUnlock()
+ */
+ bool PointerConstraintsUnlock() override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::LockedPointerRegionSet()
+ */
+ void LockedPointerRegionSet(int32_t x, int32_t y, int32_t width, int32_t height) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::LockedPointerCursorPositionHintSet()
+ */
+ void LockedPointerCursorPositionHintSet(int32_t x, int32_t y) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::PointerWarp()
+ */
+ bool PointerWarp(int32_t x, int32_t y) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::CursorVisibleSet()
+ */
+ void CursorVisibleSet(bool visible) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::KeyboardGrab()
+ */
+ bool KeyboardGrab(Device::Subclass::Type deviceSubclass) override;
/**
- * Initialize Ecore ElDBus
+ * @copydoc Dali::Internal::Adaptor::WindowBase::KeyboardUnGrab()
*/
- void InitializeEcoreElDBus();
+ bool KeyboardUnGrab() override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::SetFullScreen()
+ */
+ void SetFullScreen(bool fullscreen) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::GetFullScreen()
+ */
+ bool GetFullScreen() override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::SetFrontBufferRendering()
+ */
+ void SetFrontBufferRendering(bool enable) override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::GetFrontBufferRendering()
+ */
+ bool GetFrontBufferRendering() override;
+
+ /**
+ * @copydoc Dali::Internal::Adaptor::WindowBase::SetEglWindowFrontBufferMode()
+ */
+ void SetEglWindowFrontBufferMode(bool enable) override;
+
+private:
+ /**
+ * Second stage initialization
+ */
+ void Initialize(PositionSize positionSize, Any surface, bool isTransparent);
/**
* @brief Create window
int mWindowRotationAngle;
int mScreenRotationAngle;
int mSupportedPreProtation;
-#ifdef DALI_ELDBUS_AVAILABLE
- Eldbus_Connection* mSystemConnection;
-#endif // DALI_ELDBUS_AVAILABLE
};
} // namespace Adaptor