DayZ 1.24
Loading...
Searching...
No Matches
CollapsibleHeader Class Reference
Inheritance diagram for CollapsibleHeader:
[legend]
Collaboration diagram for CollapsibleHeader:
[legend]

Private Member Functions

void CollapsibleHeader (LayoutHolder parent, string function_name)
 
override void SetLayoutName ()
 
void SetArrowButtonOpened (bool state)
 
bool IsHeaderVisible ()
 
void SetHeaderVisible (bool show)
 
- Private Member Functions inherited from Header
void Header (LayoutHolder parent, string function_name)
 
void SetName (string name)
 
void SetItemPreview (EntityAI entity_ai)
 
void DraggingOverHeader (Widget w, int x, int y, Widget receiver)
 
void OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver)
 
override void SetActive (bool active)
 
void ShowCollapseButton (bool state)
 

Additional Inherited Members

- Private Attributes inherited from Header
int m_DefaultColor
 
int m_DefaultFontSize
 
EntityAI m_Entity
 
Widget m_CollapseButton
 
Widget m_UpArrowButton
 
Widget m_DownArrowButton
 
TextWidget m_HeaderText
 

Detailed Description

Definition at line 1 of file CollapsibleHeader.c.

Constructor & Destructor Documentation

◆ CollapsibleHeader()

void CollapsibleHeader::CollapsibleHeader ( LayoutHolder parent,
string function_name )
inlineprivate

Definition at line 3 of file CollapsibleHeader.c.

4 {
6 }
int m_DefaultFontSize
Definition Header.c:4

References Header::m_DefaultFontSize.

Member Function Documentation

◆ IsHeaderVisible()

bool CollapsibleHeader::IsHeaderVisible ( )
inlineprivate

Definition at line 19 of file CollapsibleHeader.c.

20 {
21 return m_MainWidget.IsVisible(); //m_MainWidget.IsVisibleHierarchy()
22 }

◆ SetArrowButtonOpened()

void CollapsibleHeader::SetArrowButtonOpened ( bool state)
inlineprivate

Definition at line 13 of file CollapsibleHeader.c.

14 {
17 }
Widget m_DownArrowButton
Definition Header.c:10
Widget m_UpArrowButton
Definition Header.c:9

References Header::m_DownArrowButton, and Header::m_UpArrowButton.

◆ SetHeaderVisible()

void CollapsibleHeader::SetHeaderVisible ( bool show)
inlineprivate

Definition at line 24 of file CollapsibleHeader.c.

25 {
26 m_MainWidget.Show(show);
27 }

◆ SetLayoutName()

override void CollapsibleHeader::SetLayoutName ( )
inlineprivate

Definition at line 8 of file CollapsibleHeader.c.

9 {
11 }
const string CollapsibleHeader

References WidgetLayoutName::CollapsibleHeader.


The documentation for this class was generated from the following file: