Exemple #1
0
        public UI(UIComponentGroup headGroup)
        {
            m_menuDictionary = new HybridDictionary(4, true);
            m_menuStack = new UIMenuStack();

            UIMenu menu = new UIMenu(headGroup);

            m_menuDictionary.Add(1, menu);
        }
 public void PushTop(UIMenu menu)
 {
     m_menuStack.AddFirst(menu);
     if (m_renderAllMenus)
         m_maxNumberMenusRendered = m_menuStack.Count;
 }
 public void PushBottom(UIMenu menu)
 {
     m_menuStack.AddLast(menu);
     if (m_renderAllMenus)
         m_maxNumberMenusRendered = m_menuStack.Count;
 }