diff options
| author | Michael <[email protected]> | 2017-02-02 13:51:29 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-02 13:51:29 -0500 |
| commit | 3a41ba45e7ac0df930066a79540f82544dbd8114 (patch) | |
| tree | 341d707da673b0db997b5b4f93a4a3e42d047259 /ShiftOS_TheReturn/Infobox.cs | |
| parent | e55e195d88ba4a3bfea47cb8784564a43f426e48 (diff) | |
| download | shiftos_thereturn-3a41ba45e7ac0df930066a79540f82544dbd8114.tar.gz shiftos_thereturn-3a41ba45e7ac0df930066a79540f82544dbd8114.tar.bz2 shiftos_thereturn-3a41ba45e7ac0df930066a79540f82544dbd8114.zip | |
Redesign the Infobox, categorize AL items
Diffstat (limited to 'ShiftOS_TheReturn/Infobox.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Infobox.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Infobox.cs b/ShiftOS_TheReturn/Infobox.cs index dfc72c2..8854b88 100644 --- a/ShiftOS_TheReturn/Infobox.cs +++ b/ShiftOS_TheReturn/Infobox.cs @@ -65,6 +65,11 @@ namespace ShiftOS.Engine _infobox.PromptText(title, message, callback); } + public static void PromptYesNo(string title, string message, Action<bool> callback) + { + _infobox.PromptYesNo(title, message, callback); + } + /// <summary> /// Inits an infobox /// </summary> @@ -80,5 +85,6 @@ namespace ShiftOS.Engine { void Open(string title, string msg); void PromptText(string title, string message, Action<string> callback); + void PromptYesNo(string title, string message, Action<bool> callback); } } |
