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

◆ ChatLine()

void ChatLine::ChatLine ( Widget root_widget)
inlineprivate

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

24 {
25 m_RootWidget = GetGame().GetWorkspace().CreateWidgets("gui/layouts/day_z_chat_item.layout", root_widget);
26
27 m_NameWidget = TextWidget.Cast( m_RootWidget.FindAnyWidget( "ChatItemSenderWidget" ) );
28 m_TextWidget = TextWidget.Cast( m_RootWidget.FindAnyWidget( "ChatItemTextWidget" ) );
29
30 m_FadeTimer = new WidgetFadeTimer;
32 }
proto native WorkspaceWidget GetWorkspace()
Widget m_RootWidget
Определения ChatLine.c:16
ref Timer m_TimeoutTimer
Определения ChatLine.c:21
TextWidget m_TextWidget
Определения ChatLine.c:18
ref WidgetFadeTimer m_FadeTimer
Определения ChatLine.c:20
TextWidget m_NameWidget
Определения ChatLine.c:17
proto native CGame GetGame()
const int CALL_CATEGORY_GUI
Определения tools.c:9
proto native external Widget CreateWidgets(string layout, Widget parentWidget=NULL, bool immedUpdate=true)
Create widgets from *.layout file.

Перекрестные ссылки CALL_CATEGORY_GUI, WorkspaceWidget::CreateWidgets(), GetGame(), CGame::GetWorkspace(), m_FadeTimer, m_NameWidget, m_RootWidget, m_TextWidget и m_TimeoutTimer.