Package dev.boze.api.gui
package dev.boze.api.gui
Boze's GUI: the module GUI, the HUD editor and every popup, drawn by a theme.
To make a theme, implement
Views draw through a
To make a theme, implement
GuiTheme and register it with
GuiThemes.register(GuiTheme) from your addon's initialize. A theme creates a
GuiView for the module GUI and one for the HUD editor, and a
WidgetKit that styles every popup it does not draw itself.
Views draw through a
GuiPainter, read modules and settings from
the GuiModel and open popups (dev.boze.api.gui.editor)
through the session's editor stack. Addons that only want a popup use
GuiEditors and Guis.openEditor(GuiEditor).