X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fcommon%2Fwindow-impl.h;h=6c62910395f55e7bf51ed0663cc3e9f581a42c2c;hb=44ac6b074a4d7d2f9474331a364e4629c0bce11a;hp=47f8325d869bd6d35767c5aa291b6c866d3df4ae;hpb=4d3f072f2b4191440ef5b6396a0e033098a87067;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 47f8325..6c62910 100644 --- a/dali/internal/window-system/common/window-impl.h +++ b/dali/internal/window-system/common/window-impl.h @@ -1,5 +1,5 @@ -#ifndef __DALI_INTERNAL_WINDOW_H__ -#define __DALI_INTERNAL_WINDOW_H__ +#ifndef DALI_INTERNAL_WINDOWSYSTEM_COMMON_WINDOW_IMPL_H +#define DALI_INTERNAL_WINDOWSYSTEM_COMMON_WINDOW_IMPL_H /* * Copyright (c) 2018 Samsung Electronics Co., Ltd. @@ -27,6 +27,7 @@ #include #include #include +#include #include namespace Dali @@ -304,6 +305,26 @@ public: void SetTransparency( bool transparent ); /** + * @copydoc Dali::KeyGrab::GrabKey() + */ + bool GrabKey( Dali::KEY key, KeyGrab::KeyGrabMode grabMode ); + + /** + * @copydoc Dali::KeyGrab::UngrabKey() + */ + bool UngrabKey( Dali::KEY key ); + + /** + * @copydoc Dali::KeyGrab::GrabKeyList() + */ + bool GrabKeyList( const Dali::Vector< Dali::KEY >& key, const Dali::Vector< KeyGrab::KeyGrabMode >& grabMode, Dali::Vector< bool >& result ); + + /** + * @copydoc Dali::KeyGrab::UngrabKeyList() + */ + bool UngrabKeyList( const Dali::Vector< Dali::KEY >& key, Dali::Vector< bool >& result ); + + /** * Called from Orientation after the Change signal has been sent */ void RotationDone( int orientation, int width, int height ); @@ -435,26 +456,26 @@ public: // Signals private: - WindowRenderSurface* mSurface; - std::unique_ptr< WindowBase > mWindowBase; - Dali::Window::IndicatorVisibleMode mIndicatorVisible; ///< public state - bool mIndicatorIsShown:1; ///< private state - bool mShowRotatedIndicatorOnClose:1; - bool mStarted:1; - bool mIsTransparent:1; - bool mIsFocusAcceptable:1; - bool mVisible:1; - bool mIconified:1; - bool mOpaqueState:1; - bool mResizeEnabled:1; - IndicatorInterface* mIndicator; - Dali::Window::WindowOrientation mIndicatorOrientation; - Dali::Window::WindowOrientation mNextIndicatorOrientation; - Dali::Window::IndicatorBgOpacity mIndicatorOpacityMode; - Integration::SystemOverlay* mOverlay; - Adaptor* mAdaptor; - Dali::DragAndDropDetector mDragAndDropDetector; - Dali::Window::Type mType; + WindowRenderSurface* mSurface; + std::unique_ptr< WindowBase > mWindowBase; + Dali::Window::IndicatorVisibleMode mIndicatorVisible; ///< public state + bool mIndicatorIsShown:1; ///< private state + bool mShowRotatedIndicatorOnClose:1; + bool mStarted:1; + bool mIsTransparent:1; + bool mIsFocusAcceptable:1; + bool mVisible:1; + bool mIconified:1; + bool mOpaqueState:1; + bool mResizeEnabled:1; + std::unique_ptr< IndicatorInterface > mIndicator; + Dali::Window::WindowOrientation mIndicatorOrientation; + Dali::Window::WindowOrientation mNextIndicatorOrientation; + Dali::Window::IndicatorBgOpacity mIndicatorOpacityMode; + Integration::SystemOverlay* mOverlay; + Adaptor* mAdaptor; + Dali::DragAndDropDetector mDragAndDropDetector; + Dali::Window::Type mType; OrientationPtr mOrientation; std::vector mAvailableOrientations; @@ -488,4 +509,4 @@ inline const Internal::Adaptor::Window& GetImplementation(const Dali::Window& wi } // namespace Dali -#endif // __DALI_INTERNAL_WINDOW_H__ +#endif // DALI_INTERNAL_WINDOWSYSTEM_COMMON_WINDOW_IMPL_H