X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fwindow-impl.h;h=72d0b72ed9bf697a82922a4846764a0bf5b8eabc;hb=1f2153d4febc92138f74ee6b51f2007255fb90b4;hp=d4774f1c663934ee8b2e70d81eeafdbe837c0cc6;hpb=252a2804ec90d4df487d2a9bafacc98e74cb0668;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/window-impl.h b/adaptors/common/window-impl.h index d4774f1..72d0b72 100644 --- a/adaptors/common/window-impl.h +++ b/adaptors/common/window-impl.h @@ -65,13 +65,13 @@ public: /** * Create a new Window. This should only be called once by the Application class - * @param[in] windowPosition The position and size of the window + * @param[in] positionSize The position and size of the window * @param[in] name The window title * @param[in] className The window class name * @param[in] isTransparent Whether window is transparent * @return A newly allocated Window */ - static Window* New(const PositionSize& posSize, const std::string& name, const std::string& className, bool isTransparent = false); + static Window* New(const PositionSize& positionSize, const std::string& name, const std::string& className, bool isTransparent = false); /** * Pass the adaptor back to the overlay. This allows the window to access Core's overlay. @@ -276,10 +276,40 @@ public: int GetBrightness(); /** + * @copydoc Dali::DevelWindow::SetSize() + */ + void SetSize( Dali::DevelWindow::WindowSize size ); + + /** + * @copydoc Dali::DevelWindow::GetSize() + */ + Dali::DevelWindow::WindowSize GetSize(); + + /** + * @copydoc Dali::DevelWindow::SetPosition() + */ + void SetPosition( Dali::DevelWindow::WindowPosition position ); + + /** + * @copydoc Dali::DevelWindow::GetPosition() + */ + Dali::DevelWindow::WindowPosition GetPosition(); + + /** + * @copydoc Dali::DevelWindow::SetTransparency() + */ + void SetTransparency( bool transparent ); + + /** * Called from Orientation after the Change signal has been sent */ void RotationDone( int orientation, int width, int height ); + /** + * Set the indicator visible mode + */ + void SetIndicatorVisibleMode( Dali::Window::IndicatorVisibleMode mode ); + private: /** * Private constructor. @@ -295,7 +325,7 @@ private: /** * Second stage initialization */ - void Initialize(const PositionSize& posSize, const std::string& name, const std::string& className); + void Initialize(const PositionSize& positionSize, const std::string& name, const std::string& className); /** * Shows / hides the indicator bar. @@ -400,6 +430,7 @@ private: bool mIsFocusAcceptable:1; bool mVisible:1; bool mOpaqueState:1; + bool mResizeEnabled:1; IndicatorInterface* mIndicator; Dali::Window::WindowOrientation mIndicatorOrientation; Dali::Window::WindowOrientation mNextIndicatorOrientation;