Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GenericWorkbenchDialogs.c
Go to the documentation of this file.
1class 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")]
11class SCR_OKCancelWorkbenchDialog
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
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
49 {
50 m_sResult = result;
51 }
52}
bool ButtonCancel()
bool ButtonOK()
class WorkbenchDialog_AbortRetryIgnore ButtonAttribute("OK", true)
SCR_FieldOfViewSettings Attribute