Go to the source code of this file.
|
| void | SCR_InfoDisplayStartStopCallback (SCR_InfoDisplay display) |
| |
| enum EWidgetAnchor | Attribute ("", UIWidgets.ResourceNamePicker, "Layout", "layout")] ResourceName m_LayoutPath |
| |
| SCR_InfoDisplayHandler | GetHandler (typename handlerType) |
| |
| SCR_InfoDisplayInvoker | GetOnStart () |
| |
| SCR_InfoDisplayInvoker | GetOnStop () |
| |
| IEntity | GetOwnerEntity () |
| |
| Widget | GetContentWidget () |
| |
| string | GetContentWidgetName () |
| |
| void | SetRootWidget (notnull Widget root) |
| |
| void | SetContentWidget (notnull Widget content) |
| |
| void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| |
| private void | OnShownFinishedPrivate (WidgetAnimationOpacity anim) |
| |
| protected void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
| |
| bool | IsShown () |
| |
| Widget | GetRootWidget () |
| |
| bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
| |
| bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
| |
| void | RegisterToHudManager () |
| |
| private void | CreateDisplayLegacy (IEntity owner) |
| |
| protected override event void | OnStartDraw (IEntity owner) |
| |
| private void | AdaptiveOpacity_Initialize () |
| |
| private void | AdaptiveOpacity_OnScreenBrightnessChange (float opacity, float sceneBrightness) |
| |
| protected void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
| |
| protected override event void | OnStopDraw (IEntity owner) |
| |
| protected override event void | UpdateValues (IEntity owner, float timeSlice) |
| |
| protected override event void | OnInit (IEntity owner) |
| |
◆ SCR_InfoDisplayInvoker
◆ SCR_InfoDisplayStartStopCallback
◆ EWidgetAnchor
◆ AdaptiveOpacity_Initialize()
| private void AdaptiveOpacity_Initialize |
( |
| ) |
|
◆ AdaptiveOpacity_OnScreenBrightnessChange()
| private void AdaptiveOpacity_OnScreenBrightnessChange |
( |
float |
opacity, |
|
|
float |
sceneBrightness |
|
) |
| |
◆ AdaptiveOpacity_Update()
| protected void AdaptiveOpacity_Update |
( |
float |
opacity, |
|
|
float |
sceneBrightness, |
|
|
bool |
init = false |
|
) |
| |
◆ Attribute()
| enum EWidgetAnchor Attribute |
( |
"" |
, |
|
|
UIWidgets. |
ResourceNamePicker, |
|
|
"Layout" |
, |
|
|
"layout" |
|
|
) |
| |
◆ CreateDisplayLegacy()
| private void CreateDisplayLegacy |
( |
IEntity |
owner | ) |
|
◆ GetAnchorPosition()
Get width and height of the InfoDisplay element, optionally with safezones adjustments
- Parameters
-
| [out] | x | |
| [out] | y | |
| anchor | |
| addSafezones | |
- Returns
- false if content widget is null, true otherwise
Definition at line 265 of file SCR_InfoDisplay.c.
◆ GetContentWidget()
| Widget GetContentWidget |
( |
| ) |
|
◆ GetContentWidgetName()
| string GetContentWidgetName |
( |
| ) |
|
◆ GetDimensions()
| bool GetDimensions |
( |
out float |
width, |
|
|
out float |
height, |
|
|
bool |
addSafezones = true |
|
) |
| |
Get width and height of the InfoDisplay element, optionally with safezones adjustments
- Parameters
-
| [out] | width | |
| [out] | height | |
| addSafezones | |
- Returns
- false if content widget is null, true otherwise
Definition at line 234 of file SCR_InfoDisplay.c.
◆ GetHandler()
◆ GetOnStart()
◆ GetOnStop()
◆ GetOwnerEntity()
| IEntity GetOwnerEntity |
( |
| ) |
|
◆ GetRootWidget()
◆ IsShown()
◆ OnShownFinished()
| protected void OnShownFinished |
( |
Widget |
w, |
|
|
float |
targetOpacity, |
|
|
WidgetAnimationOpacity |
anim = null |
|
) |
| |
◆ OnShownFinishedPrivate()
| private void OnShownFinishedPrivate |
( |
WidgetAnimationOpacity |
anim | ) |
|
◆ OnStartDraw()
| protected override event void OnStartDraw |
( |
IEntity |
owner | ) |
|
◆ OnStopDraw()
| protected override event void OnStopDraw |
( |
IEntity |
owner | ) |
|
◆ RegisterToHudManager()
| void RegisterToHudManager |
( |
| ) |
|
◆ SCR_InfoDisplayStartStopCallback()
◆ SetContentWidget()
| void SetContentWidget |
( |
notnull Widget |
content | ) |
|
◆ SetRootWidget()
| void SetRootWidget |
( |
notnull Widget |
root | ) |
|
◆ Show()
| void Show |
( |
bool |
show, |
|
|
float |
speed = UIConstants.FADE_RATE_INSTANT, |
|
|
EAnimationCurve |
curve = EAnimationCurve.LINEAR |
|
) |
| |
Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility. Use this method instead of SetVisible/SetOpacity.
- Parameters
-
| show | true to show, false to hide |
| speed | fade rate, default 0 |
| curve | hiding interpolation, default linear |
Definition at line 138 of file SCR_InfoDisplay.c.
◆ UpdateValues()
| protected override event void UpdateValues |
( |
IEntity |
owner, |
|
|
float |
timeSlice |
|
) |
| |
◆ BOTTOM
◆ BOTTOMLEFT
◆ BOTTOMRIGHT
◆ CENTER
◆ LEFT
◆ m_aChildDisplays
◆ m_aHandlers
◆ m_aUpdatableHandlers
◆ m_bAdaptiveOpacity
| private bool m_bAdaptiveOpacity |
◆ m_bRegistered
| protected bool m_bRegistered = false |
◆ m_bShown
◆ m_bShowWhenCreated
| private bool m_bShowWhenCreated |
◆ m_eLayer
◆ m_fAdaptiveOpacity
| private float m_fAdaptiveOpacity = 1 |
◆ m_HUDManager
◆ m_iChildDisplays
| protected int m_iChildDisplays = 0 |
◆ m_iContentHeightAdjustment
| protected int m_iContentHeightAdjustment |
◆ m_iContentWidthAdjustment
| protected int m_iContentWidthAdjustment |
◆ m_iOverrideZOrder
◆ m_OnStart
◆ m_OnStop
◆ m_OwnerEntity
| protected IEntity m_OwnerEntity |
◆ m_pParentDisplay
| protected SCR_InfoDisplay m_pParentDisplay |
◆ m_sAdaptiveOpacityWidgetName
| protected string m_sAdaptiveOpacityWidgetName |
◆ m_sContentWidget
| protected string m_sContentWidget |
◆ m_sParentSlot
| protected string m_sParentSlot |
◆ m_wAdaptiveOpacity
| private Widget m_wAdaptiveOpacity |
◆ m_wContent
| protected Widget m_wContent |
◆ m_wRoot
◆ m_wSlot
◆ RIGHT
◆ TOP
◆ TOPLEFT
◆ TOPRIGHT