Arma Reforger Script API
|
Map marker layout component Attached to root of marker base layout. More...
Public Member Functions | |
void | SetMarkerObject (notnull SCR_MapMarkerBase marker) |
void | SetLayerID (int id) |
void | SetRotation (float angle) |
void | SetImage (ResourceName icon, string quad, float aspectRatio=1) |
Supports custom aspect ratio in case of non standard size imagesets. | |
void | SetGlowImage (ResourceName icon, string quad) |
void | SetMilitarySymbolMode (bool state) |
Set visual mode for military symbol which is constructed through additional component. | |
void | SetEventListening (bool state) |
void | UpdateMilitarySymbol (SCR_MilitarySymbol milSymbol) |
void | SetText (string text) |
void | SetTextVisible (bool state) |
void | SetTypeIcon (int type, string text) |
Not synched secondary text. | |
void | SetTypeIconsVisible (bool state) |
void | SetAuthor (string text) |
void | SetAuthorVisible (bool state) |
void | SetModeIcon (bool state, bool isPublic) |
void | SetColor (Color color) |
ImageWidget | GetAuthorPlatformIcon () |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
override bool | OnFocus (Widget w, int x, int y) |
override bool | OnFocusLost (Widget w, int x, int y) |
override void | HandlerAttached (Widget w) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Protected Member Functions | |
void | OnFilteredCallback (array< string > text) |
Protected Attributes | |
bool | m_bIsEventListening |
bool | m_bIsSymbolMode |
bool | m_bIsOwnerMode |
int | m_iLayerID |
ImageWidget | m_wMarkerIcon |
ImageWidget | m_wMarkerGlowIcon |
ImageWidget | m_wMarkerModeIcon |
ImageWidget | m_wAuthorPlatformIcon |
TextWidget | m_wMarkerText |
TextWidget | m_wMarkerAuthor |
TextWidget | m_wTypeIcon1 |
TextWidget | m_wTypeIcon2 |
TextWidget | m_wTypeIcon3 |
Widget | m_wSymbolRoot |
Widget | m_wSymbolOverlay |
Widget | m_wTypeIconRoot |
Widget | m_wTypeOverlay1 |
Widget | m_wTypeOverlay2 |
Widget | m_wTypeOverlay3 |
ref Color | m_GlowDefault = Color.FromSRGBA(21, 29, 32, 155) |
ref Color | m_GlowSelected = Color.FromSRGBA(226, 168, 79, 155) |
ref Color | m_TextColor = new Color(0.0, 0.0, 0.0, 1.0) |
ref Color | m_CurrentImageColor = new Color(0.0, 0.0, 0.0, 1.0) |
SCR_MapMarkerBase | m_MarkerObject |
SCR_MapMarkerManagerComponent | m_MapMarkerManager |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
Widget | m_wRoot |
Static Protected Attributes | |
const string | PRIVATE_QUAD = "private" |
const string | PUBLIC_QUAD = "public" |
const string | AUTHOR_NAME_FORMAT = "[%1]" |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Map marker layout component Attached to root of marker base layout.
ImageWidget SCR_MapMarkerWidgetComponent.GetAuthorPlatformIcon | ( | ) |
override void SCR_MapMarkerWidgetComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
|
protected |
override bool SCR_MapMarkerWidgetComponent.OnFocus | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
override bool SCR_MapMarkerWidgetComponent.OnFocusLost | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
override bool SCR_MapMarkerWidgetComponent.OnMouseEnter | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
override bool SCR_MapMarkerWidgetComponent.OnMouseLeave | ( | Widget | w, |
Widget | enterW, | ||
int | x, | ||
int | y | ||
) |
void SCR_MapMarkerWidgetComponent.SetAuthor | ( | string | text | ) |
[in] | text |
void SCR_MapMarkerWidgetComponent.SetAuthorVisible | ( | bool | state | ) |
[in] | state |
void SCR_MapMarkerWidgetComponent.SetColor | ( | Color | color | ) |
[in] | color |
void SCR_MapMarkerWidgetComponent.SetEventListening | ( | bool | state | ) |
[in] | state |
void SCR_MapMarkerWidgetComponent.SetGlowImage | ( | ResourceName | icon, |
string | quad | ||
) |
[in] | icon | |
[in] | quad |
void SCR_MapMarkerWidgetComponent.SetImage | ( | ResourceName | icon, |
string | quad, | ||
float | aspectRatio = 1 |
||
) |
Supports custom aspect ratio in case of non standard size imagesets.
[in] | icon | |
[in] | quad | |
[in] | aspectRatio |
void SCR_MapMarkerWidgetComponent.SetLayerID | ( | int | id | ) |
[in] | id |
void SCR_MapMarkerWidgetComponent.SetMarkerObject | ( | notnull SCR_MapMarkerBase | marker | ) |
[in] | marker |
void SCR_MapMarkerWidgetComponent.SetMilitarySymbolMode | ( | bool | state | ) |
Set visual mode for military symbol which is constructed through additional component.
[in] | state |
void SCR_MapMarkerWidgetComponent.SetModeIcon | ( | bool | state, |
bool | isPublic | ||
) |
[in] | state | |
[in] | isPublic |
void SCR_MapMarkerWidgetComponent.SetRotation | ( | float | angle | ) |
[in] | angle |
void SCR_MapMarkerWidgetComponent.SetText | ( | string | text | ) |
[in] | text |
void SCR_MapMarkerWidgetComponent.SetTextVisible | ( | bool | state | ) |
[in] | state |
void SCR_MapMarkerWidgetComponent.SetTypeIcon | ( | int | type, |
string | text | ||
) |
Not synched secondary text.
void SCR_MapMarkerWidgetComponent.SetTypeIconsVisible | ( | bool | state | ) |
[in] | state |
void SCR_MapMarkerWidgetComponent.UpdateMilitarySymbol | ( | SCR_MilitarySymbol | milSymbol | ) |
[in] | milSymbol |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |