|
| void | ItemManager (Widget root) |
| |
| void | SetItemMicromanagmentMode (bool item_micromanagment_mode) |
| |
| bool | IsMicromanagmentMode () |
| |
| HandsPreview | GetHandsPreview () |
| |
| void | SetHandsPreview (HandsPreview hansd_preview) |
| |
| EntityAI | GetSelectedItem () |
| |
| Container | GetSelectedContainer () |
| |
| Widget | GetSelectedWidget () |
| |
| SlotsIcon | GetSelectedIcon () |
| |
| void | SetSelectedItem (EntityAI selected_item, Container selected_container, Widget selected_widget, SlotsIcon selected_icon) |
| |
| void | SetSelectedItemEx (EntityAI selected_item, Container selected_container, LayoutHolder selected_icon) |
| |
| void | ClearDefaultOpenStates () |
| |
| void | ClearDefaultHeaderOpenStates () |
| |
| void | SetDefaultOpenState (string type, bool is_opened) |
| |
| void | SetDefaultHeaderOpenState (string type, bool is_opened) |
| |
| void | SetDefaultOpenStateHands (bool is_opened) |
| |
| bool | GetDefaultOpenStateHands () |
| |
| void | SerializeDefaultHeaderOpenStates () |
| |
| void | DeserializeDefaultHeaderOpenStates () |
| |
| void | SerializeDefaultOpenStates () |
| |
| void | DeserializeDefaultOpenStates () |
| |
| bool | GetDefaultOpenState (string type) |
| |
| bool | GetDefaultHeaderOpenState (string type) |
| |
| void | HideDropzones () |
| |
| void | ShowSourceDropzone (EntityAI item) |
| |
| Widget | GetLeftDropzone () |
| |
| Widget | GetRightDropzone () |
| |
| Widget | GetCenterDropzone () |
| |
| EntityAI | GetHoveredItem () |
| |
| void | SetDraggedItem (EntityAI dragged_item) |
| |
| EntityAI | GetDraggedItem () |
| |
| void | SetDraggedIcon (Icon dragged_icon) |
| |
| Icon | GetDraggedIcon () |
| |
| void | SetIsDragging (bool is_dragging) |
| |
| bool | IsDragging () |
| |
| void | HideTooltip () |
| |
| void | HideTooltipSlot () |
| |
| void | SetTemperature (EntityAI item, Widget item_w) |
| |
| void | SetIconTemperature (EntityAI item, Widget item_w) |
| |
| void | PrepareTooltip (EntityAI item, int x=0, int y=0) |
| |
| void | PrepareSlotsTooltip (string name, string desc, int x=0, int y=0) |
| | position is currentlycalculated from the owning 'm_TooltipSourceWidget' directly
|
| |
| void | CalculateTooltipSlotPosition (int x=0, int y=0) |
| |
| void | UpdateTooltipSlotPosition () |
| |
| void | SetTooltipWidget (Widget w) |
| |
| bool | EvaluateContainerDragabilityDefault (EntityAI entity) |
| |
| void | SetWidgetDraggable (Widget w, bool draggable) |
| |
| void | ShowTooltip () |
| |
| void | ShowTooltipSlot () |
| |
| ScrollWidget | GetLeftSlotsScroller () |
| |
Definition at line 1 of file itemmanager.c.
◆ ItemManager()
| void ItemManager::ItemManager |
( |
Widget | root | ) |
|
|
protected |
◆ CalculateTooltipSlotPosition()
| void ItemManager::CalculateTooltipSlotPosition |
( |
int | x = 0, |
|
|
int | y = 0 ) |
|
protected |
◆ ClearDefaultHeaderOpenStates()
| void ItemManager::ClearDefaultHeaderOpenStates |
( |
| ) |
|
|
protected |
◆ ClearDefaultOpenStates()
| void ItemManager::ClearDefaultOpenStates |
( |
| ) |
|
|
protected |
◆ ColorFromFloat()
| static int ItemManager::ColorFromFloat |
( |
float | fraction | ) |
|
|
staticprotected |
◆ DeserializeDefaultHeaderOpenStates()
| void ItemManager::DeserializeDefaultHeaderOpenStates |
( |
| ) |
|
|
protected |
◆ DeserializeDefaultOpenStates()
| void ItemManager::DeserializeDefaultOpenStates |
( |
| ) |
|
|
protected |
◆ EvaluateContainerDragabilityDefault()
| bool ItemManager::EvaluateContainerDragabilityDefault |
( |
EntityAI | entity | ) |
|
|
protected |
◆ GetCenterDropzone()
| Widget ItemManager::GetCenterDropzone |
( |
| ) |
|
|
protected |
◆ GetChosenCombinationFlag()
◆ GetCombinationFlags()
◆ GetDefaultHeaderOpenState()
| bool ItemManager::GetDefaultHeaderOpenState |
( |
string | type | ) |
|
|
protected |
◆ GetDefaultOpenState()
| bool ItemManager::GetDefaultOpenState |
( |
string | type | ) |
|
|
protected |
◆ GetDefaultOpenStateHands()
| bool ItemManager::GetDefaultOpenStateHands |
( |
| ) |
|
|
protected |
◆ GetDraggedIcon()
| Icon ItemManager::GetDraggedIcon |
( |
| ) |
|
|
protected |
◆ GetDraggedItem()
| EntityAI ItemManager::GetDraggedItem |
( |
| ) |
|
|
protected |
◆ GetHandsPreview()
◆ GetHoveredItem()
| EntityAI ItemManager::GetHoveredItem |
( |
| ) |
|
|
protected |
◆ GetInstance()
◆ GetItemHealthColor() [1/2]
◆ GetItemHealthColor() [2/2]
| static int ItemManager::GetItemHealthColor |
( |
int | pHealthLevel | ) |
|
|
staticprotected |
◆ GetLeftDropzone()
| Widget ItemManager::GetLeftDropzone |
( |
| ) |
|
|
protected |
◆ GetLeftSlotsScroller()
| ScrollWidget ItemManager::GetLeftSlotsScroller |
( |
| ) |
|
|
protected |
◆ GetRecipeCount()
◆ GetRightDropzone()
| Widget ItemManager::GetRightDropzone |
( |
| ) |
|
|
protected |
◆ GetSelectedContainer()
| Container ItemManager::GetSelectedContainer |
( |
| ) |
|
|
protected |
◆ GetSelectedIcon()
◆ GetSelectedItem()
| EntityAI ItemManager::GetSelectedItem |
( |
| ) |
|
|
protected |
◆ GetSelectedWidget()
| Widget ItemManager::GetSelectedWidget |
( |
| ) |
|
|
protected |
◆ HideDropzones()
| void ItemManager::HideDropzones |
( |
| ) |
|
|
protected |
◆ HideTooltip()
| void ItemManager::HideTooltip |
( |
| ) |
|
|
protected |
◆ HideTooltipSlot()
| void ItemManager::HideTooltipSlot |
( |
| ) |
|
|
protected |
◆ IsDragging()
| bool ItemManager::IsDragging |
( |
| ) |
|
|
protected |
◆ IsMicromanagmentMode()
| bool ItemManager::IsMicromanagmentMode |
( |
| ) |
|
|
protected |
◆ PrepareSlotsTooltip()
position is currentlycalculated from the owning 'm_TooltipSourceWidget' directly
Definition at line 585 of file itemmanager.c.
◆ PrepareTooltip()
| void ItemManager::PrepareTooltip |
( |
EntityAI | item, |
|
|
int | x = 0, |
|
|
int | y = 0 ) |
|
protected |
◆ SerializeDefaultHeaderOpenStates()
| void ItemManager::SerializeDefaultHeaderOpenStates |
( |
| ) |
|
|
protected |
◆ SerializeDefaultOpenStates()
| void ItemManager::SerializeDefaultOpenStates |
( |
| ) |
|
|
protected |
◆ SetDefaultHeaderOpenState()
| void ItemManager::SetDefaultHeaderOpenState |
( |
string | type, |
|
|
bool | is_opened ) |
|
protected |
◆ SetDefaultOpenState()
| void ItemManager::SetDefaultOpenState |
( |
string | type, |
|
|
bool | is_opened ) |
|
protected |
◆ SetDefaultOpenStateHands()
| void ItemManager::SetDefaultOpenStateHands |
( |
bool | is_opened | ) |
|
|
protected |
◆ SetDraggedIcon()
| void ItemManager::SetDraggedIcon |
( |
Icon | dragged_icon | ) |
|
|
protected |
◆ SetDraggedItem()
| void ItemManager::SetDraggedItem |
( |
EntityAI | dragged_item | ) |
|
|
protected |
◆ SetHandsPreview()
| void ItemManager::SetHandsPreview |
( |
HandsPreview | hansd_preview | ) |
|
|
protected |
◆ SetIconTemperature()
| void ItemManager::SetIconTemperature |
( |
EntityAI | item, |
|
|
Widget | item_w ) |
|
protected |
◆ SetIsDragging()
| void ItemManager::SetIsDragging |
( |
bool | is_dragging | ) |
|
|
protected |
◆ SetItemMicromanagmentMode()
| void ItemManager::SetItemMicromanagmentMode |
( |
bool | item_micromanagment_mode | ) |
|
|
protected |
◆ SetSelectedItem()
| void ItemManager::SetSelectedItem |
( |
EntityAI | selected_item, |
|
|
Container | selected_container, |
|
|
Widget | selected_widget, |
|
|
SlotsIcon | selected_icon ) |
|
protected |
◆ SetSelectedItemEx()
◆ SetTemperature()
| void ItemManager::SetTemperature |
( |
EntityAI | item, |
|
|
Widget | item_w ) |
|
protected |
◆ SetTooltipWidget()
| void ItemManager::SetTooltipWidget |
( |
Widget | w | ) |
|
|
protected |
◆ SetWidgetDraggable()
| void ItemManager::SetWidgetDraggable |
( |
Widget | w, |
|
|
bool | draggable ) |
|
protected |
◆ ShowSourceDropzone()
| void ItemManager::ShowSourceDropzone |
( |
EntityAI | item | ) |
|
|
protected |
◆ ShowTooltip()
| void ItemManager::ShowTooltip |
( |
| ) |
|
|
protected |
◆ ShowTooltipSlot()
| void ItemManager::ShowTooltipSlot |
( |
| ) |
|
|
protected |
◆ UpdateTooltipSlotPosition()
| void ItemManager::UpdateTooltipSlotPosition |
( |
| ) |
|
|
protected |
◆ m_CenterDropzone
| Widget ItemManager::m_CenterDropzone |
|
protected |
◆ m_DefautHeaderOpenStates
◆ m_DefautOpenStates
◆ m_DraggedIcon
| Icon ItemManager::m_DraggedIcon |
|
protected |
◆ m_DraggedItem
◆ m_HandsDefaultOpenState
| int ItemManager::m_HandsDefaultOpenState |
|
protected |
◆ m_HandsPreview
◆ m_HoveredItem
◆ m_IsDragging
| bool ItemManager::m_IsDragging |
|
protected |
◆ m_ItemMicromanagmentMode
| bool ItemManager::m_ItemMicromanagmentMode |
|
protected |
◆ m_ItemPreviewWidget
◆ m_LeftDropzone
| Widget ItemManager::m_LeftDropzone |
|
protected |
◆ m_LeftSlotsScroller
| ScrollWidget ItemManager::m_LeftSlotsScroller |
|
protected |
◆ m_RightDropzone
| Widget ItemManager::m_RightDropzone |
|
protected |
◆ m_RootWidget
| Widget ItemManager::m_RootWidget |
|
protected |
◆ m_SelectedBaseIcon
◆ m_SelectedContainer
◆ m_SelectedIcon
◆ m_SelectedItem
◆ m_SelectedWidget
| Widget ItemManager::m_SelectedWidget |
|
protected |
◆ m_SlotInfoShown
| bool ItemManager::m_SlotInfoShown |
|
protected |
◆ m_TooltipCategoryWidget
| ref Widget ItemManager::m_TooltipCategoryWidget |
|
protected |
◆ m_TooltipPosX
| int ItemManager::m_TooltipPosX |
|
protected |
◆ m_TooltipPosY
| int ItemManager::m_TooltipPosY |
|
protected |
◆ m_TooltipSlotTimer
| ref Timer ItemManager::m_TooltipSlotTimer |
|
protected |
◆ m_TooltipSlotWidget
| ref Widget ItemManager::m_TooltipSlotWidget |
|
protected |
◆ m_TooltipSourceWidget
| Widget ItemManager::m_TooltipSourceWidget |
|
protected |
◆ m_ToolTipTimer
| ref Timer ItemManager::m_ToolTipTimer |
|
protected |
◆ m_TooltipWidget
| ref Widget ItemManager::m_TooltipWidget |
|
protected |
◆ TOOLTIP_DELAY
| const float ItemManager::TOOLTIP_DELAY = 0.25 |
|
protected |
The documentation for this class was generated from the following file: