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

◆ FitWindow()

void FitWindow ( )
protected

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

136 {
137 float title_size = 20;
138 float spacing = 20;
139
140 //get wgt content size values
141 float wgt_content_size_x;
142 float wgt_content_size_y;
143 m_WgtModifiersContent.GetSize( wgt_content_size_x, wgt_content_size_y );
144
145 //get wgt root size values
146 float wgt_root_size_x;
147 float wgt_root_size_y;
148 m_WgtRoot.GetSize( wgt_root_size_x, wgt_root_size_y );
149
150 //calculate new Y size
151 float new_size_y = title_size + wgt_content_size_y + spacing;
152
153 //set size
154 m_WgtRoot.SetSize( wgt_root_size_x, new_size_y );
155 }
Widget m_WgtRoot
Определения HudDebug.c:94
class DebugModifierData m_WgtModifiersContent

Перекрестные ссылки m_WgtModifiersContent и m_WgtRoot.