25 for (
int i = 0;
i < GetColumnCount();
i++)
56 for (
int i = 0;
i < GetColumnCount();
i++)
74 for (
int i = 0;
i < GetColumnCount();
i++)
76 if (m_FocusedColumn ==
i)
89 int index = m_FocusedColumn + 1;
90 for (
int i = 0;
i < GetColumnCount();
i++)
92 if (
index >= GetColumnCount())
97 m_FocusedColumn =
index;
110 int index = m_FocusedColumn - 1;
111 for (
int i = 0;
i < GetColumnCount();
i++)
114 index = GetColumnCount() - 1;
116 if (
icon.IsVisible())
118 m_FocusedColumn =
index;
132 icon.GetSelectedPanel().Show(
true);
133 icon.GetSelectedPanel().GetScreenPos(
x,
y);
141 PrepareOwnedSlotsTooltip(
icon.GetSelectedPanel(),
icon.GetSlotDisplayName(),
icon.GetSlotDesc(),
x,
y);
147 m_Icons.Get(
i).GetSelectedPanel().Show(
false);
179 for (
int i = 0;
i < m_ColumnCount;
i++)
198 return m_Icons.Get(m_FocusedColumn);
214#ifdef PLATFORM_CONSOLE
static ItemManager GetInstance()
override void SetNextRightActive()
override void SetDefaultFocus(bool while_micromanagment_mode=false)
override EntityAI GetFocusedItem()
override void SetLastFocus()
override SlotsIcon GetFocusedSlotsIcon()
override bool IsDisplayable()
void SlotsContainer(LayoutHolder parent, EntityAI slot_parent)
SlotsIcon GetSlotIcon(int index)
override bool SelectItem()
override void UnfocusAll()
override void SetLayoutName()
ref array< ref SlotsIcon > m_Icons
override void SetNextLeftActive()
bool VerifySlotsIconVisibility(int idx=-1)
Returns 'true' if radial icon is VISIBLE and also OPEN (individual icon or any icon,...
void SetVisibleFocus(int index)