Esempio n. 1
0
 public static void Select(string message = "", string title = "Hey! Listen!", singleConfirmDelegate action = null, ObservableCollection<object> list = null)
 {
     makePopup(OrbIt.ui, new opt[] { new opt(OptType.info, message), new opt(OptType.dropDown, list) }, title, delegate(bool c, object[] a) { return action(c, a[1]); });
 }
Esempio n. 2
0
 public static void Text(string message = "", string title = "Hey! Listen!", singleConfirmDelegate action = null, string content = "")
 {
     makePopup(OrbIt.ui, new opt[] { new opt(OptType.info, message), new opt(OptType.textBox, content) }, title, delegate(bool c, object[] a) { return action(c, a[1]); });
 }
Esempio n. 3
0
 public static void Prompt(string message = "", string title = "Hey! Listen!", singleConfirmDelegate action = null)
 {
     makePopup(OrbIt.ui, new opt[] { new opt(OptType.prompt, message) }, title, delegate(bool c, object[] a) { return action(c, a[0]); });
 }