// Custom Exception: ex) Location::Map
result
-_Control::SetBoundsFinal(const FloatRectangle& newBounds, bool changeLayoutBaseRect, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement)
+_Control::SetBoundsFinal(const FloatRectangle& newBounds, bool changeLayoutBaseRect, bool callBoundsChangeCallbacks)
{
result r = E_SUCCESS;
}
}
- if ((moved || resized) && callUpdateBoundsOfVisualElement)
+ if (moved || resized)
{
const FloatRectangle fbounds(bounds.x, bounds.y, bounds.width, bounds.height);
if (IsLayoutChangable() == false)
// Custom Exception: ex) Location::Map
// E_INVALID_ARG
result
-_Control::SetBoundsInternal(const FloatRectangle& bounds, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement)
+_Control::SetBoundsInternal(const FloatRectangle& bounds, bool callBoundsChangeCallbacks)
{
SysTryReturn(NID_UI,
IsInSizeRange(Dimension(bounds.width, bounds.height)), E_INVALID_ARG,
SetUpdateLayoutState(true);
- return SetBoundsFinal(bounds, true, callBoundsChangeCallbacks, callUpdateBoundsOfVisualElement);
+ return SetBoundsFinal(bounds, true, callBoundsChangeCallbacks);
}
// Custom Exception: ex) Location::Map
// E_INVALID_ARG
// E_UNSUPPORTED_OPERATION
result
-_Control::SetBounds(const Rectangle& bounds, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement)
+_Control::SetBounds(const Rectangle& bounds, bool callBoundsChangeCallbacks)
{
ClearLastResult();
}
FloatRectangle floatBounds(bounds.x, bounds.y, bounds.width, bounds.height);
- return SetBoundsInternal(floatBounds, callBoundsChangeCallbacks, callUpdateBoundsOfVisualElement);
+ return SetBoundsInternal(floatBounds, callBoundsChangeCallbacks);
}
// Custom Exception: ex) Location::Map
// E_INVALID_ARG
// E_UNSUPPORTED_OPERATION
result
-_Control::SetBounds(const FloatRectangle& bounds, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement)
+_Control::SetBounds(const FloatRectangle& bounds, bool callBoundsChangeCallbacks)
{
ClearLastResult();
E_UNSUPPORTED_OPERATION, "[E_UNSUPPORTED_OPERATION] Not movable nor resizable.");
}
- return SetBoundsInternal(bounds, callBoundsChangeCallbacks, callUpdateBoundsOfVisualElement);
+ return SetBoundsInternal(bounds, callBoundsChangeCallbacks);
}
// A custom Exception can occur. ex) Location::Map
return __isSetClientBounds;
}
+void
+_Control::UpdateClientBounds(const FloatDimension& size)
+{
+
+}
+
Color
_Control::GetBackgroundColor(void) const
{
}
result
-_ControlImpl::SetBounds(const Rectangle& bounds, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement)
+_ControlImpl::SetBounds(const Rectangle& bounds, bool callBoundsChangeCallbacks)
{
UpdateBuilderBounds(_CoordinateSystemUtils::ConvertToFloat(bounds));
- return GetCore().SetBounds(bounds, callBoundsChangeCallbacks, callUpdateBoundsOfVisualElement);
+ return GetCore().SetBounds(bounds, callBoundsChangeCallbacks);
}
result
-_ControlImpl::SetBounds(const FloatRectangle& bounds, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement)
+_ControlImpl::SetBounds(const FloatRectangle& bounds, bool callBoundsChangeCallbacks)
{
UpdateBuilderBounds(bounds);
- return GetCore().SetBounds(bounds, callBoundsChangeCallbacks, callUpdateBoundsOfVisualElement);
+ return GetCore().SetBounds(bounds, callBoundsChangeCallbacks);
}
result
Tizen::Graphics::FloatPoint GetPositionF(void) const;
Tizen::Graphics::Dimension GetSize(void) const;
Tizen::Graphics::FloatDimension GetSizeF(void) const;
- result SetBounds(const Tizen::Graphics::Rectangle& bounds, bool callBoundsChangeCallbacks = true, bool callUpdateBoundsOfVisualElement = true);
- result SetBounds(const Tizen::Graphics::FloatRectangle& bounds, bool callBoundsChangeCallbacks = true, bool callUpdateBoundsOfVisualElement = true);
+ result SetBounds(const Tizen::Graphics::Rectangle& bounds, bool callBoundsChangeCallbacks = true);
+ result SetBounds(const Tizen::Graphics::FloatRectangle& bounds, bool callBoundsChangeCallbacks = true);
result SetPosition(const Tizen::Graphics::Point& position);
result SetPosition(const Tizen::Graphics::FloatPoint& position);
result SetSize(const Tizen::Graphics::Dimension& size);
result SetClientBounds(const Tizen::Graphics::Rectangle& bounds);
result SetClientBounds(const Tizen::Graphics::FloatRectangle& bounds);
bool IsCalledSetClientBounds(void);
+ virtual void UpdateClientBounds(const Tizen::Graphics::FloatDimension& size);
bool Contains(const Tizen::Graphics::Point& point) const;
bool Contains(const Tizen::Graphics::FloatPoint& point) const;
bool IsInSizeRange(const Tizen::Graphics::Dimension& size) const;
bool IsInSizeRange(const Tizen::Graphics::FloatDimension& size) const;
result AdjustSizeToRange(void);
- result SetBoundsInternal(const Tizen::Graphics::FloatRectangle& bounds, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement = true);
- result SetBoundsFinal(const Tizen::Graphics::FloatRectangle& newBounds, bool changeLayoutBaseRect, bool callBoundsChangeCallbacks, bool callUpdateBoundsOfVisualElement = true);
+ result SetBoundsInternal(const Tizen::Graphics::FloatRectangle& bounds, bool callBoundsChangeCallbacks);
+ result SetBoundsFinal(const Tizen::Graphics::FloatRectangle& newBounds, bool changeLayoutBaseRect, bool callBoundsChangeCallbacks);
result UpdateBoundsOfVisualElement(const Tizen::Graphics::FloatRectangle& controlBounds);
result AdjustAbsoluteBounds(void);
Tizen::Graphics::FloatPoint GetPositionF(void) const;
Tizen::Graphics::Dimension GetSize(void) const;
Tizen::Graphics::FloatDimension GetSizeF(void) const;
- result SetBounds(const Tizen::Graphics::Rectangle& bounds, bool callBoundsChangeCallbacks = true, bool callUpdateBoundsOfVisualElement = true);
- result SetBounds(const Tizen::Graphics::FloatRectangle& bounds, bool callBoundsChangeCallbacks = true, bool callUpdateBoundsOfVisualElement = true);
+ result SetBounds(const Tizen::Graphics::Rectangle& bounds, bool callBoundsChangeCallbacks = true);
+ result SetBounds(const Tizen::Graphics::FloatRectangle& bounds, bool callBoundsChangeCallbacks = true);
result SetBoundsAndUpdateLayout(const Tizen::Graphics::Rectangle& bounds);
result SetBoundsAndUpdateLayoutF(const Tizen::Graphics::FloatRectangle& bounds);
result SetPosition(const Tizen::Graphics::Point& position);