|
| 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 () |
| |
| Header | GetHeader () |
| |
| void | SetHeader (Header header) |
| |
| void | CheckHeaderDragability () |
| |
| void | Container (LayoutHolder parent) |
| |
| Container | GetFocusedContainer () |
| |
| Container | GetContainer (int index) |
| |
| void | SetFocusedContainer (Container cont) |
| |
| SlotsIcon | GetFocusedSlotsIcon () |
| |
| int | GetActiveIndex () |
| |
| void | SetActiveIndex (int index) |
| |
| ScrollWidget | GetSlotsScrollWidget () |
| |
| ScrollWidget | GetScrollWidget () |
| |
| void | UpdateRadialIcon () |
| |
| void | SetSlotIcon (SlotsIcon icon) |
| |
| void | SetDefaultFocus (bool while_micromanagment_mode=false) |
| |
| void | SetLastFocus () |
| |
| void | Unfocus () |
| |
| void | MoveGridCursor (int direction) |
| |
| void | ScrollToActiveContainer () |
| |
| void | ScrollToActiveContainer (ScrollWidget sw) |
| |
| void | CheckScrollbarVisibility () |
| |
| void | CheckScrollbarVisibility (ScrollWidget sw) |
| |
| void | Open () |
| |
| void | Close () |
| |
| bool | IsOpened () |
| |
| void | SetOpenForSlotIcon (bool open, SlotsIcon icon=null) |
| |
| void | Toggle () |
| |
| float | GetFocusedContainerHeight (bool contents=false) |
| |
| float | GetFocusedContainerYPos (bool contents=false) |
| |
| float | GetFocusedContainerYScreenPos (bool contents=false) |
| |
| int | Count () |
| |
| bool | SelectItem () |
| |
| bool | Select () |
| |
| bool | OnSelectButton () |
| |
| bool | Combine () |
| |
| bool | TransferItemToVicinity () |
| |
| bool | TransferItem () |
| |
| bool | InspectItem () |
| |
| bool | SplitItem () |
| |
| bool | EquipItem () |
| |
| bool | CanOpenCloseContainer () |
| |
| bool | CanOpenCloseContainerEx (EntityAI focusedEntity) |
| |
| bool | CanSplit () |
| |
| bool | CanSplitEx (EntityAI focusedEntity) |
| |
| bool | CanDrop () |
| |
| bool | CanDropEx (EntityAI focusedEntity) |
| |
| bool | CanSwapOrTakeToHands () |
| |
| bool | CanSwapOrTakeToHandsEx (EntityAI focusedEntity) |
| |
| bool | CanEquip () |
| |
| bool | CanEquipEx (EntityAI focusedEntity) |
| |
| bool | CanTakeToInventory () |
| |
| bool | CanTakeToInventoryEx (EntityAI focusedEntity) |
| |
| bool | CanCombine () |
| |
| bool | CanCombineEx (EntityAI focusedEntity) |
| |
| bool | CanCombineAmmo () |
| |
| bool | CanAddToQuickbarEx (EntityAI focusedEntity) |
| |
| bool | AddItemToQuickbarRadial (EntityAI itemToAssign) |
| |
| bool | IsEmpty () |
| |
| bool | IsItemActive () |
| |
| bool | IsItemWithQuantityActive () |
| |
| EntityAI | GetFocusedItem () |
| |
| EntityAI | GetFocusedContainerEntity () |
| |
| int | GetColumnCount () |
| |
| void | SetColumnCount (int count) |
| |
| int | GetFocusedColumn () |
| |
| void | SetFocusedColumn (int column) |
| |
| override void | UpdateInterval () |
| |
| override void | SetLastActive () |
| |
| override void | SetFirstActive () |
| |
| override void | SetActive (bool active) |
| |
| void | UnfocusAll () |
| |
| void | UnfocusGrid () |
| |
| bool | IsLastIndex () |
| |
| bool | IsFirstIndex () |
| |
| bool | IsFirstContainerFocused () |
| |
| bool | IsLastContainerFocused () |
| |
| void | ResetFocusedContainer () |
| |
| void | SetNextActive () |
| |
| void | SetPreviousActive (bool force=false) |
| |
| void | SetNextRightActive () |
| |
| void | SetNextLeftActive () |
| |
| void | SetSameLevelNextActive () |
| |
| void | SetSameLevelPreviousActive () |
| |
| void | RecomputeOpenedContainers () |
| |
| override void | SetLayoutName () |
| |
| void | Insert (LayoutHolder container, int pos=-1, bool immedUpdate=true) |
| |
| void | Remove (LayoutHolder container) |
| |
| LayoutHolder | Get (int x) |
| |
| override void | Refresh () |
| |
| void | UpdateBodySpacers () |
| |
| void | HideContent (bool force_hide=false) |
| |
| void | ShowContent (bool force_show=false) |
| |
| void | SetForceShow (bool value) |
| |
| override void | UpdateSelectionIcons () |
| |
| void | ExpandCollapseContainer () |
| |
Definition at line 1 of file container.c.
◆ AddItemToQuickbarRadial()
| bool LayoutHolder::AddItemToQuickbarRadial |
( |
EntityAI | itemToAssign | ) |
|
|
protected |
◆ CanAddToQuickbarEx()
| bool LayoutHolder::CanAddToQuickbarEx |
( |
EntityAI | focusedEntity | ) |
|
|
protected |
◆ CanCombine()
| bool LayoutHolder::CanCombine |
( |
| ) |
|
|
protected |
◆ CanCombineAmmo()
| bool LayoutHolder::CanCombineAmmo |
( |
| ) |
|
|
protected |
◆ CanCombineEx()
◆ CanDrop()
| bool LayoutHolder::CanDrop |
( |
| ) |
|
|
protected |
◆ CanDropEx()
◆ CanEquip()
| bool LayoutHolder::CanEquip |
( |
| ) |
|
|
protected |
◆ CanEquipEx()
◆ CanOpenCloseContainer()
| bool LayoutHolder::CanOpenCloseContainer |
( |
| ) |
|
|
protected |
◆ CanOpenCloseContainerEx()
| bool LayoutHolder::CanOpenCloseContainerEx |
( |
EntityAI | focusedEntity | ) |
|
|
protected |
◆ CanSplit()
| bool LayoutHolder::CanSplit |
( |
| ) |
|
|
protected |
◆ CanSplitEx()
◆ CanSwapOrTakeToHands()
| bool LayoutHolder::CanSwapOrTakeToHands |
( |
| ) |
|
|
protected |
◆ CanSwapOrTakeToHandsEx()
| bool LayoutHolder::CanSwapOrTakeToHandsEx |
( |
EntityAI | focusedEntity | ) |
|
|
protected |
◆ CanTakeToInventory()
| bool LayoutHolder::CanTakeToInventory |
( |
| ) |
|
|
protected |
◆ CanTakeToInventoryEx()
| bool LayoutHolder::CanTakeToInventoryEx |
( |
EntityAI | focusedEntity | ) |
|
|
protected |
◆ CheckHeaderDragability()
| void LayoutHolder::CheckHeaderDragability |
( |
| ) |
|
|
protected |
◆ CheckScrollbarVisibility() [1/2]
| void LayoutHolder::CheckScrollbarVisibility |
( |
| ) |
|
|
protected |
◆ CheckScrollbarVisibility() [2/2]
| void LayoutHolder::CheckScrollbarVisibility |
( |
ScrollWidget | sw | ) |
|
|
protected |
◆ Close()
| void LayoutHolder::Close |
( |
| ) |
|
|
protected |
◆ Combine()
| bool LayoutHolder::Combine |
( |
| ) |
|
|
protected |
◆ Container()
◆ Count()
| int LayoutHolder::Count |
( |
| ) |
|
|
protected |
◆ DraggingOver()
| void LayoutHolder::DraggingOver |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
Widget | receiver ) |
|
protected |
◆ DraggingOverHeader()
| void LayoutHolder::DraggingOverHeader |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
Widget | receiver ) |
|
protected |
◆ EquipItem()
| bool LayoutHolder::EquipItem |
( |
| ) |
|
|
protected |
◆ ExpandCollapseContainer()
| void LayoutHolder::ExpandCollapseContainer |
( |
| ) |
|
|
protected |
◆ Get()
◆ GetActiveIndex()
| int LayoutHolder::GetActiveIndex |
( |
| ) |
|
|
protected |
◆ GetColumnCount()
| int LayoutHolder::GetColumnCount |
( |
| ) |
|
|
protected |
◆ GetContainer()
◆ GetFocusedColumn()
| int LayoutHolder::GetFocusedColumn |
( |
| ) |
|
|
protected |
◆ GetFocusedContainer()
| Container LayoutHolder::GetFocusedContainer |
( |
| ) |
|
|
protected |
◆ GetFocusedContainerEntity()
| EntityAI LayoutHolder::GetFocusedContainerEntity |
( |
| ) |
|
|
protected |
◆ GetFocusedContainerHeight()
| float LayoutHolder::GetFocusedContainerHeight |
( |
bool | contents = false | ) |
|
|
protected |
◆ GetFocusedContainerYPos()
◆ GetFocusedContainerYScreenPos()
| float LayoutHolder::GetFocusedContainerYScreenPos |
( |
bool | contents = false | ) |
|
|
protected |
◆ GetFocusedItem()
| EntityAI LayoutHolder::GetFocusedItem |
( |
| ) |
|
|
protected |
◆ GetFocusedSlotsIcon()
| SlotsIcon LayoutHolder::GetFocusedSlotsIcon |
( |
| ) |
|
|
protected |
◆ GetHeader()
| Header LayoutHolder::GetHeader |
( |
| ) |
|
|
protected |
◆ GetScrollWidget()
| ScrollWidget LayoutHolder::GetScrollWidget |
( |
| ) |
|
|
protected |
◆ GetSlotsScrollWidget()
| ScrollWidget LayoutHolder::GetSlotsScrollWidget |
( |
| ) |
|
|
protected |
◆ HideContent()
| void LayoutHolder::HideContent |
( |
bool | force_hide = false | ) |
|
|
protected |
◆ Insert()
◆ InspectItem()
| bool LayoutHolder::InspectItem |
( |
| ) |
|
|
protected |
◆ IsEmpty()
| bool LayoutHolder::IsEmpty |
( |
| ) |
|
|
protected |
◆ IsFirstContainerFocused()
| bool LayoutHolder::IsFirstContainerFocused |
( |
| ) |
|
|
protected |
◆ IsFirstIndex()
| bool LayoutHolder::IsFirstIndex |
( |
| ) |
|
|
protected |
◆ IsItemActive()
| bool LayoutHolder::IsItemActive |
( |
| ) |
|
|
protected |
◆ IsItemWithQuantityActive()
| bool LayoutHolder::IsItemWithQuantityActive |
( |
| ) |
|
|
protected |
◆ IsLastContainerFocused()
| bool LayoutHolder::IsLastContainerFocused |
( |
| ) |
|
|
protected |
◆ IsLastIndex()
| bool LayoutHolder::IsLastIndex |
( |
| ) |
|
|
protected |
◆ IsOpened()
| bool LayoutHolder::IsOpened |
( |
| ) |
|
|
protected |
◆ MoveGridCursor()
| void LayoutHolder::MoveGridCursor |
( |
int | direction | ) |
|
|
protected |
◆ OnDropReceivedFromHeader()
| void LayoutHolder::OnDropReceivedFromHeader |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
Widget | receiver ) |
|
protected |
◆ OnSelectButton()
| bool LayoutHolder::OnSelectButton |
( |
| ) |
|
|
protected |
◆ Open()
| void LayoutHolder::Open |
( |
| ) |
|
|
protected |
◆ RecomputeOpenedContainers()
| void LayoutHolder::RecomputeOpenedContainers |
( |
| ) |
|
|
protected |
◆ Refresh()
| override void LayoutHolder::Refresh |
( |
| ) |
|
|
protected |
◆ Remove()
◆ ResetFocusedContainer()
| void LayoutHolder::ResetFocusedContainer |
( |
| ) |
|
|
protected |
◆ ScrollToActiveContainer() [1/2]
| void LayoutHolder::ScrollToActiveContainer |
( |
| ) |
|
|
protected |
◆ ScrollToActiveContainer() [2/2]
| void LayoutHolder::ScrollToActiveContainer |
( |
ScrollWidget | sw | ) |
|
|
protected |
◆ Select()
| bool LayoutHolder::Select |
( |
| ) |
|
|
protected |
◆ SelectItem()
| bool LayoutHolder::SelectItem |
( |
| ) |
|
|
protected |
◆ SetActive()
| override void LayoutHolder::SetActive |
( |
bool | active | ) |
|
|
protected |
◆ SetActiveIndex()
| void LayoutHolder::SetActiveIndex |
( |
int | index | ) |
|
|
protected |
◆ SetColumnCount()
| void LayoutHolder::SetColumnCount |
( |
int | count | ) |
|
|
protected |
◆ SetDefaultFocus()
| void LayoutHolder::SetDefaultFocus |
( |
bool | while_micromanagment_mode = false | ) |
|
|
protected |
◆ SetFirstActive()
| override void LayoutHolder::SetFirstActive |
( |
| ) |
|
|
protected |
◆ SetFocusedColumn()
| void LayoutHolder::SetFocusedColumn |
( |
int | column | ) |
|
|
protected |
◆ SetFocusedContainer()
| void LayoutHolder::SetFocusedContainer |
( |
Container | cont | ) |
|
|
protected |
◆ SetForceShow()
| void LayoutHolder::SetForceShow |
( |
bool | value | ) |
|
|
protected |
◆ SetHeader()
| void LayoutHolder::SetHeader |
( |
Header | header | ) |
|
|
protected |
◆ SetLastActive()
| override void LayoutHolder::SetLastActive |
( |
| ) |
|
|
protected |
◆ SetLastFocus()
| void LayoutHolder::SetLastFocus |
( |
| ) |
|
|
protected |
◆ SetLayoutName()
| override void LayoutHolder::SetLayoutName |
( |
| ) |
|
|
protected |
◆ SetNextActive()
| void LayoutHolder::SetNextActive |
( |
| ) |
|
|
protected |
◆ SetNextLeftActive()
| void LayoutHolder::SetNextLeftActive |
( |
| ) |
|
|
protected |
◆ SetNextRightActive()
| void LayoutHolder::SetNextRightActive |
( |
| ) |
|
|
protected |
◆ SetOpenForSlotIcon()
| void LayoutHolder::SetOpenForSlotIcon |
( |
bool | open, |
|
|
SlotsIcon | icon = null ) |
|
protected |
◆ SetPreviousActive()
| void LayoutHolder::SetPreviousActive |
( |
bool | force = false | ) |
|
|
protected |
◆ SetSameLevelNextActive()
| void LayoutHolder::SetSameLevelNextActive |
( |
| ) |
|
|
protected |
◆ SetSameLevelPreviousActive()
| void LayoutHolder::SetSameLevelPreviousActive |
( |
| ) |
|
|
protected |
◆ SetSlotIcon()
| void LayoutHolder::SetSlotIcon |
( |
SlotsIcon | icon | ) |
|
|
protected |
◆ ShowContent()
| void LayoutHolder::ShowContent |
( |
bool | force_show = false | ) |
|
|
protected |
◆ SplitItem()
| bool LayoutHolder::SplitItem |
( |
| ) |
|
|
protected |
◆ Toggle()
| void LayoutHolder::Toggle |
( |
| ) |
|
|
protected |
◆ TransferItem()
| bool LayoutHolder::TransferItem |
( |
| ) |
|
|
protected |
◆ TransferItemToVicinity()
| bool LayoutHolder::TransferItemToVicinity |
( |
| ) |
|
|
protected |
◆ Unfocus()
| void LayoutHolder::Unfocus |
( |
| ) |
|
|
protected |
◆ UnfocusAll()
| void LayoutHolder::UnfocusAll |
( |
| ) |
|
|
protected |
◆ UnfocusGrid()
| void LayoutHolder::UnfocusGrid |
( |
| ) |
|
|
protected |
◆ UpdateBodySpacers()
| void LayoutHolder::UpdateBodySpacers |
( |
| ) |
|
|
protected |
◆ UpdateInterval()
| override void LayoutHolder::UpdateInterval |
( |
| ) |
|
|
protected |
◆ UpdateRadialIcon()
| void LayoutHolder::UpdateRadialIcon |
( |
| ) |
|
|
protected |
◆ UpdateSelectionIcons()
| override void LayoutHolder::UpdateSelectionIcons |
( |
| ) |
|
|
protected |
◆ UpdateSpacer()
| void LayoutHolder::UpdateSpacer |
( |
| ) |
|
|
protected |
◆ ITEMS_IN_ROW
| const int LayoutHolder::ITEMS_IN_ROW = 8 |
|
protected |
◆ m_ActiveIndex
| int LayoutHolder::m_ActiveIndex = 0 |
|
protected |
◆ m_Body
◆ m_Closed
| bool LayoutHolder::m_Closed |
|
protected |
◆ m_ColumnCount
| int LayoutHolder::m_ColumnCount |
|
protected |
◆ m_Entity
◆ m_FocusedColumn
| int LayoutHolder::m_FocusedColumn = 0 |
|
protected |
◆ m_FocusedContainer
◆ m_ForcedHide
| bool LayoutHolder::m_ForcedHide |
|
protected |
◆ m_ForcedShow
| bool LayoutHolder::m_ForcedShow |
|
protected |
◆ m_LastIndex
| bool LayoutHolder::m_LastIndex |
|
protected |
◆ m_OpenedContainers
◆ m_PrevAlpha
| float LayoutHolder::m_PrevAlpha |
|
protected |
◆ m_SlotIcon
◆ SORT_ATTACHMENTS_NEXT_OFFSET
| const int LayoutHolder::SORT_ATTACHMENTS_NEXT_OFFSET = 2 |
|
protected |
◆ SORT_ATTACHMENTS_OWN
| const int LayoutHolder::SORT_ATTACHMENTS_OWN = 1 |
|
protected |
◆ SORT_CARGO_NEXT_OFFSET
| const int LayoutHolder::SORT_CARGO_NEXT_OFFSET = 3 |
|
protected |
◆ SORT_CARGO_OWN
| const int LayoutHolder::SORT_CARGO_OWN = 2 |
|
protected |
The documentation for this class was generated from the following file:
- Daten/5_mission/gui/inventorynew/containers/container.c