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

Go to the source code of this file.

Data Structures

class  SCR_BackendImageComponentBase
 This abstract component handles loading of backend images and also manages the loading overlay while image is loading. More...
 

Functions

SCR_BackendImageComponentBase SCR_ScriptedWidgetComponent Attribute ()] protected string m_sImageWidgetName
 Post-process effect of scripted camera. More...
 
protected void InvokeEventOnImageSelected ()
 
ScriptInvokerVoid GetEventOnImageSelected ()
 
void SetImage (BackendImage image)
 image can be null More...
 
protected void CheckWidgetInitialized ()
 
protected void SetImage_Internal ()
 
protected void Callback_DownloadImage_OnTimeoutError (SCR_WorkshopItemCallback_DownloadImage callback)
 
protected void Callback_DownloadImage_OnSuccess (SCR_WorkshopItemCallback_DownloadImage callback)
 
protected void ShowLoadingImage (string fallbackImage)
 
protected void ShowDefaultImage ()
 By default it hides image widget. More...
 
protected void ShowImage (string imagePath)
 
protected Widget GetImageSizeWidget ()
 
protected void ShowDebugText (string txt)
 
override void HandlerAttached (Widget w)
 
protected string FormatAvailableScales ()
 
void SetImageSaturation (float saturation)
 

Variables

protected ResourceName m_sFallbackImage
 
protected ref BackendImage m_BackendImage
 
protected ref SCR_WorkshopItemCallback_DownloadImage m_DownloadImageCallback
 
protected bool m_bIsWaitingForWidgetInit
 
protected int m_iPreferredWidth
 
protected int m_iScreenWidth
 
protected ref ScriptInvokerVoid Event_OnImageSelected
 
protected string m_sImageSizeWidgetName
 
protected bool m_bShowLoadingImage
 
protected string m_sLoadingOverlayName
 
protected string m_sDebugTextName
 
protected ImageWidget m_wImage
 
protected Widget m_wImageSize
 
protected SCR_LoadingOverlay m_LoadingOverlay
 
protected TextWidget m_wDebugText
 

Function Documentation

◆ Callback_DownloadImage_OnSuccess()

protected void Attribute::Callback_DownloadImage_OnSuccess ( SCR_WorkshopItemCallback_DownloadImage  callback)

Definition at line 192 of file SCR_BackendImageComponent.c.

◆ Callback_DownloadImage_OnTimeoutError()

protected void Attribute::Callback_DownloadImage_OnTimeoutError ( SCR_WorkshopItemCallback_DownloadImage  callback)

Definition at line 186 of file SCR_BackendImageComponent.c.

◆ CheckWidgetInitialized()

protected void Attribute::CheckWidgetInitialized ( )

Definition at line 61 of file SCR_BackendImageComponent.c.

◆ FormatAvailableScales()

protected string FormatAvailableScales ( )

Definition at line 368 of file SCR_BackendImageComponent.c.

◆ GetEventOnImageSelected()

ScriptInvokerVoid Attribute::GetEventOnImageSelected ( )

Definition at line 26 of file SCR_BackendImageComponent.c.

◆ GetImageSizeWidget()

override Widget GetImageSizeWidget ( )

Definition at line 310 of file SCR_BackendImageComponent.c.

◆ HandlerAttached()

override void HandlerAttached ( Widget  w)

Definition at line 316 of file SCR_BackendImageComponent.c.

◆ InvokeEventOnImageSelected()

protected void Attribute::InvokeEventOnImageSelected ( )

Definition at line 19 of file SCR_BackendImageComponent.c.

◆ SetImage()

void Attribute::SetImage ( BackendImage  image)

image can be null

Definition at line 36 of file SCR_BackendImageComponent.c.

◆ SetImage_Internal()

protected void Attribute::SetImage_Internal ( )

Definition at line 107 of file SCR_BackendImageComponent.c.

◆ SetImageSaturation()

void SetImageSaturation ( float  saturation)

Definition at line 401 of file SCR_BackendImageComponent.c.

◆ ShowDebugText()

override void ShowDebugText ( string  txt)

Definition at line 353 of file SCR_BackendImageComponent.c.

◆ ShowDefaultImage()

override void ShowDefaultImage ( )

By default it hides image widget.

Definition at line 270 of file SCR_BackendImageComponent.c.

◆ ShowImage()

override void ShowImage ( string  imagePath)

Definition at line 284 of file SCR_BackendImageComponent.c.

◆ ShowLoadingImage()

override void ShowLoadingImage ( string  fallbackImage)

Definition at line 254 of file SCR_BackendImageComponent.c.

Variable Documentation

◆ Event_OnImageSelected

protected ref ScriptInvokerVoid Event_OnImageSelected

Definition at line 16 of file SCR_BackendImageComponent.c.

◆ m_BackendImage

protected ref BackendImage m_BackendImage

Definition at line 7 of file SCR_BackendImageComponent.c.

◆ m_bIsWaitingForWidgetInit

protected bool m_bIsWaitingForWidgetInit

Definition at line 10 of file SCR_BackendImageComponent.c.

◆ m_bShowLoadingImage

protected bool m_bShowLoadingImage

Definition at line 239 of file SCR_BackendImageComponent.c.

◆ m_DownloadImageCallback

protected ref SCR_WorkshopItemCallback_DownloadImage m_DownloadImageCallback

Definition at line 8 of file SCR_BackendImageComponent.c.

◆ m_iPreferredWidth

protected int m_iPreferredWidth

Definition at line 11 of file SCR_BackendImageComponent.c.

◆ m_iScreenWidth

protected int m_iScreenWidth

Definition at line 14 of file SCR_BackendImageComponent.c.

◆ m_LoadingOverlay

protected SCR_LoadingOverlay m_LoadingOverlay

Definition at line 250 of file SCR_BackendImageComponent.c.

◆ m_sDebugTextName

protected string m_sDebugTextName

Definition at line 245 of file SCR_BackendImageComponent.c.

◆ m_sFallbackImage

protected ResourceName m_sFallbackImage

Definition at line 4 of file SCR_BackendImageComponent.c.

◆ m_sImageSizeWidgetName

protected string m_sImageSizeWidgetName

Definition at line 236 of file SCR_BackendImageComponent.c.

◆ m_sLoadingOverlayName

protected string m_sLoadingOverlayName

Definition at line 242 of file SCR_BackendImageComponent.c.

◆ m_wDebugText

protected TextWidget m_wDebugText

Definition at line 251 of file SCR_BackendImageComponent.c.

◆ m_wImage

protected ImageWidget m_wImage

Definition at line 248 of file SCR_BackendImageComponent.c.

◆ m_wImageSize

protected Widget m_wImageSize

Definition at line 249 of file SCR_BackendImageComponent.c.