*
* delete pCanvas;
* }
+ * Control::OnDraw();
* // Do not call Show(). It will be called automatically after OnDraw() callback.
* return r;
* }
*
* @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()
* @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::Control* pControl);
/**
* Gets the owner of the window.
}
void
-Window::SetOwner(Tizen::Ui::Control *pControl)
+Window::SetOwner(Tizen::Ui::Control* pControl)
{
_WindowImpl* pImpl = _WindowImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
}
bool
-_Control::IsCalledCallAttachingToMainTree(void)
+_Control::IsCalledCallAttachingToMainTree(void) const
{
return __isCalledCallOnAttachingToMainTree;
}
}
bool
-_Control::IsCalledCallPreAttachedToMainTree(void)
+_Control::IsCalledCallPreAttachedToMainTree(void) const
{
return __isCalledCallOnPreAttachedToMainTree;
}
bool
-_Control::IsCalledCallAttachedToMainTree(void)
+_Control::IsCalledCallAttachedToMainTree(void) const
{
return __isCalledCallOnAttachedToMainTree;
}
}
bool
-_Control::IsFocusWindowActivationChecked(void)
+_Control::IsFocusWindowActivationChecked(void) const
{
return __isFocusWindowActivationChecked;
}
}
bool
-_Control::IsCalledSetClientBounds(void)
+_Control::IsCalledSetClientBounds(void) const
{
return __isSetClientBounds;
}
}
bool
-_Control::IsDrawWhenVisible(void)
+_Control::IsDrawWhenVisible(void) const
{
return __drawWhenVisible;
}
}
bool
-_Control::IsPostOrderTraversal(void)
+_Control::IsPostOrderTraversal(void) const
{
return __isPostOrderTraversal;
}
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);
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);
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);
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);