14 m_MainWidget.Show(
true,
false);
20 m_MainWidget = m_MainWidget.FindAnyWidget(
"Content");
31 RecomputeOpenedContainers();
37 for (
int i = 0;
i < m_OpenedContainers.Count();
i++)
46 if (m_OpenedContainers.Count() <= m_ActiveIndex)
66#ifdef PLATFORM_CONSOLE
67 ScrollToActiveContainer();
79#ifndef PLATFORM_CONSOLE
98 m_MainWidget.GetScreenPos(
x,
y);
99 if (m_OpenedContainers.IsValidIndex(m_ActiveIndex))
108 m_MainWidget.GetScreenPos(
x,
y);
110 if (m_OpenedContainers.IsValidIndex(m_ActiveIndex))
134 c.ExpandCollapseContainer();
151#ifdef PLATFORM_CONSOLE
202 m_MainWidget.Update();
213 super.UpdateInterval();
219 m_MainWidget.GetScreenSize(
x2,
y2);
227 m_MainWidget.Update();
232 CheckScrollbarVisibility();
ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS]
override float GetFocusedContainerHeight(bool contents=false)
override float GetFocusedContainerYScreenPos(bool contents=false)
override void ExpandCollapseContainer()
override void UpdateInterval()
override bool OnChildAdd(Widget w, Widget child)
override void SetParentWidget()
override void SetSameLevelNextActive()
override void SetActive(bool active)
override EntityAI GetFocusedItem()
float GetCurrentContainerTopY()
override void SetLayoutName()
void OnLeftPanelDropReceived(Widget w, int x, int y, Widget receiver)
ScrollWidget m_ScrollWidget
void LeftArea(LayoutHolder parent)
override ScrollWidget GetScrollWidget()
override void UpdateSelectionIcons()
float GetCurrentContainerBottomY()
VicinityContainer GetVicinityContainer()
override void SetSameLevelPreviousActive()
override bool OnChildRemove(Widget w, Widget child)
ref VicinityContainer m_VicinityContainer
ref SizeToChild m_ContentResize
override void UnfocusGrid()
override void DraggingOverHeader(Widget w, int x, int y, Widget receiver)
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.