DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
SpacerBase Class Reference

#include <WidgetScripts.h>

Inheritance diagram for SpacerBase:
ScriptedWidgetEventHandler HorizontalSpacer VerticalSpacer

Private Member Functions

void  OnWidgetScriptInit (Widget w)
 
bool  OnUpdate (Widget w)
 
bool  OnChildAdd (Widget w, Widget child)
 
bool  OnChildRemove (Widget w, Widget child)
 
protected int  GetChildIndex (Widget w)
 
void  UpdateLayout ()
 
protected void  UpdateChild (Widget child, float w, float h, int index)
 

Private Attributes

protected Widget  m_root
 
protected int  m_count
 

Member Function Documentation

void SpacerBase::OnWidgetScriptInit ( Widget  w )
private
bool SpacerBase::OnUpdate ( Widget  w )
private

References m_root, and UpdateLayout().

bool SpacerBase::OnChildAdd ( Widget  w,
Widget  child 
)
private
bool SpacerBase::OnChildRemove ( Widget  w,
Widget  child 
)
private

References m_count.

int SpacerBase::GetChildIndex ( Widget  w )
private
void SpacerBase::UpdateLayout ( )
private
protected void SpacerBase::UpdateChild ( Widget  child,
float  w,
float  h,
int  index 
)
private

Referenced by UpdateLayout().

Member Data Documentation

protected Widget SpacerBase::m_root
private
protected int SpacerBase::m_count
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)