aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Scripting.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-09 09:53:00 -0500
committerMichael <[email protected]>2017-03-09 09:53:00 -0500
commit02fd7a883b4592a2200c4f3e912e56bdc09bfdbc (patch)
treee8efda7855fcdbf32b721879977be6b09202d794 /ShiftOS_TheReturn/Scripting.cs
parent8db3a2e11c6cc58adb2b62fbce1c1f63426b674c (diff)
downloadshiftos_thereturn-02fd7a883b4592a2200c4f3e912e56bdc09bfdbc.tar.gz
shiftos_thereturn-02fd7a883b4592a2200c4f3e912e56bdc09bfdbc.tar.bz2
shiftos_thereturn-02fd7a883b4592a2200c4f3e912e56bdc09bfdbc.zip
callback action can be fired when user closes infobox
Diffstat (limited to 'ShiftOS_TheReturn/Scripting.cs')
-rw-r--r--ShiftOS_TheReturn/Scripting.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS_TheReturn/Scripting.cs b/ShiftOS_TheReturn/Scripting.cs
index 940e998..b3e5208 100644
--- a/ShiftOS_TheReturn/Scripting.cs
+++ b/ShiftOS_TheReturn/Scripting.cs
@@ -357,9 +357,9 @@ end");
[Exposed("infobox")]
public class InfoboxFunctions
{
- public void show(string title, string message)
+ public void show(string title, string message, Action callback = null)
{
- Infobox.Show(title, message);
+ Infobox.Show(title, message, callback);
}
public void question(string title, string message, Action<bool> callback)