DayZ
1.24
Loading...
Searching...
No Matches
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
}
CollapsibleHeader
Definition
CollapsibleHeader.c:2
CollapsibleHeader::SetArrowButtonOpened
void SetArrowButtonOpened(bool state)
Definition
CollapsibleHeader.c:13
CollapsibleHeader::SetHeaderVisible
void SetHeaderVisible(bool show)
Definition
CollapsibleHeader.c:24
CollapsibleHeader::IsHeaderVisible
bool IsHeaderVisible()
Definition
CollapsibleHeader.c:19
CollapsibleHeader::CollapsibleHeader
void CollapsibleHeader(LayoutHolder parent, string function_name)
Definition
CollapsibleHeader.c:3
CollapsibleHeader::SetLayoutName
override void SetLayoutName()
Definition
CollapsibleHeader.c:8
Header
Definition
Header.c:2
Header::m_DefaultFontSize
int m_DefaultFontSize
Definition
Header.c:4
Header::m_DownArrowButton
Widget m_DownArrowButton
Definition
Header.c:10
Header::m_UpArrowButton
Widget m_UpArrowButton
Definition
Header.c:9
LayoutHolder
Definition
Container.c:2
Param3
Definition
EntityAI.c:95
WidgetLayoutName
Definition
WidgetLayoutName.c:2
WidgetLayoutName::CollapsibleHeader
const string CollapsibleHeader
Definition
WidgetLayoutName.c:43
scripts
5_Mission
GUI
InventoryNew
ContainedItems
Headers
CollapsibleHeader.c
Generated by
1.10.0