[dali_2.3.42] Merge branch 'devel/master'
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / window-devel.cpp
index f39033d..243c8c5 100644 (file)
@@ -205,6 +205,11 @@ void EnableFloatingMode(Window window, bool enable)
   GetImplementation(window).EnableFloatingMode(enable);
 }
 
+bool IsFloatingModeEnabled(Window window)
+{
+  return GetImplementation(window).IsFloatingModeEnabled();
+}
+
 void IncludeInputRegion(Window window, const Rect<int>& inputRegion)
 {
   GetImplementation(window).IncludeInputRegion(inputRegion);
@@ -243,6 +248,12 @@ void FeedKeyEvent(Window window, const Dali::KeyEvent& keyEvent)
   GetImplementation(window).FeedKeyEvent(convertedEvent);
 }
 
+void FeedHoverEvent(Window window, const Dali::TouchPoint& point)
+{
+  Integration::Point convertedPoint(point);
+  GetImplementation(window).FeedHoverEvent(convertedPoint);
+}
+
 void Maximize(Window window, bool maximize)
 {
   GetImplementation(window).Maximize(maximize);
@@ -288,6 +299,121 @@ const TouchEvent& GetLastTouchEvent(Window window)
   return GetImplementation(window).GetLastTouchEvent();
 }
 
+const HoverEvent& GetLastHoverEvent(Window window)
+{
+  return GetImplementation(window).GetLastHoverEvent();
+}
+
+GestureState GetLastPanGestureState(Window window)
+{
+  return GetImplementation(window).GetLastPanGestureState();
+}
+
+bool PointerConstraintsLock(Window window)
+{
+  return GetImplementation(window).PointerConstraintsLock();
+}
+
+bool PointerConstraintsUnlock(Window window)
+{
+  return GetImplementation(window).PointerConstraintsUnlock();
+}
+
+void LockedPointerRegionSet(Window window, int32_t x, int32_t y, int32_t width, int32_t height)
+{
+  GetImplementation(window).LockedPointerRegionSet(x, y, width, height);
+}
+
+void LockedPointerCursorPositionHintSet(Window window, int32_t x, int32_t y)
+{
+  GetImplementation(window).LockedPointerCursorPositionHintSet(x, y);
+}
+
+bool PointerWarp(Window window, int32_t x, int32_t y)
+{
+  return GetImplementation(window).PointerWarp(x, y);
+}
+
+void CursorVisibleSet(Window window, bool visible)
+{
+  GetImplementation(window).CursorVisibleSet(visible);
+}
+
+bool KeyboardGrab(Window window, Device::Subclass::Type deviceSubclass)
+{
+  return GetImplementation(window).KeyboardGrab(deviceSubclass);
+}
+
+bool KeyboardUnGrab(Window window)
+{
+  return GetImplementation(window).KeyboardUnGrab();
+}
+
+void SetFullScreen(Window window, bool fullscreen)
+{
+  GetImplementation(window).SetFullScreen(fullscreen);
+}
+
+bool GetFullScreen(Window window)
+{
+  return GetImplementation(window).GetFullScreen();
+}
+
+void SetFrontBufferRendering(Window window, bool enable)
+{
+  GetImplementation(window).SetFrontBufferRendering(enable);
+}
+
+bool GetFrontBufferRendering(Window window)
+{
+  return GetImplementation(window).GetFrontBufferRendering();
+}
+
+void SetModal(Window window, bool modal)
+{
+  GetImplementation(window).SetModal(modal);
+}
+
+bool IsModal(Window window)
+{
+  return GetImplementation(window).IsModal();
+}
+
+void SetAlwaysOnTop(Window window, bool alwaysOnTop)
+{
+  GetImplementation(window).SetAlwaysOnTop(alwaysOnTop);
+}
+
+bool IsAlwaysOnTop(Window window)
+{
+  return GetImplementation(window).IsAlwaysOnTop();
+}
+
+Any GetNativeBuffer(Window window)
+{
+  return GetImplementation(window).GetNativeBuffer();
+}
+
+bool RelativeMotionGrab(Window window, uint32_t boundary)
+{
+  return GetImplementation(window).RelativeMotionGrab(boundary);
+}
+
+bool RelativeMotionUnGrab(Window window)
+{
+  return GetImplementation(window).RelativeMotionUnGrab();
+}
+
+void SetBlur(Window window, const WindowBlurInfo& blurInfo)
+{
+  GetImplementation(window).SetBlur(blurInfo);
+}
+
+WindowBlurInfo GetBlur(Window window)
+{
+  return GetImplementation(window).GetBlur();
+}
+
 InterceptKeyEventSignalType& InterceptKeyEventSignal(Window window)
 {
   return GetImplementation(window).InterceptKeyEventSignal();
@@ -298,6 +424,21 @@ MouseInOutEventSignalType& MouseInOutEventSignal(Window window)
   return GetImplementation(window).MouseInOutEventSignal();
 }
 
+InsetsChangedSignalType& InsetsChangedSignal(Window window)
+{
+  return GetImplementation(window).InsetsChangedSignal();
+}
+
+MouseRelativeEventSignalType& MouseRelativeEventSignal(Window window)
+{
+  return GetImplementation(window).MouseRelativeEventSignal();
+}
+
+PointerConstraintsSignalType& PointerConstraintsSignal(Window window)
+{
+  return GetImplementation(window).PointerConstraintsSignal();
+}
+
 } // namespace DevelWindow
 
 } // namespace Dali