示例#1
0
 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);
示例#2
0
 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);
 }
示例#4
0
    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));
    }
示例#5
0
 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);
 }