Package mindustry.ui

Class Fonts

java.lang.Object
mindustry.ui.Fonts

public class Fonts extends Object
  • Field Details

    • def

      public static Font def
    • outline

      public static Font outline
    • icon

      public static Font icon
    • iconLarge

      public static Font iconLarge
    • tech

      public static Font tech
  • Constructor Details

    • Fonts

      public Fonts()
  • Method Details

    • logicIcon

      public static TextureRegion logicIcon(int id)
    • getUnicode

      public static int getUnicode(String content)
    • getUnicodeStr

      public static String getUnicodeStr(String content)
    • hasUnicodeStr

      public static boolean hasUnicodeStr(String content)
    • loadSystemCursors

      public static void loadSystemCursors()
      Called from a static context to make the cursor appear immediately upon startup.
    • cursorScale

      public static int cursorScale()
    • loadFonts

      public static void loadFonts()
    • getLargeIcon

      public static TextureRegion getLargeIcon(String name)
    • loadContentIcons

      public static void loadContentIcons()
    • loadContentIconsHeadless

      public static void loadContentIconsHeadless()
    • loadDefaultFont

      public static void loadDefaultFont()
      Called from a static context for use in the loading screen.
    • mergeFontAtlas

      public static void mergeFontAtlas(TextureAtlas atlas)
      Merges the UI and font atlas together for better performance.
    • getGlyph

      public static TextureRegionDrawable getGlyph(Font font, char glyph)