17        m_ContentScroll = ScrollWidget.Cast(layoutRoot.FindAnyWidget(
"ContentScroll"));
 
   19        m_Content = MultilineEditBoxWidget.Cast(layoutRoot.FindAnyWidget(
"Content"));
 
   20        m_OKButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"MessageText"));
 
 
   27        super.OnClick(w, 
x, 
y, button);
 
   29        if (w.GetUserID() == 
IDC_OK)
 
   32            if (consoleMenu != null)
 
 
   56        float contentSizeX, contentSizeY = 0;
 
   57        m_Content.GetSize(contentSizeX, contentSizeY);
 
 
proto native UIManager GetUIManager()
 
proto native WorkspaceWidget GetWorkspace()
 
UIScriptedMenu FindMenu(int id)
Returns menu with specific ID if it is open (see MenuID)
 
proto native CGame GetGame()