aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/themes
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/themes')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/themes/TextureManager.java6
-rw-r--r--src/main/java/io/polyfrost/oneconfig/themes/Theme.java2
-rw-r--r--src/main/java/io/polyfrost/oneconfig/themes/ThemeElement.java8
3 files changed, 10 insertions, 6 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/themes/TextureManager.java b/src/main/java/io/polyfrost/oneconfig/themes/TextureManager.java
index 6406e1b..f436a7b 100644
--- a/src/main/java/io/polyfrost/oneconfig/themes/TextureManager.java
+++ b/src/main/java/io/polyfrost/oneconfig/themes/TextureManager.java
@@ -54,7 +54,11 @@ public class TextureManager {
}
}
} else {
-
+ if(element.ordinal() < 29) {
+ if(img.getHeight() != 144 || img.getWidth() != 758) {
+ themeLog.warn("found badly sized button texture " + element.location);
+ }
+ }
}
}
}
diff --git a/src/main/java/io/polyfrost/oneconfig/themes/Theme.java b/src/main/java/io/polyfrost/oneconfig/themes/Theme.java
index 9e67799..4647397 100644
--- a/src/main/java/io/polyfrost/oneconfig/themes/Theme.java
+++ b/src/main/java/io/polyfrost/oneconfig/themes/Theme.java
@@ -90,7 +90,7 @@ public class Theme extends FileResourcePack {
TrueTypeFont boldFontTemp;
try {
boldFontTemp = new TrueTypeFont(Font.createFont(Font.TRUETYPE_FONT, getResource("textures/fonts/font_bold.ttf")).deriveFont(30f), true);
- normalFontTemp = new TrueTypeFont(Font.createFont(Font.TRUETYPE_FONT, getResource("textures/fonts/font.ttf")).deriveFont(12f), true);
+ normalFontTemp = new TrueTypeFont(Font.createFont(Font.TRUETYPE_FONT, getResource("textures/fonts/font.ttf")).deriveFont(18f), true);
} catch (FontFormatException e) {
Themes.themeLog.error("failed to derive fonts, is theme invalid?",e);
e.printStackTrace();
diff --git a/src/main/java/io/polyfrost/oneconfig/themes/ThemeElement.java b/src/main/java/io/polyfrost/oneconfig/themes/ThemeElement.java
index 818bfdf..30451d7 100644
--- a/src/main/java/io/polyfrost/oneconfig/themes/ThemeElement.java
+++ b/src/main/java/io/polyfrost/oneconfig/themes/ThemeElement.java
@@ -17,7 +17,7 @@ public enum ThemeElement {
HOME("textures/smallicons/home.png", 32),
MAGNIFY("textures/smallicons/magnify.png", 32),
MINIMIZE("textures/smallicons/minimize.png", 32),
- SEARCH("textures/smallicons/backarrow.png", 32),
+ SEARCH("textures/smallicons/search.png", 32),
ALL_MODS("textures/mod/allmods.png", 32),
HUD_MODS("textures/mod/hudmods.png", 32),
@@ -31,9 +31,9 @@ public enum ThemeElement {
LOGO("textures/logos/logo.png", 128),
SMALL_LOGO("textures/logos/logo_small.png", 64),
- BUTTON_OFF("textures/window/button_off.png", 512),
- BUTTON_HOVER("textures/window/button_hover.png", 512),
- BUTTON_CLICK("textures/window/button_click.png", 512),
+ BUTTON_OFF("textures/window/button_off.png", 758),
+ BUTTON_HOVER("textures/window/button_hover.png", 758),
+ BUTTON_CLICK("textures/window/button_click.png", 758),
BACKGROUND("textures/window/background.png", 1600);