|
Arma Reforger Script API
|
UI Component for handling edited save widget Can: Display currently edited save, show save state (changes), trigger upload. More...
Public Member Functions | |
| override void | HandlerAttached (Widget w) |
| override void | HandlerDeattached (Widget w) |
| override bool | OnFocus (Widget w, int x, int y) |
| override bool | OnFocusLost (Widget w, int x, int y) |
| void | ClearEditedSave () |
| SCR_ModularButtonComponent | GetUploadButton () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| override bool | OnClick (Widget w, int x, int y, int button) |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Protected Member Functions | |
| void | OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip) |
| void | OnEditedSaveChange (string fileName) |
| Reaction to changing of current editing save - name should be changed accordingly. | |
| void | UpdatePublishButtonState () |
| Setup current tooltip based on current save state. | |
| void | OnUploadButtonClick (SCR_ModularButtonComponent button) |
| void | OnLoginSuccess () |
Protected Attributes | |
| TextWidget | m_wName |
| ImageWidget | m_wSaveBackground |
| ButtonWidget | m_wUploadButton |
| SCR_ModularButtonComponent | m_UploadButton |
| SCR_DynamicIconComponent | m_UploadButtonIcon |
| bool | m_bCanUpload |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
| Widget | m_wRoot |
Static Protected Attributes | |
| const string | WIDGET_NAME = "m_Name" |
| const string | WIDGET_UPLOAD_BTN = "m_UploadButton" |
| const string | WIDGET_SAVE_BACKGROUND = "m_IconBackground" |
| const string | TOOLTIP_PUBLISH = "#AR-Editor_SaveLoad_TooltipPublish" |
| const string | TOOLTIP_PUBLISH_EMPTY = "#AR-Editor_SaveLoad_TooltipMissingSave" |
| const string | TOOLTIP_PUBLISH_DISABLED_DOWNLOADED = "#AR-Editor_SaveLoad_TooltipDownloadedPublish" |
| const string | DEFAULT_NAME = "#AR-Editor_SaveLoad_NewSaveFallback" |
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 |
UI Component for handling edited save widget Can: Display currently edited save, show save state (changes), trigger upload.
| void SCR_EditedSaveUIComponent.ClearEditedSave | ( | ) |
| SCR_ModularButtonComponent SCR_EditedSaveUIComponent.GetUploadButton | ( | ) |
| override void SCR_EditedSaveUIComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
| override void SCR_EditedSaveUIComponent.HandlerDeattached | ( | Widget | w | ) |
|
protected |
Reaction to changing of current editing save - name should be changed accordingly.
| override bool SCR_EditedSaveUIComponent.OnFocus | ( | Widget | w, |
| int | x, | ||
| int | y ) |
| override bool SCR_EditedSaveUIComponent.OnFocusLost | ( | Widget | w, |
| int | x, | ||
| int | y ) |
|
protected |
|
protected |
|
protected |
|
protected |
Setup current tooltip based on current save state.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |