Interface GuiTheme


@Experimental public interface GuiTheme
Read-only theme colors the widget kit paints with, as ARGB ints. The client installs its implementation (backed by the ClickGUI theme) at startup; the built-in default returns sensible fallback colors so widgets render in an un-bootstrapped environment.
  • Method Details

    • accent

      int accent()
      Accent / active-highlight color.
    • panelBackground

      int panelBackground()
      Panel / card surface background.
    • spotlightBackground

      int spotlightBackground()
      Spotlight dim-layer base color.
    • textPrimary

      int textPrimary()
    • textSecondary

      int textSecondary()
    • textTertiary

      int textTertiary()
    • get

      static GuiTheme get()
      The installed implementation (fallback defaults until install(me.hackware.api.gui.GuiTheme)).
    • install

      static void install(GuiTheme theme)
      Installed once by the client at startup.