X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fcommon%2Fwindow-impl.h;h=12d1c7fdc0b95bfca74f7a5f6cb24dbf6d70fd56;hb=abe404aa50089e1042631d5bb3254ad760552b65;hp=dff9c283ea5070ccdb14b7c3ab1d7f084eb73aa6;hpb=cae932e2ddbdb8b51624828a5919abc0410c2252;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/common/window-impl.h b/dali/internal/window-system/common/window-impl.h index dff9c28..12d1c7f 100644 --- a/dali/internal/window-system/common/window-impl.h +++ b/dali/internal/window-system/common/window-impl.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_WINDOWSYSTEM_COMMON_WINDOW_IMPL_H /* - * Copyright (c) 2021 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. @@ -65,6 +65,7 @@ public: typedef Dali::DevelWindow::TransitionEffectEventSignalType TransitionEffectEventSignalType; typedef Dali::DevelWindow::KeyboardRepeatSettingsChangedSignalType KeyboardRepeatSettingsChangedSignalType; typedef Dali::DevelWindow::AuxiliaryMessageSignalType AuxiliaryMessageSignalType; + typedef Dali::DevelWindow::AccessibilityHighlightSignalType AccessibilityHighlightSignalType; typedef Signal SignalType; /** @@ -152,6 +153,12 @@ public: Dali::RenderTaskList GetRenderTaskList() const; /** + * @brief Get window resource ID assigned by window manager + * @return The resource ID of the window + */ + std::string GetNativeResourceId() const; + + /** * @copydoc Dali::Window::AddAvailableOrientation() */ void AddAvailableOrientation(WindowOrientation orientation); @@ -386,6 +393,16 @@ public: */ void SetPositionSizeWithOrientation(PositionSize positionSize, WindowOrientation orientation); + /** + * @brief Emit the accessibility highlight signal. + * The highlight indicates that it is an object to interact with the user regardless of focus. + * After setting the highlight on the object, you can do things that the object can do, such as + * giving or losing focus. + * + * @param[in] highlight If window needs to grab or clear highlight. + */ + void EmitAccessibilityHighlightSignal(bool highlight); + public: // Dali::Internal::Adaptor::SceneHolder /** * @copydoc Dali::Internal::Adaptor::SceneHolder::GetNativeHandle @@ -437,6 +454,11 @@ public: // Dali::Internal::Adaptor::SceneHolder */ void SendRotationCompletedAcknowledgement(); + /** + * @copydoc Dali::DevelWindow::IsWindowRotating() + */ + bool IsWindowRotating() const; + private: /** * @brief Enumeration for orietation mode. @@ -677,6 +699,14 @@ public: // Signals return mAuxiliaryMessageSignal; } + /** + * @copydoc Dali::DevelWindow::AccessibilityHighlightSignal() + */ + AccessibilityHighlightSignalType& AccessibilityHighlightSignal() + { + return mAccessibilityHighlightSignal; + } + private: WindowRenderSurface* mWindowSurface; ///< The window rendering surface WindowBase* mWindowBase; @@ -687,6 +717,7 @@ private: bool mIconified : 1; bool mOpaqueState : 1; bool mWindowRotationAcknowledgement : 1; + bool mFocused : 1; Dali::Window mParentWindow; OrientationPtr mOrientation; @@ -711,6 +742,7 @@ private: TransitionEffectEventSignalType mTransitionEffectEventSignal; KeyboardRepeatSettingsChangedSignalType mKeyboardRepeatSettingsChangedSignal; AuxiliaryMessageSignalType mAuxiliaryMessageSignal; + AccessibilityHighlightSignalType mAccessibilityHighlightSignal; }; } // namespace Adaptor