DIFF

class ContainerSource

Container LayoutHolder ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 1

Constants 5

const int SORT_ATTACHMENTS_OWN = 1

direct attachments of the parent item

const int SORT_CARGO_OWN = 2

cargo of the parent item

const int SORT_ATTACHMENTS_NEXT_OFFSET = 2

Members 13

protected bool m_LastIndex

deprecated

protected Container m_FocusedContainer
Referenced by SetFocusedContainer()
protected float m_PrevAlpha
Referenced by Container()
protected int m_ColumnCount
protected bool m_ForcedShow

used to override displayability condition, but 'm_ForcedHide' takes preference

Methods 98

void OnDropReceivedFromHeader(Widget w, int x, int y, Widget receiver)
void DraggingOver(Widget w, int x, int y, Widget receiver)
void DraggingOverHeader(Widget w, int x, int y, Widget receiver)
void UpdateSpacer()
Referenced by UpdateBodySpacers()
void SetHeader(Header header)
void CheckHeaderDragability()
Container GetContainer(int index)
void SetFocusedContainer(Container cont)
int GetActiveIndex()
References m_ActiveIndex
void SetActiveIndex(int index)
References m_ActiveIndex
ScrollWidget GetSlotsScrollWidget()
void SetDefaultFocus(bool while_micromanagment_mode = false)
References m_ActiveIndex
void SetLastFocus()
void Unfocus()
void CheckScrollbarVisibility()
bool CanOpenCloseContainerEx(EntityAI focusedEntity)
bool CanSplit()
bool CanSwapOrTakeToHands()
bool CanCombineAmmo()
Referenced by CanCombineAmmo()
bool IsItemActive()
Referenced by IsItemActive()
bool IsItemWithQuantityActive()
EntityAI GetFocusedItem()
EntityAI GetFocusedContainerEntity()
int GetFocusedColumn()
References m_FocusedColumn
void SetFocusedColumn(int column)
References m_FocusedColumn
bool IsLastIndex()
void SetNextRightActive()
void SetNextLeftActive()
void RecomputeOpenedContainers()
Referenced by AttachmentCategoriesContainer.CollapseButtonOnMouseButtonDown(), AttachmentCategoriesContainer.ExpandCollapseContainer(), AttachmentCategoriesContainer.InitGhostSlots()
Show 39 more, AttachmentCategoriesContainer.SetEntity(), AttachmentCategoriesContainer.UpdateInterval(), AttachmentCategoriesRow.AttachmentCategoriesRow(), Attachments.InitAttachmentGrid(), CollapsibleContainer.Insert(), CollapsibleContainer.Remove(), RecomputeOpenedContainers(), ContainerWithCargo.ContainerWithCargo(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.AttachmentAddedEx(), ContainerWithCargoAndAttachments.AttachmentRemoved(), ContainerWithCargoAndAttachments.HideCargo(), ContainerWithCargoAndAttachments.SetEntity(), ContainerWithCargoAndAttachments.ShowCargo(), HandsArea.HandsArea(), HandsContainer.AttachmentAdded(), HandsContainer.AttachmentRemoved(), HandsContainer.DestroyAtt(), HandsContainer.DestroyCargo(), HandsContainer.HandsContainer(), HandsContainer.HideCargo(), HandsContainer.ShowAtt(), HandsContainer.ShowCargo(), LeftArea.LeftArea(), PlayerContainer.Insert(), PlayerContainer.ItemAttached(), PlayerContainer.ItemDetached(), PlayerContainer.PlayerContainer(), PlayerContainer.SwapItemsInOrder(), PlayerContainer.ToggleWidget(), RightArea.RightArea(), VicinityContainer.UpdateInterval(), VicinityContainer.VicinityContainer(), VicinitySlotsContainer.RecomputeNumberOfContainers(), ZombieContainer.InitGhostSlots(), ZombieContainer.ItemAttached(), ZombieContainer.ItemDetached(), ZombieContainer.ToggleContainer(), and ZombieContainer.ZombieContainer()
override void SetLayoutName()
void UpdateBodySpacers()
void HideContent(bool force_hide = false)
References array.Count(), array.Get(), OnHide()
Show 2 more, m_Body, and m_ForcedHide
void ShowContent(bool force_show = false)
References array.Count(), array.Get(), OnShow()
Show 2 more, m_Body, and m_ForcedHide
void SetForceShow(bool value)
References m_ForcedShow
void ExpandCollapseContainer()