Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_GenericWorkbenchDialogs.c
Go to the documentation of this file.
1
class
SCR_OKWorkbenchDialog
// Workbench.Dialog works too, only styling is different
2
{
3
[
ButtonAttribute
(
"OK"
,
true
)]
4
protected
int
ButtonOK
()
5
{
6
return
1;
7
}
8
}
9
10
[
Obsolete
(
"Use WorkbenchDialog_OKCancel instead"
)]
11
class
SCR_OKCancelWorkbenchDialog
12
{
13
[
ButtonAttribute
(
"OK"
,
true
)]
14
protected
int
ButtonOK
()
15
{
16
return
1;
17
}
18
19
[
ButtonAttribute
(
"Cancel"
)]
20
protected
int
ButtonCancel
()
21
{
22
return
0;
23
}
24
}
25
26
class
SCR_TextResultWorkbenchDialog
27
{
28
[
Attribute
(uiwidget:
UIWidgets
.EditBoxMultiline,
category
:
"Result"
)]
29
protected
string
m_sResult
;
30
31
//------------------------------------------------------------------------------------------------
32
[
ButtonAttribute
(
"Copy to Clipboard"
,
true
)]
33
protected
int
ButtonCopyToClipboard
()
34
{
35
System
.ExportToClipboard(
m_sResult
);
36
return
1;
37
}
38
39
//------------------------------------------------------------------------------------------------
40
[
ButtonAttribute
(
"Close"
)]
41
protected
int
ButtonClose
()
42
{
43
return
0;
44
}
45
46
//------------------------------------------------------------------------------------------------
47
// constructor
48
void
SCR_TextResultWorkbenchDialog
(
string
result)
49
{
50
m_sResult
= result;
51
}
52
}
ButtonCancel
bool ButtonCancel()
Definition
SCR_ImageSetGenerator.c:314
ButtonOK
bool ButtonOK()
Definition
SCR_ImageSetGenerator.c:307
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
ButtonAttribute
class WorkbenchDialog_AbortRetryIgnore ButtonAttribute("OK", true)
Definition
WorkbenchDialogs.c:30
SCR_OKWorkbenchDialog
Definition
SCR_GenericWorkbenchDialogs.c:2
SCR_OKWorkbenchDialog::ButtonOK
int ButtonOK()
Definition
SCR_GenericWorkbenchDialogs.c:4
SCR_TextResultWorkbenchDialog::ButtonCopyToClipboard
int ButtonCopyToClipboard()
Definition
SCR_GenericWorkbenchDialogs.c:33
SCR_TextResultWorkbenchDialog::SCR_TextResultWorkbenchDialog
void SCR_TextResultWorkbenchDialog(string result)
Definition
SCR_GenericWorkbenchDialogs.c:48
SCR_TextResultWorkbenchDialog::m_sResult
string m_sResult
Definition
SCR_GenericWorkbenchDialogs.c:29
SCR_TextResultWorkbenchDialog::ButtonClose
int ButtonClose()
Definition
SCR_GenericWorkbenchDialogs.c:41
System
Definition
System.c:13
UIWidgets
Definition
attributes.c:40
Obsolete
typedef Obsolete
Definition
HelicopterAutopilotHelperComponent.c:16
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
WorkbenchGame
SCR_GenericWorkbenchDialogs.c
Generated by
1.17.0