739 {
741
742 if (!tab)
743 {
744
748 {
749 if (entry.m_ID == tabId)
750 {
751 foundEntry = entry;
752 break;
753 }
754 }
755
756 if (foundEntry)
757 {
758
760 Widget panel = layoutRoot.FindAnyWidget(foundEntry.m_PanelWidgetName);
761 if (panel && elementButton)
762 {
763
766
767
769 }
770 }
771 }
772
773 if (tab)
774 {
776
778 {
780
781 if (elementID == tabId)
782 {
783 element.Select();
784 }
785 else
786 {
787 element.Deselect();
788 }
789 }
790 }
791 }
EInputDeviceType m_CurrentInputDevice
ButtonWidget GetContextElementButton(int tabID)
ref map< int, ref ScriptConsoleTabBase > m_TabHandlersByID
ref map< int, ref ScriptConsoleMenuElement > m_ContextMenuElements
void ScriptConsoleTabRegistryEntry(int id, string displayName, string panelWidgetName, typename tabClass)
void RegisterTab(int id, ScriptConsoleTabBase handler)
void SelectTab(ScriptConsoleTabBase selectedHandler)
void InitializeTab(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
static array< ref ScriptConsoleTabRegistryEntry > GetAll()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.