Class Theme

java.lang.Object
com.simibubi.create.foundation.gui.Theme

public class Theme extends Object
  • Field Details

    • BASE

      public static final Theme BASE
    • colors

      protected final Map<String,com.simibubi.create.foundation.gui.Theme.ColorHolder> colors
  • Constructor Details

    • Theme

      protected Theme()
  • Method Details

    • addTheme

      public static Theme addTheme(@Nonnull Theme theme)
    • removeTheme

      public static void removeTheme(Theme theme)
    • reload

      public static void reload()
    • p

      @Nonnull public static Couple<Color> p(@Nonnull Theme.Key key)
    • p

      @Nonnull public static Couple<Color> p(String key)
    • c

      @Nonnull public static Color c(@Nonnull Theme.Key key, boolean first)
    • c

      @Nonnull public static Color c(String key, boolean first)
    • i

      public static int i(@Nonnull Theme.Key key, boolean first)
    • i

      public static int i(String key, boolean first)
    • c

      @Nonnull public static Color c(@Nonnull Theme.Key key)
    • c

      @Nonnull public static Color c(String key)
    • i

      public static int i(@Nonnull Theme.Key key)
    • i

      public static int i(String key)
    • init

      protected void init()
    • put

      protected void put(String key, Color c)
    • put

      protected void put(Theme.Key key, Color c)
    • put

      protected void put(String key, Color c1, Color c2)
    • put

      protected void put(Theme.Key key, Color c1, Color c2)
    • lookup

      protected void lookup(Theme.Key key, Theme.Key source)
    • get

      @Nullable protected com.simibubi.create.foundation.gui.Theme.ColorHolder get(String key)
    • getPriority

      public int getPriority()
    • setPriority

      public Theme setPriority(int priority)