Class OverlayIcons

java.lang.Object
privbot.ui.overlay.OverlayIcons

public final class OverlayIcons extends Object
The full-colour icon set offered for Builder flow overlays (ids such as skill:mining or tile:combat). Resources live in privbot/ui/overlay/icons/; index.txt lists the ids in picker order. Build a style with image(java.lang.String, int); never call it from a render path.
  • Method Details

    • ids

      public static List<String> ids()
      Every skill: id alphabetically, then every tile: id alphabetically.
    • exists

      public static boolean exists(String id)
      True when id is in the bundled icon index.
    • image

      public static BufferedImage image(String id, int px)
      ARGB image scaled to px x px, cached per (id, px); null for an unknown id (logged once).
    • warm

      public static void warm()
      Decodes every indexed icon. Call off the render thread; the scaled copies are made per style.