12 void OnWidgetScriptInit(
Widget w)
15 m_root.SetHandler(
this);
19 override bool OnUpdate(
Widget w)
21 if (w == m_root) UpdateLayout();
25 protected void UpdateLayout()
27 Widget child = m_root.GetChildren();
34 child.GetScreenSize(itemWidth, itemHeight);
39 child.SetPos(itemWidth+(itemWidth*coef), 0);
43 child = child.GetSibling();