Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ClosableHeader Class Reference
Inheritance diagram for ClosableHeader:
Header

Protected Member Functions

void ClosableHeader (LayoutHolder parent, string function_name)
void ~ClosableHeader ()
bool MouseEnter (Widget w, int x, int y)
bool MouseLeave (Widget w, Widget enter_w, int x, int y)
void OnDragHeader (Widget w, int x, int y)
void OnDropHeader (Widget w)
override void SetActive (bool active)
override void SetLayoutName ()
override void SetName (string name)
void UpdateFlip (bool flipped)

Protected Attributes

int m_DefaultSort
Widget m_DragRender
bool m_IsInLocalEquipment
ButtonWidget m_MoveDown
Widget m_MovePanel
ButtonWidget m_MoveUp
Widget m_PanelWidget
float m_SquareSize

Additional Inherited Members

Private Member Functions inherited from Header
void Header (LayoutHolder parent, string function_name)
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 SetItemPreview (EntityAI entity_ai)
void SetName (string name)
void ShowCollapseButton (bool state)
Private Attributes inherited from Header
Widget m_CollapseButton
int m_DefaultColor
int m_DefaultFontSize
Widget m_DownArrowButton
EntityAI m_Entity
TextWidget m_HeaderText
Widget m_UpArrowButton

Detailed Description

Definition at line 1 of file closableheader.c.

Constructor & Destructor Documentation

◆ ClosableHeader()

◆ ~ClosableHeader()

void ~ClosableHeader ( )
inlineprotected

Definition at line 43 of file closableheader.c.

References Header::m_Entity, and UpdateFlip().

Member Function Documentation

◆ MouseEnter()

bool MouseEnter ( Widget w,
int x,
int y )
inlineprotected

Definition at line 151 of file closableheader.c.

References g_Game, GetDragWidget(), Header::m_Entity, m_IsInLocalEquipment, m_MovePanel, x, and y.

◆ MouseLeave()

bool MouseLeave ( Widget w,
Widget enter_w,
int x,
int y )
inlineprotected

◆ OnDragHeader()

◆ OnDropHeader()

◆ SetActive()

override void SetActive ( bool active)
inlineprotected

Definition at line 178 of file closableheader.c.

References ARGBF(), Header::m_DefaultColor, and m_PanelWidget.

◆ SetLayoutName()

override void SetLayoutName ( )
inlineprotected

Definition at line 49 of file closableheader.c.

References WidgetLayoutName::ClosableHeader.

◆ SetName()

override void SetName ( string name)
inlineprotected

Definition at line 54 of file closableheader.c.

References InventoryMenu(), Header::m_HeaderText, m_PanelWidget, name, x, and y.

◆ UpdateFlip()

void UpdateFlip ( bool flipped)
inlineprotected

Definition at line 106 of file closableheader.c.

References g_Game, m_DragRender, Header::m_Entity, and m_SquareSize.

Referenced by ~ClosableHeader(), OnDragHeader(), and OnDropHeader().

Field Documentation

◆ m_DefaultSort

int m_DefaultSort
protected

Definition at line 4 of file closableheader.c.

Referenced by OnDragHeader().

◆ m_DragRender

Widget m_DragRender
protected

Definition at line 8 of file closableheader.c.

Referenced by ClosableHeader(), OnDragHeader(), OnDropHeader(), and UpdateFlip().

◆ m_IsInLocalEquipment

bool m_IsInLocalEquipment
protected

Definition at line 12 of file closableheader.c.

Referenced by ClosableHeader(), MouseEnter(), and MouseLeave().

◆ m_MoveDown

ButtonWidget m_MoveDown
protected

Definition at line 10 of file closableheader.c.

Referenced by ClosableHeader(), and MouseLeave().

◆ m_MovePanel

Widget m_MovePanel
protected

Definition at line 6 of file closableheader.c.

Referenced by ClosableHeader(), MouseEnter(), and MouseLeave().

◆ m_MoveUp

ButtonWidget m_MoveUp
protected

Definition at line 9 of file closableheader.c.

Referenced by ClosableHeader(), and MouseLeave().

◆ m_PanelWidget

Widget m_PanelWidget
protected

Definition at line 7 of file closableheader.c.

Referenced by ClosableHeader(), OnDragHeader(), OnDropHeader(), SetActive(), and SetName().

◆ m_SquareSize

float m_SquareSize
protected

Definition at line 3 of file closableheader.c.

Referenced by ClosableHeader(), OnDragHeader(), and UpdateFlip().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/5_mission/gui/inventorynew/containeditems/headers/closableheader.c