예제 #1
0
 /// <summary>
 /// Goes to the given page in the tab menu's stack.
 /// Closes any other pages above it in the stack.
 /// The given page must already be in the stack.
 /// </summary>
 /// <param name="uiPage">The page to open</param>
 public void GoBackToMenu(UIPage uiPage) => UiManager.GoBackToMenu(this.uiPage, uiPage);
예제 #2
0
 /// <summary>
 /// Removes the given sub menu from the tab menu's stack.
 /// </summary>
 /// <param name="uiPage">The page to remove</param>
 /// <returns>The page that was removed</returns>
 public UIPage RemovePageFromStack(UIPage uiPage) => UiManager.RemovePageFromStack(this.uiPage, uiPage);
예제 #3
0
 /// <summary>
 /// Returns the most recently open menu of the tab menu.
 /// </summary>
 /// <returns>The most recently open menu of the tab menu</returns>
 public UIPage CurrentPage() => UiManager.CurrentPage(uiPage);
예제 #4
0
 /// <summary>
 /// Closes the most recently open sub menu of the tab menu.
 /// </summary>
 public void PopSubMenu() => UiManager.PopSubMenu(uiPage);
예제 #5
0
 /// <summary>
 /// Closes all sub menus of the tab menu.
 /// </summary>
 public void CloseAllSubMenus() => UiManager.CloseAllSubMenus(uiPage);
예제 #6
0
 /// <summary>
 /// Opens a the specified menu as a sub menu of the tab menu.
 /// </summary>
 /// <param name="uiPage">The page to open</param>
 public void OpenSubMenu(UIPage uiPage) => UiManager.OpenSubMenu(this.uiPage, uiPage);