Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
SCR_QuickPlacingEditorUIComponent Interface Reference
Inheritance diagram for SCR_QuickPlacingEditorUIComponent:
[legend]

Public Member Functions

override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from MenuRootSubComponent
Widget GetWidget ()
 Get widget to which the component belongs to.
 
MenuRootBase GetMenu ()
 Get menu of which the widget is part of.
 
MenuRootComponent GetRootComponent ()
 Get root component of this subcomponent,.
 
void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Protected Member Functions

void Show (bool show)
 
void SetCoef (float coef, bool instant=false)
 
bool SetOffsets (float progress)
 
void OnMenuUpdate (float tDelta)
 
void OnShortcut (Widget w)
 
- Protected Member Functions inherited from SCR_BaseEditorUIComponent
vector OnCancelDown ()
 
bool OnCancelUp ()
 
void OnCancelExpired ()
 
- Protected Member Functions inherited from MenuRootSubComponent
bool IsUnique ()
 Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
 

Static Protected Attributes

static const float ANIMATION_THRESHOLD = 0.01
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_BaseEditorUIComponent
const int CANCEL_CLICK_MAX_DIS = 5
 
const int CANCEL_CLICK_MAX_TIME = 500
 
- Protected Attributes inherited from SCR_BaseEditorUIComponent
vector m_vClickPosCancel
 

Member Function Documentation

◆ HandlerAttachedScripted()

override void SCR_QuickPlacingEditorUIComponent.HandlerAttachedScripted ( Widget  w)

Event called when subcomponent is initialized.

Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.

Parameters
Widget

Implements MenuRootSubComponent.

◆ HandlerDeattached()

override void SCR_QuickPlacingEditorUIComponent.HandlerDeattached ( Widget  w)

Implements MenuRootSubComponent.

◆ OnMenuUpdate()

void SCR_QuickPlacingEditorUIComponent.OnMenuUpdate ( float  tDelta)
protected

◆ OnMouseEnter()

override bool SCR_QuickPlacingEditorUIComponent.OnMouseEnter ( Widget  w,
int  x,
int  y 
)

◆ OnMouseLeave()

override bool SCR_QuickPlacingEditorUIComponent.OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)

◆ OnShortcut()

void SCR_QuickPlacingEditorUIComponent.OnShortcut ( Widget  w)
protected

◆ SetCoef()

void SCR_QuickPlacingEditorUIComponent.SetCoef ( float  coef,
bool  instant = false 
)
protected

◆ SetOffsets()

bool SCR_QuickPlacingEditorUIComponent.SetOffsets ( float  progress)
protected

◆ Show()

void SCR_QuickPlacingEditorUIComponent.Show ( bool  show)
protected

Member Data Documentation

◆ ANIMATION_THRESHOLD

const float SCR_QuickPlacingEditorUIComponent.ANIMATION_THRESHOLD = 0.01
staticprotected

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