17#ifdef PLATFORM_CONSOLE
42#ifdef PLATFORM_WINDOWS
43#ifndef PLATFORM_CONSOLE
44#ifndef SERVER_FOR_CONSOLE
55 icon.SetActive(
false);
58 GetMainWidget().FindAnyWidget(
"Cursor" +
i).Show(
false);
75#ifdef PLATFORM_WINDOWS
76#ifndef PLATFORM_CONSOLE
77#ifndef SERVER_FOR_CONSOLE
90 GetMainWidget().FindAnyWidget(
"Cursor" +
column).Show(
true);
99#ifdef PLATFORM_WINDOWS
100#ifndef PLATFORM_CONSOLE
101#ifndef SERVER_FOR_CONSOLE
133#ifdef PLATFORM_CONSOLE
166 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
168 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
178 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
180 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
192 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
194 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
204 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
206 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
216 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
218 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
228 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
230 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
240 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
242 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
252 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
254 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
264 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
266 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
276 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
278 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
288 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
290 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
300 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
302 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
312 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
314 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
324 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
326 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
336 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
338 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
348 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
350 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
360 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
362 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
372 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
374 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
384 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
386 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
396 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
398 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
408 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
410 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
420 if (
m_Parent.m_Parent.IsInherited(ContainerWithCargo))
422 else if (
m_Parent.m_Parent.IsInherited(ContainerWithCargoAndAttachments))
433 GetRootWidget().Show(
true);
438 GetRootWidget().Show(
false);
458 GetMainWidget().FindAnyWidget(
"Icon" +
i).Show(
false,
false);
459 GetMainWidget().FindAnyWidget(
"Spacer" +
i).Show(
false,
false);
462 GetMainWidget().FindAnyWidget(
"Spacer10").Show(
m_Width != 0,
false);
467 GetMainWidget().Update();
ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS]
override void OnShow()
!-—
void DraggingOver(Widget w, int x, int y, Widget receiver)
void ColumnOnDraggingOver9(Widget w)
void SetFocus(int column)
void ColumnOnDraggingOver7(Widget w)
override void SetLayoutName()
void ColumnOnDraggingOver0(Widget w)
!-—
ref SizeToChild m_Resizer1
ref SizeToParent m_Resizer2
void ColumnOnDraggingOver5(Widget w)
void ColumnOnDraggingOver6(Widget w)
void SetEntity(EntityAI entity)
void SetWidth(int width, bool immedUpdate=true)
int m_NumberColumnFocused
void DropReceived(Widget w, int x, int y, Widget receiver)
bool GetIconSize(int row, int column, out int width, out int height)
void ColumnOnDraggingOver8(Widget w)
void SetNumber(int number)
void CargoContainerRow(LayoutHolder parent)
CargoContainer m_ParentContainer
void ColumnOnDraggingOver4(Widget w)
void ColumnOnDraggingOver3(Widget w)
void ColumnOnDraggingOver1(Widget w)
void ColumnOnDraggingOver2(Widget w)