X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fcommon%2Fwindow-base.h;h=86cb25b8e85feeebe2af1d7bbf985e56d5cbd22c;hb=4089a677183ea5ac630ac55a967c254109c2ea6c;hp=165a69adbe8e95110b155905ea1d3747097250ea;hpb=aa72090722323a2372f2a8ce6c3eac9eb9ec1197;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/common/window-base.h b/dali/internal/window-system/common/window-base.h index 165a69a..86cb25b 100644 --- a/dali/internal/window-system/common/window-base.h +++ b/dali/internal/window-system/common/window-base.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +70,7 @@ public: typedef Signal< void ( ) > DeleteSignalType; typedef Signal< void ( const DamageArea& ) > DamageSignalType; typedef Signal< void ( const RotationEvent& ) > RotationSignalType; + typedef Signal< void ( DevelWindow::EffectState, DevelWindow::EffectType ) > TransitionEffectEventSignalType; // Input events typedef Signal< void ( Integration::Point&, uint32_t ) > TouchEventSignalType; @@ -309,6 +311,12 @@ public: virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) = 0; /** + * @brief Return the orientation of the surface. + * @return The orientation + */ + virtual int GetOrientation() const = 0; + + /** * @brief Get the screen rotation angle of the window */ virtual int GetScreenRotationAngle() = 0; @@ -318,6 +326,11 @@ public: */ virtual void SetWindowRotationAngle( int degree ) = 0; + /** + * @brief Get the rotation angle of the window + */ + virtual int GetWindowRotationAngle() = 0; + /** * @brief Inform the window rotation is completed */ @@ -328,6 +341,11 @@ public: */ virtual void SetTransparency( bool transparent ) = 0; + /** + * @copydoc Dali::Window::SetParent() + */ + virtual void SetParent( WindowBase* parentWinBase ) = 0; + // Signals /** @@ -395,6 +413,11 @@ public: */ AccessibilitySignalType& AccessibilitySignal(); + /** + * @brief This signal is emitted when window's transition animation is started or ended. + */ + TransitionEffectEventSignalType& TransitionEffectEventSignal(); + protected: // Undefined @@ -418,6 +441,7 @@ protected: SelectionSignalType mSelectionDataReceivedSignal; StyleSignalType mStyleChangedSignal; AccessibilitySignalType mAccessibilitySignal; + TransitionEffectEventSignalType mTransitionEffectEventSignal; }; } // namespace Adaptor