using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; namespace QSB.Menus { public interface IMenuAPI { // Title screen GameObject TitleScreen_MakeMenuOpenButton(string name, Menu menuToOpen); GameObject TitleScreen_MakeSceneLoadButton(string name, SubmitActionLoadScene.LoadableScenes sceneToLoad, PopupMenu confirmPopup = null); Button TitleScreen_MakeSimpleButton(string name); // Pause menu GameObject PauseMenu_MakeMenuOpenButton(string name, Menu menuToOpen, Menu customMenu = null); GameObject PauseMenu_MakeSceneLoadButton(string name, SubmitActionLoadScene.LoadableScenes sceneToLoad, PopupMenu confirmPopup = null, Menu customMenu = null); Button PauseMenu_MakeSimpleButton(string name, Menu customMenu = null); Menu PauseMenu_MakePauseListMenu(string title); // Options Menu OptionsMenu_MakeNonScrollingOptionsTab(string name); GameObject OptionsMenu_MakeTwoButtonToggle(string label, string trueText, string falseText, string tooltipText, bool savedValue, Menu menuTab); GameObject OptionsMenu_MakeNonDisplaySliderElement(string label, string tooltipText, float savedValue, Menu menuTab); void OptionsMenu_MakeSpacer(float minHeight, Menu menuTab); void OptionsMenu_MakeLabel(string label, Menu menuTab); void OptionsMenu_MakeTextInput(string label, string placeholderText, string savedValue, Menu menuTab); // Misc PopupMenu MakeTwoChoicePopup(string message, string confirmText, string cancelText); PopupInputMenu MakeInputFieldPopup(string message, string placeholderMessage, string confirmText, string cancelText); } }