Package mindustry.ui
Class Fonts
java.lang.Object
mindustry.ui.Fonts
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static TextureRegionDrawable
static TextureRegion
getLargeIcon
(String name) static int
getUnicode
(String content) static String
getUnicodeStr
(String content) static boolean
hasUnicodeStr
(String content) static void
static void
static void
Called from a static context for use in the loading screen.static void
static void
Called from a static context to make the cursor appear immediately upon startup.static TextureRegion
logicIcon
(int id) static void
mergeFontAtlas
(TextureAtlas atlas) Merges the UI and font atlas together for better performance.
-
Field Details
-
def
-
outline
-
icon
-
iconLarge
-
tech
-
-
Constructor Details
-
Fonts
public Fonts()
-
-
Method Details
-
logicIcon
-
getUnicode
-
getUnicodeStr
-
hasUnicodeStr
-
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
-
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
Merges the UI and font atlas together for better performance. -
getGlyph
-