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

◆ Init()

void Chat::Init ( Widget root_widget)
inlineprotected

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

34 {
35 Destroy();
36
37 m_RootWidget = root_widget;
38
39 if (m_RootWidget)
40 {
41 float w;
42 float h;
43 m_RootWidget.GetSize(w,h);
45 m_LastLine = 0;
46
47 for (int i = 0; i < LINE_COUNT; i++)
48 {
49 ChatLine line = new ChatLine(m_RootWidget);
50 m_Lines.Insert(line);
51 }
52 }
53 }
void Destroy()
Определения Chat.c:55
Widget m_RootWidget
Определения Chat.c:18
int m_LastLine
Определения Chat.c:20
ref array< ref ChatLine > m_Lines
Определения Chat.c:21
const int LINE_COUNT
Определения Chat.c:16
int m_LineHeight
Определения Chat.c:19

Перекрестные ссылки Destroy(), LINE_COUNT, m_LastLine, m_LineHeight, m_Lines и m_RootWidget.