Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ContentDetailsPanelBase.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_ContentDetailsPanelBase
 
class  DetailsPanelContentPreset
 

Functions

SCR_ContentDetailsPanelBase SCR_ScriptedWidgetComponent BaseContainerProps (configRoot :true)
 
override void HandlerAttached (Widget w)
 
override bool OnUpdate (Widget w)
 
protected void UpdateSize ()
 
protected DetailsPanelContentPreset FallbackContentByTag (string contentTag)
 Get fallback content by tag. More...
 
protected void SetDescriptionText (string text)
 Set description text with enforced text lenght limit. More...
 
protected Widget AddTypeDisplay (string image, ResourceName imageset, ResourceName glowImageset)
 
protected void ClearTypeDisplays ()
 

Variables

protected ref SCR_ContentDetailsPanelBaseWidgets m_CommonWidgets = new SCR_ContentDetailsPanelBaseWidgets
 
protected ref DetailsPanelContentPresetConfig m_FallbackContent
 
protected int m_iMaxDescriptionLenght
 
protected bool m_bDisplayAdditionalInfo
 
protected ResourceName m_sTypeDisplayLayout
 
protected int m_iMaxTypeImages
 
const protected int DESCRIPTION_LENGHT_OFFSET = 10
 
protected SCR_SimpleWarningOverlayComponent m_WarningOverlay
 
protected ref array< Widget > m_aTypeImages = {}
 

Function Documentation

◆ AddTypeDisplay()

protected Widget BaseContainerProps::AddTypeDisplay ( string  image,
ResourceName  imageset,
ResourceName  glowImageset 
)

Definition at line 85 of file SCR_ContentDetailsPanelBase.c.

◆ BaseContainerProps()

SCR_ContentDetailsPanelBase SCR_ScriptedWidgetComponent BaseContainerProps ( configRoot :true  )

Definition at line 117 of file SCR_ContentDetailsPanelBase.c.

◆ ClearTypeDisplays()

protected void BaseContainerProps::ClearTypeDisplays ( )

Definition at line 104 of file SCR_ContentDetailsPanelBase.c.

◆ FallbackContentByTag()

protected DetailsPanelContentPreset BaseContainerProps::FallbackContentByTag ( string  contentTag)

Get fallback content by tag.

Definition at line 59 of file SCR_ContentDetailsPanelBase.c.

◆ HandlerAttached()

override void BaseContainerProps::HandlerAttached ( Widget  w)

Definition at line 25 of file SCR_ContentDetailsPanelBase.c.

◆ OnUpdate()

override bool BaseContainerProps::OnUpdate ( Widget  w)

Definition at line 35 of file SCR_ContentDetailsPanelBase.c.

◆ SetDescriptionText()

protected void BaseContainerProps::SetDescriptionText ( string  text)

Set description text with enforced text lenght limit.

Definition at line 72 of file SCR_ContentDetailsPanelBase.c.

◆ UpdateSize()

protected void BaseContainerProps::UpdateSize ( )

Definition at line 47 of file SCR_ContentDetailsPanelBase.c.

Variable Documentation

◆ DESCRIPTION_LENGHT_OFFSET

const protected int DESCRIPTION_LENGHT_OFFSET = 10

Definition at line 19 of file SCR_ContentDetailsPanelBase.c.

◆ m_aTypeImages

protected ref array<Widget> m_aTypeImages = {}

Definition at line 22 of file SCR_ContentDetailsPanelBase.c.

◆ m_bDisplayAdditionalInfo

protected bool m_bDisplayAdditionalInfo

Definition at line 11 of file SCR_ContentDetailsPanelBase.c.

◆ m_CommonWidgets

Definition at line 2 of file SCR_ContentDetailsPanelBase.c.

◆ m_FallbackContent

protected ref DetailsPanelContentPresetConfig m_FallbackContent

Definition at line 5 of file SCR_ContentDetailsPanelBase.c.

◆ m_iMaxDescriptionLenght

protected int m_iMaxDescriptionLenght

Definition at line 8 of file SCR_ContentDetailsPanelBase.c.

◆ m_iMaxTypeImages

protected int m_iMaxTypeImages

Definition at line 17 of file SCR_ContentDetailsPanelBase.c.

◆ m_sTypeDisplayLayout

protected ResourceName m_sTypeDisplayLayout

Definition at line 14 of file SCR_ContentDetailsPanelBase.c.

◆ m_WarningOverlay

protected SCR_SimpleWarningOverlayComponent m_WarningOverlay

Definition at line 21 of file SCR_ContentDetailsPanelBase.c.