Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
collapsibleheader.c
Go to the documentation of this file.
1
class
CollapsibleHeader
:
Header
2
{
3
void
CollapsibleHeader
(
LayoutHolder
parent,
string
function_name )
4
{
5
m_DefaultFontSize = 24;
6
}
7
8
override
void
SetLayoutName()
9
{
10
m_LayoutName =
WidgetLayoutName
.CollapsibleHeader;
11
}
12
13
void
SetArrowButtonOpened(
bool
state)
14
{
15
m_UpArrowButton.Show(state);
16
m_DownArrowButton.Show(!state);
17
}
18
19
bool
IsHeaderVisible()
20
{
21
return
m_MainWidget.IsVisible();
//m_MainWidget.IsVisibleHierarchy()
22
}
23
24
void
SetHeaderVisible(
bool
show)
25
{
26
m_MainWidget.Show(show);
27
}
28
}
LayoutHolder
Definition:
container.c:1
CollapsibleHeader
Definition:
collapsibleheader.c:1
WidgetLayoutName
Definition:
widgetlayoutname.c:1
Header
Definition:
header.c:1
DAYZ
scripts_v1.24.157551
scripts
mission
gui
inventorynew
containeditems
headers
collapsibleheader.c
Generated by
1.8.17