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

#include <proto.h>

Inheritance diagram for ButtonWidget:
UIWidget

Private Member Functions

proto bool  GetState ()
 
proto bool  SetState (bool state)
 
proto void  SetText (string text)
 
proto void  SetTextOffset (float xoffset, float yoffset)
 
proto void  SetTextHorizontalAlignment (int align)
 
proto void  SetTextVerticalAlignment (int align)
 
proto float  GetTextProportion ()
  Get text proportion - ratio between button height and button text height in interval <0,1> More...
 
proto void  SetTextProportion (float val)
  Set text proportion - ratio between button height and button text height in interval <0,1> More...
 

Member Function Documentation

proto bool ButtonWidget::GetState ( )
private
proto bool ButtonWidget::SetState ( bool  state )
private
proto void ButtonWidget::SetText ( string  text )
private
proto void ButtonWidget::SetTextOffset ( float  xoffset,
float  yoffset 
)
private
proto void ButtonWidget::SetTextHorizontalAlignment ( int  align )
private
Parameters
align ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT
proto void ButtonWidget::SetTextVerticalAlignment ( int  align )
private
Parameters
align ALIGN_CENTER, ALIGN_TOP, ALIGN_BOTTOM
proto float ButtonWidget::GetTextProportion ( )
private

Get text proportion - ratio between button height and button text height in interval <0,1>

proto void ButtonWidget::SetTextProportion ( float  val )
private

Set text proportion - ratio between button height and button text height in interval <0,1>


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