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

Public Member Functions

override void HandlerAttached (Widget w)
 
void SetPreviewItem (IEntity item)
 Prepare preview item and render given entity.
 
- Public Member Functions inherited from SCR_SelectionMenuEntryComponent
ScriptInvoker GetOnMouseEnter ()
 
ScriptInvoker GetOnMouseLeave ()
 
ScriptInvoker GetOnClick ()
 
override void HandlerAttached (Widget w)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void SetEnabled (bool enabled)
 
float GetLayoutSize ()
 
void SetEntry (SCR_SelectionMenuEntry entry)
 Set entry holding data driving this visuals.
 
void SetEntryText (string str)
 
float GetOriginalSize ()
 
float GetAdjustedSize ()
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

void SetupPreviewAttributes (out PreviewRenderAttributes preview)
 Find and setup preview attributes that should be used in previwe.
 
- Protected Member Functions inherited from SCR_SelectionMenuEntryComponent
void InvokeOnMouseEnter ()
 
void InvokeOnMouseLeave ()
 
void InvokeOnClick ()
 

Protected Attributes

string m_sPreviewItem
 
string m_sItemShadow
 
string m_sFallbackIcon
 
ref Color m_DefaulItemColor
 
ref Color m_MedicalItemColor
 
ItemPreviewWidget m_wPreviewItem
 
ImageWidget m_wItemShadow
 
ImageWidget m_wFallbackIcon
 
IEntity m_Item
 
PreviewRenderAttributes m_PreviewAttributes
 
- Protected Attributes inherited from SCR_SelectionMenuEntryComponent
float m_fDisabledOpacity
 
string m_sSizeLayout
 
string m_sEntryText
 
SCR_SelectionMenuEntry m_Entry
 
bool m_bEnabled = true
 
float m_fOriginalSize
 
float m_fAdjustedSize
 
Widget m_wSizeLayout
 
TextWidget m_wEntryText
 
ref ScriptInvoker< SCR_SelectionMenuEntryComponentm_OnMouseEnter
 
ref ScriptInvoker< SCR_SelectionMenuEntryComponentm_OnMouseLeave
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const float DEFAULT_FOV = 10
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ HandlerAttached()

override void SCR_SelectionMenuEntryPreviewComponent.HandlerAttached ( Widget  w)

◆ SetPreviewItem()

void SCR_SelectionMenuEntryPreviewComponent.SetPreviewItem ( IEntity  item)

Prepare preview item and render given entity.

◆ SetupPreviewAttributes()

void SCR_SelectionMenuEntryPreviewComponent.SetupPreviewAttributes ( out PreviewRenderAttributes  preview)
protected

Find and setup preview attributes that should be used in previwe.

Member Data Documentation

◆ DEFAULT_FOV

const float SCR_SelectionMenuEntryPreviewComponent.DEFAULT_FOV = 10
staticprotected

◆ m_DefaulItemColor

ref Color SCR_SelectionMenuEntryPreviewComponent.m_DefaulItemColor
protected

◆ m_Item

IEntity SCR_SelectionMenuEntryPreviewComponent.m_Item
protected

◆ m_MedicalItemColor

ref Color SCR_SelectionMenuEntryPreviewComponent.m_MedicalItemColor
protected

◆ m_PreviewAttributes

PreviewRenderAttributes SCR_SelectionMenuEntryPreviewComponent.m_PreviewAttributes
protected

◆ m_sFallbackIcon

string SCR_SelectionMenuEntryPreviewComponent.m_sFallbackIcon
protected

◆ m_sItemShadow

string SCR_SelectionMenuEntryPreviewComponent.m_sItemShadow
protected

◆ m_sPreviewItem

string SCR_SelectionMenuEntryPreviewComponent.m_sPreviewItem
protected

◆ m_wFallbackIcon

ImageWidget SCR_SelectionMenuEntryPreviewComponent.m_wFallbackIcon
protected

◆ m_wItemShadow

ImageWidget SCR_SelectionMenuEntryPreviewComponent.m_wItemShadow
protected

◆ m_wPreviewItem

ItemPreviewWidget SCR_SelectionMenuEntryPreviewComponent.m_wPreviewItem
protected

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