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

Same as SCR_BackendImageComponent, but implements default image based on scenario. More...

Inheritance diagram for SCR_ScenarioBackendImageComponent:
[legend]

Public Member Functions

override void ShowLoadingImage (ResourceName loadingImage=string.Empty)
 
- Public Member Functions inherited from SCR_BackendImageComponent
override void HandlerAttached (Widget w)
 
void SetImage (BackendImage image)
 image can be null
 
void SetImageSaturation (float saturation)
 
ScriptInvokerVoid GetOnImageSelected ()
 
- 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 ()
 

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
 
- Protected Member Functions inherited from SCR_BackendImageComponent
void CheckWidgetInitialized ()
 
void TryDownloadImage ()
 
void Callback_DownloadImage_OnTimeoutError (SCR_WorkshopItemCallback_DownloadImage callback)
 
void Callback_DownloadImage_OnSuccess (SCR_WorkshopItemCallback_DownloadImage callback)
 
void TryLocalImage ()
 
bool TryShowImage (ResourceName imagePath)
 
void ShowLoadingImage (ResourceName loadingImage=string.Empty)
 
void ShowFallbackImage ()
 If no fallback is set, the image widget will be hidden instead.
 
bool TryLoadImageTexture (ResourceName imagePath)
 
void ShowDebugText (string txt)
 
string FormatAvailableScales ()
 
- Protected Attributes inherited from SCR_BackendImageComponent
ResourceName m_sFallbackImage
 
string m_sImageWidgetName
 
string m_sImageSizeWidgetName
 
bool m_bShowLoadingImage
 
string m_sLoadingOverlayName
 
string m_sDebugTextName
 
ImageWidget m_wImage
 
Widget m_wImageSize
 
SCR_LoadingOverlay m_LoadingOverlay
 
TextWidget m_wDebugText
 
ref BackendImage m_BackendImage
 
ref SCR_WorkshopItemCallback_DownloadImage m_DownloadImageCallback
 
bool m_bIsWaitingForWidgetInit
 
int m_iPreferredWidth
 
int m_iScreenWidth
 
ref ScriptInvokerVoid m_OnImageSelected
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Detailed Description

Same as SCR_BackendImageComponent, but implements default image based on scenario.

Member Function Documentation

◆ ShowLoadingImage()

override void SCR_ScenarioBackendImageComponent.ShowLoadingImage ( ResourceName  loadingImage = string::Empty)

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