Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_InventoryButton Interface Reference

UI Script Inventory button for various UI storages operations. More...

Inheritance diagram for SCR_InventoryButton:
[legend]

Public Member Functions

override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
override void HandlerAttached (Widget w)
 
void SCR_InventoryButton (EInventoryButton EButtonType, SCR_InventoryMenuUI pMenuHandler=null, SCR_InventoryStorageBaseUI pStorageUI=null)
 
void ~SCR_InventoryButton ()
 
- Public Member Functions inherited from BasicButtonComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
override bool OnMouseEnter (Widget w, int x, int y)
 

Protected Attributes

SCR_InventoryMenuUI m_pMenuHandler
 
SCR_InventoryStorageBaseUI m_pStorageUI = null
 
EInventoryButton m_EButtonType
 
Widget m_widget
 
- Protected Attributes inherited from BasicButtonComponent
string m_sSoundFocused
 
string m_sSoundClicked
 

Additional Inherited Members

- Static Public Attributes inherited from BasicButtonComponent
const ref Color COLOR_DEFAULT = new Color(0,0,0,0.6)
 
const ref Color COLOR_FOCUSED = new Color(1,1,1,0.06)
 
const ref Color COLOR_HOVERED = new Color(1,1,1,0.06)
 
const ref Color COLOR_PRESSED = new Color(0.8,0.8,0.8,0.06)
 

Detailed Description

UI Script Inventory button for various UI storages operations.

Constructor & Destructor Documentation

◆ SCR_InventoryButton()

void SCR_InventoryButton.SCR_InventoryButton ( EInventoryButton  EButtonType,
SCR_InventoryMenuUI  pMenuHandler = null,
SCR_InventoryStorageBaseUI  pStorageUI = null 
)

◆ ~SCR_InventoryButton()

void SCR_InventoryButton.~SCR_InventoryButton ( )

Member Function Documentation

◆ HandlerAttached()

override void SCR_InventoryButton.HandlerAttached ( Widget  w)

Implements BasicButtonComponent.

◆ OnChange()

override bool SCR_InventoryButton.OnChange ( Widget  w,
int  x,
int  y,
bool  finished 
)

◆ OnClick()

override bool SCR_InventoryButton.OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

Implements BasicButtonComponent.

◆ OnFocus()

override bool SCR_InventoryButton.OnFocus ( Widget  w,
int  x,
int  y 
)

Implements BasicButtonComponent.

◆ OnFocusLost()

override bool SCR_InventoryButton.OnFocusLost ( Widget  w,
int  x,
int  y 
)

Implements BasicButtonComponent.

Member Data Documentation

◆ m_EButtonType

EInventoryButton SCR_InventoryButton.m_EButtonType
protected

◆ m_pMenuHandler

SCR_InventoryMenuUI SCR_InventoryButton.m_pMenuHandler
protected

◆ m_pStorageUI

SCR_InventoryStorageBaseUI SCR_InventoryButton.m_pStorageUI = null
protected

◆ m_widget

Widget SCR_InventoryButton.m_widget
protected

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