X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fwindow-devel.cpp;h=0713159863b67e83155cd96f68b9389b62cc910c;hb=abe404aa50089e1042631d5bb3254ad760552b65;hp=ae700b102cf15fda180bbaef1f0c4f642efc5e07;hpb=ac63e9f54ced9f1ebad3cfbe285d7c29887dd7c2;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..0713159 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,49 @@ 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(); +} + +bool IsWindowRotating(Window window) +{ + return GetImplementation(window).IsWindowRotating(); +} + } // namespace DevelWindow } // namespace Dali