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

Public Member Functions

override void HandlerAttached (Widget w)
 
override bool OnUpdate (Widget w)
 
- 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 UpdateSize ()
 
DetailsPanelContentPreset FallbackContentByTag (string contentTag)
 Get fallback content by tag.
 
void SetDescriptionText (string text)
 Set description text with enforced text lenght limit.
 
Widget AddTypeDisplay (string image, ResourceName imageset, ResourceName glowImageset)
 
void ClearTypeDisplays ()
 

Protected Attributes

ref SCR_ContentDetailsPanelBaseWidgets m_CommonWidgets = new SCR_ContentDetailsPanelBaseWidgets
 
ref DetailsPanelContentPresetConfig m_FallbackContent
 
int m_iMaxDescriptionLenght
 
bool m_bDisplayAdditionalInfo
 
ResourceName m_sTypeDisplayLayout
 
int m_iMaxTypeImages
 
SCR_SimpleWarningOverlayComponent m_WarningOverlay
 
ref array< Widget > m_aTypeImages = {}
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const int DESCRIPTION_LENGHT_OFFSET = 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

◆ AddTypeDisplay()

Widget SCR_ContentDetailsPanelBase.AddTypeDisplay ( string  image,
ResourceName  imageset,
ResourceName  glowImageset 
)
protected

◆ ClearTypeDisplays()

void SCR_ContentDetailsPanelBase.ClearTypeDisplays ( )
protected

◆ FallbackContentByTag()

DetailsPanelContentPreset SCR_ContentDetailsPanelBase.FallbackContentByTag ( string  contentTag)
protected

Get fallback content by tag.

◆ HandlerAttached()

override void SCR_ContentDetailsPanelBase.HandlerAttached ( Widget  w)

◆ OnUpdate()

override bool SCR_ContentDetailsPanelBase.OnUpdate ( Widget  w)

◆ SetDescriptionText()

void SCR_ContentDetailsPanelBase.SetDescriptionText ( string  text)
protected

Set description text with enforced text lenght limit.

◆ UpdateSize()

void SCR_ContentDetailsPanelBase.UpdateSize ( )
protected

Member Data Documentation

◆ DESCRIPTION_LENGHT_OFFSET

const int SCR_ContentDetailsPanelBase.DESCRIPTION_LENGHT_OFFSET = 10
staticprotected

◆ m_aTypeImages

ref array<Widget> SCR_ContentDetailsPanelBase.m_aTypeImages = {}
protected

◆ m_bDisplayAdditionalInfo

bool SCR_ContentDetailsPanelBase.m_bDisplayAdditionalInfo
protected

◆ m_CommonWidgets

ref SCR_ContentDetailsPanelBaseWidgets SCR_ContentDetailsPanelBase.m_CommonWidgets = new SCR_ContentDetailsPanelBaseWidgets
protected

◆ m_FallbackContent

ref DetailsPanelContentPresetConfig SCR_ContentDetailsPanelBase.m_FallbackContent
protected

◆ m_iMaxDescriptionLenght

int SCR_ContentDetailsPanelBase.m_iMaxDescriptionLenght
protected

◆ m_iMaxTypeImages

int SCR_ContentDetailsPanelBase.m_iMaxTypeImages
protected

◆ m_sTypeDisplayLayout

ResourceName SCR_ContentDetailsPanelBase.m_sTypeDisplayLayout
protected

◆ m_WarningOverlay

SCR_SimpleWarningOverlayComponent SCR_ContentDetailsPanelBase.m_WarningOverlay
protected

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