X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Ftizen-wayland%2Fecore-wl2%2Fwindow-base-ecore-wl2.h;h=bd4afb51c37953429a77a83ed8debf4680c6cf17;hb=3084d50ac7eec2059ed5c53b6b7ef0ca798ce460;hp=2b45ae038059079b71e39bbe2877b778f804bbdb;hpb=7b429f21ec5d2da166967ff07f2cfde4ce4f19e6;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h index 2b45ae0..bd4afb5 100644 --- a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h +++ b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.h @@ -26,6 +26,7 @@ #include #include #include +#include #ifdef DALI_ELDBUS_AVAILABLE #include @@ -155,6 +156,11 @@ public: */ void OnFontSizeChanged(); + /** + * @brief Called when a transition effect-start/end event is received. + */ + void OnTransitionEffectEvent( DevelWindow::EffectState state, DevelWindow::EffectType type ); + #ifdef DALI_ELDBUS_AVAILABLE /** * @brief Called when Ecore ElDBus accessibility event is received. @@ -163,6 +169,11 @@ public: #endif /** + * @brief Called when a keymap is changed. + */ + void KeymapChanged(void *data, int type, void *event); + + /** * @brief RegistryGlobalCallback */ void RegistryGlobalCallback( void* data, struct wl_registry *registry, uint32_t name, const char* interface, uint32_t version ); @@ -187,6 +198,12 @@ public: */ void DisplayPolicyBrightnessChangeDone( void* data, struct tizen_display_policy *displayPolicy, struct wl_surface* surface, int32_t brightness, uint32_t state ); + + /** + * @brief Gets the key code by keyName. + */ + void GetKeyCode( std::string keyName, int32_t& keyCode ); + public: /** @@ -270,14 +287,14 @@ public: virtual void Activate() override; /** - * @copydoc Dali::Internal::Adaptor::WindowBase::SetAvailableOrientations() + * @copydoc Dali::Internal::Adaptor::WindowBase::SetAvailableAnlges() */ - virtual void SetAvailableOrientations( const std::vector< Dali::Window::WindowOrientation >& orientations ) override; + virtual void SetAvailableAnlges( const std::vector< int >& angles ) override; /** - * @copydoc Dali::Internal::Adaptor::WindowBase::SetPreferredOrientation() + * @copydoc Dali::Internal::Adaptor::WindowBase::SetPreferredAngle() */ - virtual void SetPreferredOrientation( Dali::Window::WindowOrientation orientation ) override; + virtual void SetPreferredAngle( int angle ) override; /** * @copydoc Dali::Internal::Adaptor::WindowBase::SetAcceptFocus() @@ -400,6 +417,12 @@ public: virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) override; /** + * @brief Return the orientation of the surface. + * @return The orientation + */ + virtual int GetOrientation() const override; + + /** * @copydoc Dali::Internal::Adaptor::WindowBase::GetScreenRotationAngle() */ virtual int GetScreenRotationAngle() override; @@ -410,6 +433,11 @@ public: virtual void SetWindowRotationAngle( int degree ) override; /** + * @copydoc Dali::Internal::Adaptor::WindowBase::GetWindowRotationAngle() + */ + virtual int GetWindowRotationAngle() override; + + /** * @copydoc Dali::Internal::Adaptor::WindowBase::WindowRotationCompleted() */ virtual void WindowRotationCompleted( int degree, int width, int height ) override; @@ -422,12 +450,7 @@ public: /** * @copydoc Dali::Internal::Adaptor::WindowBase::SetParent() */ - virtual void SetParent( Any parent ) override; - - /** - * @copydoc Dali::Internal::Adaptor::WindowBase::IsMatchedWindow() - */ - virtual bool IsMatchedWindow( Any window ) override; + virtual void SetParent( WindowBase* parentWinBase ) override; private: @@ -467,6 +490,7 @@ private: wl_event_queue* mEventQueue; tizen_policy* mTizenPolicy; tizen_display_policy* mTizenDisplayPolicy; + xkb_keymap* mKeyMap; std::vector< std::string > mSupportedAuxiliaryHints; AuxiliaryHints mAuxiliaryHints; @@ -488,6 +512,9 @@ private: volatile uint32_t mMoveResizeSerial; uint32_t mLastSubmittedMoveResizeSerial; + int mWindowRotationAngle; + int mScreenRotationAngle; + int mSupportedPreProtation; #ifdef DALI_ELDBUS_AVAILABLE Eldbus_Connection* mSystemConnection; #endif // DALI_ELDBUS_AVAILABLE