Apply reviewed code.
authorKeuckdo Bang <keuckdo.bang@samsung.net>
Wed, 11 Sep 2013 09:26:17 +0000 (18:26 +0900)
committerKeuckdo Bang <keuckdo.bang@samsung.net>
Wed, 11 Sep 2013 09:26:17 +0000 (18:26 +0900)
Change-Id: I0d507cd46c9b30be551fbd907b759e4c05fde492

inc/FUiControl.h
inc/FUiWindow.h
src/ui/FUiWindow.cpp
src/ui/FUi_Control.cpp
src/ui/inc/FUi_Control.h

index fce347e..d817c46 100644 (file)
@@ -1275,6 +1275,7 @@ public:
         *
         *         delete pCanvas;
         *     }
+        *     Control::OnDraw();
         *     // Do not call Show(). It will be called automatically after OnDraw() callback.
         *     return r;
         * }
@@ -1406,7 +1407,7 @@ public:
         *
         * @since               2.0
         *
-        * @return              @c true if the show states of the specified control and tis ancestor controls are set to @c true, @n
+        * @return              @c true if the show states of the specified control and its ancestor controls are set to @c true, @n
         *                              else @c false if this method is called before the control is added to a parent or the show state
         *                              of the specified control or its parent control is set to @c false.
         * @see                 GetShowState()
index ebc8eac..8c3283a 100644 (file)
@@ -137,7 +137,7 @@ public:
         * @param[in]    pControl      The control
         * @remarks       The ownership of @c pControl is not transferred to this instance. It is the developer's responsibility to deallocate @c pControl even after calling this method.
         */
-       void SetOwner(Tizen::Ui::Control *pControl);
+       void SetOwner(Tizen::Ui::ControlpControl);
 
        /**
         * Gets the owner of the window.
index 9e0c5c2..f28be66 100644 (file)
@@ -160,7 +160,7 @@ Window::SetZOrderGroup(WindowZOrderGroup windowZOrderGroup)
 }
 
 void
-Window::SetOwner(Tizen::Ui::Control *pControl)
+Window::SetOwner(Tizen::Ui::ControlpControl)
 {
        _WindowImpl* pImpl = _WindowImpl::GetInstance(*this);
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
index aa9bc45..e4d4959 100644 (file)
@@ -1438,7 +1438,7 @@ _Control::GetChildList()
 }
 
 bool
-_Control::IsCalledCallAttachingToMainTree(void)
+_Control::IsCalledCallAttachingToMainTree(void) const
 {
        return __isCalledCallOnAttachingToMainTree;
 }
@@ -1450,13 +1450,13 @@ _Control::SetCalledCallAttachingToMainTree(bool isAttaching)
 }
 
 bool
-_Control::IsCalledCallPreAttachedToMainTree(void)
+_Control::IsCalledCallPreAttachedToMainTree(void) const
 {
        return __isCalledCallOnPreAttachedToMainTree;
 }
 
 bool
-_Control::IsCalledCallAttachedToMainTree(void)
+_Control::IsCalledCallAttachedToMainTree(void) const
 {
        return __isCalledCallOnAttachedToMainTree;
 }
@@ -2590,7 +2590,7 @@ _Control::SetFocusWindowActivationChecked(bool isChecked)
 }
 
 bool
-_Control::IsFocusWindowActivationChecked(void)
+_Control::IsFocusWindowActivationChecked(void) const
 {
        return __isFocusWindowActivationChecked;
 }
@@ -3792,7 +3792,7 @@ _Control::SetClientBounds(const FloatRectangle& bounds)
 }
 
 bool
-_Control::IsCalledSetClientBounds(void)
+_Control::IsCalledSetClientBounds(void) const
 {
        return __isSetClientBounds;
 }
@@ -4121,7 +4121,7 @@ _Control::SetDrawWhenVisible(bool draw)
 }
 
 bool
-_Control::IsDrawWhenVisible(void)
+_Control::IsDrawWhenVisible(void) const
 {
        return __drawWhenVisible;
 }
@@ -4133,7 +4133,7 @@ _Control::SetTerminatingOrder(bool postOrderTraversal)
 }
 
 bool
-_Control::IsPostOrderTraversal(void)
+_Control::IsPostOrderTraversal(void) const
 {
        return __isPostOrderTraversal;
 }
index 29f8460..552a0c3 100644 (file)
@@ -389,9 +389,9 @@ public:
        Tizen::Graphics::Rectangle GetInvalidatedBounds(void) const;
        Tizen::Graphics::FloatRectangle GetInvalidatedBoundsF(void) const;
        void SetDrawWhenVisible(bool draw);
-       bool IsDrawWhenVisible(void);
+       bool IsDrawWhenVisible(void) const;
        void SetTerminatingOrder(bool postOrderTraversal);
-       bool IsPostOrderTraversal(void);
+       bool IsPostOrderTraversal(void) const;
 
 // Font
        result SetFont(const Tizen::Base::String& fontName);
@@ -426,7 +426,7 @@ public:
        bool IsNativeObjectFocusable(void) const;
        void SetNativeObjectFocusable(bool focusable);
        void SetFocusWindowActivationChecked(bool isChecked);
-       bool IsFocusWindowActivationChecked(void);
+       bool IsFocusWindowActivationChecked(void) const;
 
 // Focus UI
        void SetPreviousFocus(_Control* pPreviousFocus);
@@ -488,7 +488,7 @@ public:
        Tizen::Graphics::FloatRectangle GetAbsoluteBoundsF(bool recalcAlways = false) const;
        result SetClientBounds(const Tizen::Graphics::Rectangle& bounds);
        result SetClientBounds(const Tizen::Graphics::FloatRectangle& bounds);
-       bool IsCalledSetClientBounds(void);
+       bool IsCalledSetClientBounds(void) const;
        virtual void UpdateClientBounds(const Tizen::Graphics::FloatDimension& size, Tizen::Graphics::FloatRectangle& clientBounds);
        void InvalidateHierarchyAbsoluteBounds(_Control& control);
 
@@ -625,11 +625,11 @@ private:
        result EndAttaching(_Control& child);
        void SetParent(_Control* pParent);
 
-       bool IsCalledCallAttachingToMainTree(void);
+       bool IsCalledCallAttachingToMainTree(void) const;
        void SetCalledCallAttachingToMainTree(bool isAttaching);
-       bool IsCalledCallPreAttachedToMainTree(void);
+       bool IsCalledCallPreAttachedToMainTree(void) const;
        void SetCalledCallPreAttachedToMainTree(bool isAttached);
-       bool IsCalledCallAttachedToMainTree(void);
+       bool IsCalledCallAttachedToMainTree(void) const;
        void SetCalledCallAttachedToMainTree(bool isAttached);
 
        result CallOnAttachingToMainTree(_Control& control);