public abstract void ShowScreen(string inScreenName, bool inClearStack = false); // TODO I don't like strings... public abstract GuiPopup ShowPopup(string inPopupName, string inCaption, string inText, PopupHandler inHandler = null);
public static void ShowPopup(string name, string txt, string caption, string col, PopupHandler hnd) { if (CheckThread()) { LMS_MainThread.Instance.ShowPopup(name, txt, caption, col, hnd); } }
//----------------------------------------------------------------------------------------------------------------- new void SetHandler(PopupHandler inHandler) { base.SetHandler(inHandler); }
public static GuiPopupConfirmDialog ShowConfirmDialog(string caption, string text, PopupHandler handler = null) { if (m_Instance == null) { return(null); } if (m_Instance.CurrentMenu == null) { return(null); } return(m_Instance.CurrentMenu.ShowConfirmDialog(caption, text, handler)); }
public static void PreparePopup(LMS_GuiPopup popup, string text, string title, Color c, PopupHandler handler = null) { popup.SetText(text); popup.SetTitle(title); popup.SetPopupOutlineColor(c); popup.SetHandle(handler); }