Skip to content

Commit

Permalink
Add check icon(already exists in the .png)
Browse files Browse the repository at this point in the history
  • Loading branch information
KatatsumuriPan committed Mar 6, 2024
1 parent c3f3e2e commit 459f282
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ public enum PresetIcon {
ICON_MENU("icon_menu"),

ICON_PATREON("icon_patreon"),
ICON_TWITCH("icon_twitch");
ICON_TWITCH("icon_twitch"),
ICON_CHECK("icon_check");

public static final ResourceLocation TX_ICONS = new ResourceLocation(ModReference.MODID, "textures/gui/editor_icons.png");

Expand Down Expand Up @@ -197,5 +198,6 @@ public static void registerIcons(IThemeRegistry reg) {

reg.setDefaultTexture(ICON_PATREON.key, new SimpleTexture(TX_ICONS, new GuiRectangle(144, 80, 16, 16)).maintainAspect(true));
reg.setDefaultTexture(ICON_TWITCH.key, new SimpleTexture(TX_ICONS, new GuiRectangle(160, 80, 16, 16)).maintainAspect(true));
reg.setDefaultTexture(ICON_CHECK.key, new SimpleTexture(TX_ICONS, new GuiRectangle(0, 48, 16, 16)).maintainAspect(true));
}
}

0 comments on commit 459f282

Please sign in to comment.