![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| override void | HandlerAttached (Widget w) |
| void | RegisterCareerProfileHandler (SCR_CareerSpecializationsUI instance) |
| void | SetSpPoints (array< float > specializations, bool newStats=true) |
| void | DrawSpiderNet () |
| override bool | OnUpdate (Widget w) |
| void | CalculateVertices (array< float > points, array< float > oldPoints) |
| void | DrawVertices () |
| Create inner polygon. | |
| CanvasWidgetCommand | InnerArea () |
| CanvasWidgetCommand | OldInnerArea () |
| CanvasWidgetCommand | OuterArea () |
| CanvasWidgetCommand | OldOuterArea () |
| void | DrawLegends () |
| void | CreateLegend (float positionX, float positionY, string title, int id) |
| void | AdjustLegend (Widget legendWidget, SCR_ButtonLegendComponent handler, float positionX, float positionY) |
| void | OnButtonClick (SCR_ButtonLegendComponent buttonHandler) |
| void | OnMouseEnterButton (SCR_ButtonLegendComponent buttonHandler) |
| void | OnMouseLeaveButton (SCR_ButtonLegendComponent buttonHandler) |
Protected Attributes | |
| CanvasWidget | m_wCanvasWidget |
| vector | m_vCenter |
| float | m_fRadius |
| const float | m_fLegendOffsetAsRadius = 0.2 |
| ref array< ref CanvasWidgetCommand > | m_aCanvasCommands |
| ref array< float > | m_aVertices |
| ref array< float > | m_aOldVertices |
| ref array< float > | m_aLegendPositions |
| ImageWidget | m_wbackgroundImage |
| ref array< ref Widget > | m_aLegends |
| Widget | m_wSpiderNetFrame |
| SCR_CareerSpecializationsUI | m_CareerSpecializationsHandler = null |
| int | m_iNumberOfPoints |
| ref array< float > | m_aSpPoints |
| ref array< float > | m_aOldSpPoints |
| ref Color | m_iPolygonColor |
| ref Color | m_iOutlineColor |
| ref Color | m_iOldStatsPolygonColor |
| ref Color | m_iOldStatsOutlineColor |
| float | m_fMinRepresentativeValue |
| ResourceName | m_LegendLayout |
Definition at line 2 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 279 of file SCR_SpiderNet.c.
|
inlineprotected |
To navigate a CanvasWidget we do minus operation to move upwards on the vertical axis Because the CanvasWidget has the 0,0 coordinate at the top-left corner of the widget
That's why to calculate position we do x=center+h*cos(angle), y=center-h*sin(angle). Because the sin is inverted. So we need to invert the sum operation when working with sin if we want to invert the vertical direction and move upwards by decreasing on the y
Definition at line 113 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 245 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 224 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 75 of file SCR_SpiderNet.c.
|
inlineprotected |
Create inner polygon.
Definition at line 161 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 44 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 174 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 185 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 210 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 310 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 321 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 332 of file SCR_SpiderNet.c.
Definition at line 101 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 196 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 51 of file SCR_SpiderNet.c.
|
inlineprotected |
Definition at line 56 of file SCR_SpiderNet.c.
|
protected |
Definition at line 10 of file SCR_SpiderNet.c.
|
protected |
Definition at line 13 of file SCR_SpiderNet.c.
|
protected |
Definition at line 16 of file SCR_SpiderNet.c.
|
protected |
Definition at line 23 of file SCR_SpiderNet.c.
|
protected |
Definition at line 12 of file SCR_SpiderNet.c.
|
protected |
Definition at line 23 of file SCR_SpiderNet.c.
|
protected |
Definition at line 11 of file SCR_SpiderNet.c.
|
protected |
Definition at line 20 of file SCR_SpiderNet.c.
|
protected |
Definition at line 8 of file SCR_SpiderNet.c.
|
protected |
Definition at line 38 of file SCR_SpiderNet.c.
|
protected |
Definition at line 7 of file SCR_SpiderNet.c.
|
protected |
Definition at line 22 of file SCR_SpiderNet.c.
|
protected |
Definition at line 35 of file SCR_SpiderNet.c.
|
protected |
Definition at line 32 of file SCR_SpiderNet.c.
|
protected |
Definition at line 29 of file SCR_SpiderNet.c.
|
protected |
Definition at line 26 of file SCR_SpiderNet.c.
|
protected |
Definition at line 41 of file SCR_SpiderNet.c.
|
protected |
Definition at line 6 of file SCR_SpiderNet.c.
|
protected |
Definition at line 14 of file SCR_SpiderNet.c.
|
protected |
Definition at line 4 of file SCR_SpiderNet.c.
|
protected |
Definition at line 18 of file SCR_SpiderNet.c.