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

◆ InitNoteRead()

override void UIScriptedMenu::InitNoteRead ( string text = "")
inlineprotected

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

40 {
41 m_IsWriting = false;
42
43 if (m_edit)
44 {
45 m_edit.Show(false);
46 }
47
48 if (m_html)
49 {
50 //TODO add text formating here. Just text string for now
51 if (text)
52 {
53 m_html.Show(true);
54 m_html.SetText(text);
55 m_SymbolCount = text.Length(); //string.LengthUtf8() ?
56 //m_html.SetText("<html><body><p>" + text + "</p></body></html>");
57 }
58 }
59 m_confirm_button.Show(false);
60 }
int m_SymbolCount
Определения NoteMenu.c:10
ButtonWidget m_confirm_button
Определения NoteMenu.c:5
bool m_IsWriting
Определения NoteMenu.c:8
MultilineEditBoxWidget m_edit
Определения NoteMenu.c:3
HtmlWidget m_html
Определения NoteMenu.c:4
proto native int Length()
Returns length of string.

Перекрестные ссылки m_confirm_button, m_edit, m_html, m_IsWriting и m_SymbolCount.