DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ UpdateIcon()

void SlotsContainer::UpdateIcon ( )
inlineprotected

См. определение в файле SlotsContainer.c строка 139

140 {
141 float x, y;
142 SlotsIcon icon = GetSlotIcon( m_FocusedColumn );
143
144 icon.GetSelectedPanel().Show( true );
145 icon.GetSelectedPanel().GetScreenPos( x, y );
146
147 EntityAI focused_item = GetFocusedItem();
148 if ( focused_item )
149 {
150 PrepareOwnedTooltip( focused_item, -1, y ); //custom positioning for the controller
151 }
152 else
153 {
154 PrepareOwnedSlotsTooltip( icon.GetSelectedPanel(), icon.GetSlotDisplayName(), icon.GetSlotDesc(), x, y );
155 }
156 }
class LogManager EntityAI
Icon x
Icon y
override EntityAI GetFocusedItem()
Определения SlotsContainer.c:226
SlotsIcon GetSlotIcon(int index)
Определения SlotsContainer.c:207
Widget GetSelectedPanel()
Определения SlotsIcon.c:245
string GetSlotDisplayName()
Определения SlotsIcon.c:154
string GetSlotDesc()
Определения SlotsIcon.c:164

Перекрестные ссылки GetFocusedItem(), SlotsIcon::GetSelectedPanel(), SlotsIcon::GetSlotDesc(), SlotsIcon::GetSlotDisplayName(), GetSlotIcon(), x и y.

Используется в SetFocus(), SetNextLeftActive() и SetNextRightActive().