X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fwindow-devel.cpp;h=34b609a19f91aebf5f38dc67802d0f614d9fbe20;hb=c14e40e115165083feb961ddc43fc298bfe83859;hp=ae700b102cf15fda180bbaef1f0c4f642efc5e07;hpb=b0341d2821912533348f52a550779dc5b5ca28c9;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/window-devel.cpp b/dali/devel-api/adaptor-framework/window-devel.cpp index ae700b1..34b609a 100644 --- a/dali/devel-api/adaptor-framework/window-devel.cpp +++ b/dali/devel-api/adaptor-framework/window-devel.cpp @@ -106,6 +106,11 @@ AuxiliaryMessageSignalType& AuxiliaryMessageSignal(Window window) return GetImplementation(window).AuxiliaryMessageSignal(); } +AccessibilityHighlightSignalType& AccessibilityHighlightSignal(Window window) +{ + return GetImplementation(window).AccessibilityHighlightSignal(); +} + void SetParent(Window window, Window parent) { GetImplementation(window).SetParent(parent); @@ -201,6 +206,44 @@ void SendRotationCompletedAcknowledgement(Window window) GetImplementation(window).SendRotationCompletedAcknowledgement(); } +void FeedTouchPoint(Window window, const Dali::TouchPoint& point, int32_t timeStamp) +{ + Integration::Point convertedPoint(point); + GetImplementation(window).FeedTouchPoint(convertedPoint, timeStamp); +} + +void FeedWheelEvent(Window window, const Dali::WheelEvent& wheelEvent) +{ + Integration::WheelEvent convertedEvent(static_cast(wheelEvent.GetType()), wheelEvent.GetDirection(), wheelEvent.GetModifiers(), wheelEvent.GetPoint(), wheelEvent.GetDelta(), wheelEvent.GetTime()); + GetImplementation(window).FeedWheelEvent(convertedEvent); +} + +void FeedKeyEvent(Window window, const Dali::KeyEvent& keyEvent) +{ + Integration::KeyEvent convertedEvent(keyEvent.GetKeyName(), keyEvent.GetLogicalKey(), keyEvent.GetKeyString(), keyEvent.GetKeyCode(), keyEvent.GetKeyModifier(), keyEvent.GetTime(), static_cast(keyEvent.GetState()), keyEvent.GetCompose(), keyEvent.GetDeviceName(), keyEvent.GetDeviceClass(), keyEvent.GetDeviceSubclass()); + GetImplementation(window).FeedKeyEvent(convertedEvent); +} + +void Maximize(Window window, bool maximize) +{ + GetImplementation(window).Maximize(maximize); +} + +bool IsMaximized(Window window) +{ + return GetImplementation(window).IsMaximized(); +} + +void Minimize(Window window, bool miniimize) +{ + GetImplementation(window).Minimize(miniimize); +} + +bool IsMinimized(Window window) +{ + return GetImplementation(window).IsMinimized(); +} + } // namespace DevelWindow } // namespace Dali