mirror of
https://github.com/turboderp-org/exui.git
synced 2026-07-14 19:17:18 +00:00
24 lines
821 B
JavaScript
24 lines
821 B
JavaScript
import * as util from "./util.js";
|
|
import * as mainmenu from "./mainmenu.js";
|
|
import * as models from "./models.js";
|
|
import * as chat from "./chat.js";
|
|
import * as settings from "./settings.js";
|
|
import * as notepad from "./notepad.js";
|
|
|
|
var settingsPopup = new settings.SettingsPopup();
|
|
|
|
var mainMenu = new mainmenu.MainMenu();
|
|
mainMenu.add("models", new mainmenu.MainTab("/static/gfx/icon_model.png", "Models", new models.Models()));
|
|
mainMenu.add("chat", new mainmenu.MainTab("/static/gfx/icon_chat.png", "Chat", new chat.Chat()));
|
|
mainMenu.add("notepad", new mainmenu.MainTab("/static/gfx/icon_notepad.png", "Notepad", new notepad.Notepad()));
|
|
mainMenu.addExtra("settings", new mainmenu.MainTab("/static/gfx/icon_settings.png", "Settings", null, () => { settingsPopup.toggle(); }));
|
|
mainMenu.setPage("models");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|