Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CaptureAndHoldObjectiveDisplayObject Class Reference

This object serves as a wrapper for individual HUD objective widgets. More...

Protected Member Functions

SCR_CaptureAndHoldArea GetArea ()
 Returns the area this element represents.
Widget GetRootWidget ()
 Returns root widget of this element.
void SCR_CaptureAndHoldObjectiveDisplayObject (notnull Widget root, notnull SCR_CaptureAndHoldArea area)
 Create new wrapper for objective display.
void UpdateImageState (Widget root, float timeSlice)
 Update image state according to provided area state.
void UpdateStatic (float timeSlice)
 Update this widget as static UI element, ie. not reprojecting it automatically.
void UpdateDynamic (IEntity playerEntity, float timeSlice)
 Update this widget as dynamic UI element projected to screen space.

Protected Attributes

Widget m_wRoot
 Topmost widget of this object.
TextWidget m_wDistanceText
 Text that displays objective distance.
TextWidget m_wNameText
 Text that displays name or symbol of the objective.
ImageWidget m_wIcon
 The objective image.
ImageWidget m_wUnderAttackIcon
 The objective is under attack symbol image.
ImageWidget m_wMajorIcon
 The major objective symbol image.
ImageWidget m_wBackdropIcon
 The backdrop image of this element.
VerticalLayoutWidget m_wLayout
float m_fBlendScreenPosition
 Blend progress of when within the area.
const float COLOR_BLEND_SPEED = 5.5
 Color blending rate.
const float POSITION_BLEND_SPEED = 2.5
 Position blending rate.
float m_fOriginalXSize
float m_fOriginalYSize
float m_fOriginalTitleSize
float m_fOriginalTextSize
const int ATLAS_INDEX_NEUTRAL = 0
const int ATLAS_INDEX_BLUFOR = 1
const int ATLAS_INDEX_OPFOR = 2
SCR_CaptureAndHoldArea m_AffiliatedArea
 The area this object represents.

Detailed Description

This object serves as a wrapper for individual HUD objective widgets.

Definition at line 2 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

Constructor & Destructor Documentation

◆ SCR_CaptureAndHoldObjectiveDisplayObject()

void SCR_CaptureAndHoldObjectiveDisplayObject::SCR_CaptureAndHoldObjectiveDisplayObject ( notnull Widget root,
notnull SCR_CaptureAndHoldArea area )
inlineprotected

Create new wrapper for objective display.

Definition at line 60 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

Member Function Documentation

◆ GetArea()

SCR_CaptureAndHoldArea SCR_CaptureAndHoldObjectiveDisplayObject::GetArea ( )
inlineprotected

Returns the area this element represents.

Definition at line 46 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ GetRootWidget()

Widget SCR_CaptureAndHoldObjectiveDisplayObject::GetRootWidget ( )
inlineprotected

Returns root widget of this element.

Definition at line 53 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ UpdateDynamic()

void SCR_CaptureAndHoldObjectiveDisplayObject::UpdateDynamic ( IEntity playerEntity,
float timeSlice )
inlineprotected

Update this widget as dynamic UI element projected to screen space.

Definition at line 170 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ UpdateImageState()

void SCR_CaptureAndHoldObjectiveDisplayObject::UpdateImageState ( Widget root,
float timeSlice )
inlineprotected

Update image state according to provided area state.

Definition at line 83 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ UpdateStatic()

void SCR_CaptureAndHoldObjectiveDisplayObject::UpdateStatic ( float timeSlice)
inlineprotected

Update this widget as static UI element, ie. not reprojecting it automatically.

Definition at line 160 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

Member Data Documentation

◆ ATLAS_INDEX_BLUFOR

const int SCR_CaptureAndHoldObjectiveDisplayObject::ATLAS_INDEX_BLUFOR = 1
protected

Definition at line 37 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ ATLAS_INDEX_NEUTRAL

const int SCR_CaptureAndHoldObjectiveDisplayObject::ATLAS_INDEX_NEUTRAL = 0
protected

Definition at line 36 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ ATLAS_INDEX_OPFOR

const int SCR_CaptureAndHoldObjectiveDisplayObject::ATLAS_INDEX_OPFOR = 2
protected

Definition at line 38 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ COLOR_BLEND_SPEED

const float SCR_CaptureAndHoldObjectiveDisplayObject::COLOR_BLEND_SPEED = 5.5
protected

Color blending rate.

Definition at line 25 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_AffiliatedArea

SCR_CaptureAndHoldArea SCR_CaptureAndHoldObjectiveDisplayObject::m_AffiliatedArea
protected

The area this object represents.

Definition at line 42 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_fBlendScreenPosition

float SCR_CaptureAndHoldObjectiveDisplayObject::m_fBlendScreenPosition
protected

Blend progress of when within the area.

Definition at line 23 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_fOriginalTextSize

float SCR_CaptureAndHoldObjectiveDisplayObject::m_fOriginalTextSize
protected

Definition at line 33 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_fOriginalTitleSize

float SCR_CaptureAndHoldObjectiveDisplayObject::m_fOriginalTitleSize
protected

Definition at line 32 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_fOriginalXSize

float SCR_CaptureAndHoldObjectiveDisplayObject::m_fOriginalXSize
protected

Definition at line 30 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_fOriginalYSize

float SCR_CaptureAndHoldObjectiveDisplayObject::m_fOriginalYSize
protected

Definition at line 31 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wBackdropIcon

ImageWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wBackdropIcon
protected

The backdrop image of this element.

Definition at line 18 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wDistanceText

TextWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wDistanceText
protected

Text that displays objective distance.

Definition at line 7 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wIcon

ImageWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wIcon
protected

The objective image.

Definition at line 12 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wLayout

VerticalLayoutWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wLayout
protected

Definition at line 20 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wMajorIcon

ImageWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wMajorIcon
protected

The major objective symbol image.

Definition at line 16 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wNameText

TextWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wNameText
protected

Text that displays name or symbol of the objective.

Definition at line 9 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wRoot

Widget SCR_CaptureAndHoldObjectiveDisplayObject::m_wRoot
protected

Topmost widget of this object.

Definition at line 5 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ m_wUnderAttackIcon

ImageWidget SCR_CaptureAndHoldObjectiveDisplayObject::m_wUnderAttackIcon
protected

The objective is under attack symbol image.

Definition at line 14 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.

◆ POSITION_BLEND_SPEED

const float SCR_CaptureAndHoldObjectiveDisplayObject::POSITION_BLEND_SPEED = 2.5
protected

Position blending rate.

Definition at line 27 of file SCR_CaptureAndHoldObjectiveDisplayObject.c.


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