41 #ifndef _uipagedcontainer_h
42 #define _uipagedcontainer_h
44 #include "UI/widget.h"
125 virtual void ProtoSerializeImpl(
XML::Node& SelfRoot)
const;
127 virtual void ProtoDeSerializeImpl(
const XML::Node& SelfRoot);
130 virtual void UpdateContainerDimensionsImpl(
const Rect& OldSelfRect,
const Rect& NewSelfRect) = 0;
155 virtual void SetWorkAreaSize(
const UnifiedVec2& Area);
158 virtual const UnifiedVec2& GetWorkAreaSize()
const;
161 virtual Vector2 GetActualWorkAreaSize()
const;
164 virtual void UpdateDimensions(
const Rect& OldSelfRect,
const Rect& NewSelfRect);
168 virtual Widget* GetLastFocusedWidget()
const;
204 virtual void AddChild(
Widget* Child);
206 virtual void RemoveChild(
Widget* Child);
208 virtual void RemoveAllChildren();
215 virtual void ProtoSerializePageData(
XML::Node& SelfRoot)
const;
217 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
221 virtual void ProtoDeSerializePageData(
const XML::Node& SelfRoot);
223 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
226 static String GetSerializableName();
233 virtual void _OnChildFocusGained(
const String& ChildName);