aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/Infobox.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Infobox.cs b/ShiftOS_TheReturn/Infobox.cs
index 4e7a87b..dfc72c2 100644
--- a/ShiftOS_TheReturn/Infobox.cs
+++ b/ShiftOS_TheReturn/Infobox.cs
@@ -60,6 +60,11 @@ namespace ShiftOS.Engine
_infobox.Open(title, message);
}
+ public static void PromptText(string title, string message, Action<string> callback)
+ {
+ _infobox.PromptText(title, message, callback);
+ }
+
/// <summary>
/// Inits an infobox
/// </summary>
@@ -74,5 +79,6 @@ namespace ShiftOS.Engine
public interface IInfobox
{
void Open(string title, string msg);
+ void PromptText(string title, string message, Action<string> callback);
}
}