Mod menu V1 (#4962)
* Proof of Concept * Fixed saving/loading * Switch sides & add arrow buttons * Update mod_menu.cpp * Remove old mod loading code * Small cleanup * Post-merge fixes * Update mod_menu.cpp * Lots of changes * clang format * Address review * Update SohMenuEnhancements.cpp
This commit is contained in:
@@ -1900,6 +1900,15 @@ void SohMenu::AddMenuEnhancements() {
|
||||
.CVar(timer.timeEnable)
|
||||
.Callback([](WidgetInfo& info) { TimeDisplayUpdateDisplayOptions(); });
|
||||
}
|
||||
|
||||
// Mod Menu
|
||||
path.sidebarName = "Mod Menu";
|
||||
AddSidebarEntry("Enhancements", path.sidebarName, 1);
|
||||
AddWidget(path, "Popout Mod Menu Window", WIDGET_WINDOW_BUTTON)
|
||||
.CVar(CVAR_WINDOW("ModMenu"))
|
||||
.WindowName("Mod Menu")
|
||||
.HideInSearch(true)
|
||||
.Options(WindowButtonOptions().Tooltip("Enables the separate Mod Menu Window."));
|
||||
}
|
||||
|
||||
} // namespace SohGui
|
||||
|
||||
Reference in New Issue
Block a user