Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseAnalogGauge Class Reference
Inheritance diagram for SCR_BaseAnalogGauge:
SCR_AnalogGauge SCR_AnalogGaugeNonLinear SCR_AnalogGauge360 SCR_AnalogGaugeSmall SCR_AnalogGaugeUni SCR_AnalogGauge360Small SCR_AnalogGaugeMultiSignal

Protected Member Functions

float GetValue ()
float GetValuePerc (float value)
ref SCR_BaseAnalogGaugeData GetGaugeData ()
void InitGauge (IEntity owner, out bool bSuccess)
void CreateGauge (IEntity owner, out bool bSuccess)
bool CreateGaugeRing (IEntity owner)
bool CreateGaugeNeedle (IEntity owner, ImageWidget wNeedle, ImageWidget wNeedleShadow, string sCustomNeedle="", bool bVisible=true)
bool CreateGaugeOverlay (IEntity owner, ImageWidget wOverlay, string sOverlayTexture, bool bVisible=true)
bool CreateGaugeInfoText (IEntity owner, TextWidget wInfo, string sText, Widget wAnchor, float fPosX, float fPosY, bool bVisible=true)
void UpdateGauge (IEntity owner, float timeSlice, float value)
void UpdateGaugeNeedle (IEntity owner, float timeSlice, ImageWidget wNeedle, ImageWidget wNeedleShadow, float fValuePerc, float fScaleValue=1.00, bool bClamp=true)
void DestroyGauge ()
override event void DisplayUpdate (IEntity owner, float timeSlice)
override bool DisplayStartDrawInit (IEntity owner)
override void DisplayStartDraw (IEntity owner)
override void DisplayStopDraw (IEntity owner)
override void DisplayInit (IEntity owner)
void CreateRingLabel (WorkspaceWidget workspace, float angle, float value, bool absValues=true, float labelValueMultiplier=1, int labelValuePrecision=0)
void CreateRingMark (WorkspaceWidget workspace, float angle, string texture)

Protected Attributes

float m_fWidgetRange
float m_fWidgetRotation
float m_fWidgetScale
string m_sInfoText
float m_fInfoPosX
float m_fInfoPosY
string m_sInfo2Text
float m_fInfo2PosX
float m_fInfo2PosY
float m_fLabelValueMultiplier
int m_iLabelValuePrecision
bool m_bAbsLabelValues
bool m_bShowLabel0
bool m_bShowLabelMax
bool m_bShowLabelMin
ref SCR_BaseAnalogGaugeData m_pGaugeData
TextWidget m_wInfo
TextWidget m_wInfo2
Widget m_wInfoAnchor
Widget m_wInfo2Anchor
ImageWidget m_wRing
ImageWidget m_wBackground
ImageWidget m_wNeedle
ImageWidget m_wNeedleShadow
ImageWidget m_wOverlay
float m_fGaugeSizeX
float m_fGaugeSizeY
Widget m_wRingMarks
Widget m_wRingLabels
float m_fZeroValueRotation

Detailed Description

Definition at line 16 of file SCR_BaseAnalogGauge.c.

Member Function Documentation

◆ CreateGauge()

void SCR_BaseAnalogGauge::CreateGauge ( IEntity owner,
out bool bSuccess )
inlineprotected

Definition at line 117 of file SCR_BaseAnalogGauge.c.

◆ CreateGaugeInfoText()

bool SCR_BaseAnalogGauge::CreateGaugeInfoText ( IEntity owner,
TextWidget wInfo,
string sText,
Widget wAnchor,
float fPosX,
float fPosY,
bool bVisible = true )
inlineprotected

Definition at line 225 of file SCR_BaseAnalogGauge.c.

◆ CreateGaugeNeedle()

bool SCR_BaseAnalogGauge::CreateGaugeNeedle ( IEntity owner,
ImageWidget wNeedle,
ImageWidget wNeedleShadow,
string sCustomNeedle = "",
bool bVisible = true )
inlineprotected

Definition at line 186 of file SCR_BaseAnalogGauge.c.

◆ CreateGaugeOverlay()

bool SCR_BaseAnalogGauge::CreateGaugeOverlay ( IEntity owner,
ImageWidget wOverlay,
string sOverlayTexture,
bool bVisible = true )
inlineprotected

Definition at line 206 of file SCR_BaseAnalogGauge.c.

◆ CreateGaugeRing()

bool SCR_BaseAnalogGauge::CreateGaugeRing ( IEntity owner)
inlineprotected

Definition at line 153 of file SCR_BaseAnalogGauge.c.

◆ CreateRingLabel()

void SCR_BaseAnalogGauge::CreateRingLabel ( WorkspaceWidget workspace,
float angle,
float value,
bool absValues = true,
float labelValueMultiplier = 1,
int labelValuePrecision = 0 )
inlineprotected

Definition at line 405 of file SCR_BaseAnalogGauge.c.

◆ CreateRingMark()

void SCR_BaseAnalogGauge::CreateRingMark ( WorkspaceWidget workspace,
float angle,
string texture )
inlineprotected

Definition at line 456 of file SCR_BaseAnalogGauge.c.

◆ DestroyGauge()

void SCR_BaseAnalogGauge::DestroyGauge ( )
inlineprotected

Definition at line 286 of file SCR_BaseAnalogGauge.c.

◆ DisplayInit()

override void SCR_BaseAnalogGauge::DisplayInit ( IEntity owner)
inlineprotected

Definition at line 361 of file SCR_BaseAnalogGauge.c.

◆ DisplayStartDraw()

override void SCR_BaseAnalogGauge::DisplayStartDraw ( IEntity owner)
inlineprotected

Definition at line 332 of file SCR_BaseAnalogGauge.c.

◆ DisplayStartDrawInit()

override bool SCR_BaseAnalogGauge::DisplayStartDrawInit ( IEntity owner)
inlineprotected

Definition at line 312 of file SCR_BaseAnalogGauge.c.

◆ DisplayStopDraw()

override void SCR_BaseAnalogGauge::DisplayStopDraw ( IEntity owner)
inlineprotected

Definition at line 355 of file SCR_BaseAnalogGauge.c.

◆ DisplayUpdate()

override event void SCR_BaseAnalogGauge::DisplayUpdate ( IEntity owner,
float timeSlice )
inlineprotected

Definition at line 300 of file SCR_BaseAnalogGauge.c.

◆ GetGaugeData()

ref SCR_BaseAnalogGaugeData SCR_BaseAnalogGauge::GetGaugeData ( )
inlineprotected

Definition at line 105 of file SCR_BaseAnalogGauge.c.

◆ GetValue()

float SCR_BaseAnalogGauge::GetValue ( )
inlineprotected

Definition at line 91 of file SCR_BaseAnalogGauge.c.

◆ GetValuePerc()

float SCR_BaseAnalogGauge::GetValuePerc ( float value)
inlineprotected

Definition at line 98 of file SCR_BaseAnalogGauge.c.

◆ InitGauge()

void SCR_BaseAnalogGauge::InitGauge ( IEntity owner,
out bool bSuccess )
inlineprotected

Definition at line 112 of file SCR_BaseAnalogGauge.c.

◆ UpdateGauge()

void SCR_BaseAnalogGauge::UpdateGauge ( IEntity owner,
float timeSlice,
float value )
inlineprotected

Definition at line 245 of file SCR_BaseAnalogGauge.c.

◆ UpdateGaugeNeedle()

void SCR_BaseAnalogGauge::UpdateGaugeNeedle ( IEntity owner,
float timeSlice,
ImageWidget wNeedle,
ImageWidget wNeedleShadow,
float fValuePerc,
float fScaleValue = 1.00,
bool bClamp = true )
inlineprotected

Definition at line 255 of file SCR_BaseAnalogGauge.c.

Member Data Documentation

◆ m_bAbsLabelValues

bool SCR_BaseAnalogGauge::m_bAbsLabelValues
protected

Definition at line 56 of file SCR_BaseAnalogGauge.c.

◆ m_bShowLabel0

bool SCR_BaseAnalogGauge::m_bShowLabel0
protected

Definition at line 59 of file SCR_BaseAnalogGauge.c.

◆ m_bShowLabelMax

bool SCR_BaseAnalogGauge::m_bShowLabelMax
protected

Definition at line 62 of file SCR_BaseAnalogGauge.c.

◆ m_bShowLabelMin

bool SCR_BaseAnalogGauge::m_bShowLabelMin
protected

Definition at line 65 of file SCR_BaseAnalogGauge.c.

◆ m_fGaugeSizeX

float SCR_BaseAnalogGauge::m_fGaugeSizeX
protected

Definition at line 81 of file SCR_BaseAnalogGauge.c.

◆ m_fGaugeSizeY

float SCR_BaseAnalogGauge::m_fGaugeSizeY
protected

Definition at line 82 of file SCR_BaseAnalogGauge.c.

◆ m_fInfo2PosX

float SCR_BaseAnalogGauge::m_fInfo2PosX
protected

Definition at line 43 of file SCR_BaseAnalogGauge.c.

◆ m_fInfo2PosY

float SCR_BaseAnalogGauge::m_fInfo2PosY
protected

Definition at line 46 of file SCR_BaseAnalogGauge.c.

◆ m_fInfoPosX

float SCR_BaseAnalogGauge::m_fInfoPosX
protected

Definition at line 34 of file SCR_BaseAnalogGauge.c.

◆ m_fInfoPosY

float SCR_BaseAnalogGauge::m_fInfoPosY
protected

Definition at line 37 of file SCR_BaseAnalogGauge.c.

◆ m_fLabelValueMultiplier

float SCR_BaseAnalogGauge::m_fLabelValueMultiplier
protected

Definition at line 50 of file SCR_BaseAnalogGauge.c.

◆ m_fWidgetRange

float SCR_BaseAnalogGauge::m_fWidgetRange
protected

Definition at line 20 of file SCR_BaseAnalogGauge.c.

◆ m_fWidgetRotation

float SCR_BaseAnalogGauge::m_fWidgetRotation
protected

Definition at line 23 of file SCR_BaseAnalogGauge.c.

◆ m_fWidgetScale

float SCR_BaseAnalogGauge::m_fWidgetScale
protected

Definition at line 26 of file SCR_BaseAnalogGauge.c.

◆ m_fZeroValueRotation

float SCR_BaseAnalogGauge::m_fZeroValueRotation
protected

Definition at line 87 of file SCR_BaseAnalogGauge.c.

◆ m_iLabelValuePrecision

int SCR_BaseAnalogGauge::m_iLabelValuePrecision
protected

Definition at line 53 of file SCR_BaseAnalogGauge.c.

◆ m_pGaugeData

ref SCR_BaseAnalogGaugeData SCR_BaseAnalogGauge::m_pGaugeData
protected

Definition at line 68 of file SCR_BaseAnalogGauge.c.

◆ m_sInfo2Text

string SCR_BaseAnalogGauge::m_sInfo2Text
protected

Definition at line 40 of file SCR_BaseAnalogGauge.c.

◆ m_sInfoText

string SCR_BaseAnalogGauge::m_sInfoText
protected

Definition at line 31 of file SCR_BaseAnalogGauge.c.

◆ m_wBackground

ImageWidget SCR_BaseAnalogGauge::m_wBackground
protected

Definition at line 76 of file SCR_BaseAnalogGauge.c.

◆ m_wInfo

TextWidget SCR_BaseAnalogGauge::m_wInfo
protected

Definition at line 70 of file SCR_BaseAnalogGauge.c.

◆ m_wInfo2

TextWidget SCR_BaseAnalogGauge::m_wInfo2
protected

Definition at line 71 of file SCR_BaseAnalogGauge.c.

◆ m_wInfo2Anchor

Widget SCR_BaseAnalogGauge::m_wInfo2Anchor
protected

Definition at line 73 of file SCR_BaseAnalogGauge.c.

◆ m_wInfoAnchor

Widget SCR_BaseAnalogGauge::m_wInfoAnchor
protected

Definition at line 72 of file SCR_BaseAnalogGauge.c.

◆ m_wNeedle

ImageWidget SCR_BaseAnalogGauge::m_wNeedle
protected

Definition at line 77 of file SCR_BaseAnalogGauge.c.

◆ m_wNeedleShadow

ImageWidget SCR_BaseAnalogGauge::m_wNeedleShadow
protected

Definition at line 78 of file SCR_BaseAnalogGauge.c.

◆ m_wOverlay

ImageWidget SCR_BaseAnalogGauge::m_wOverlay
protected

Definition at line 79 of file SCR_BaseAnalogGauge.c.

◆ m_wRing

ImageWidget SCR_BaseAnalogGauge::m_wRing
protected

Definition at line 75 of file SCR_BaseAnalogGauge.c.

◆ m_wRingLabels

Widget SCR_BaseAnalogGauge::m_wRingLabels
protected

Definition at line 85 of file SCR_BaseAnalogGauge.c.

◆ m_wRingMarks

Widget SCR_BaseAnalogGauge::m_wRingMarks
protected

Definition at line 84 of file SCR_BaseAnalogGauge.c.


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