Update all icons (#1988)
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
BIN
HMCL/image/chest.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
HMCL/image/chicken.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
HMCL/image/command.webp
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
HMCL/image/craft_table.webp
Normal file
After Width: | Height: | Size: 4.2 KiB |
8
HMCL/image/discord.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 -28.5 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
|
||||
<g>
|
||||
<path d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z" fill="#5865F2" fill-rule="nonzero">
|
||||
</path>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
1
HMCL/image/fabric.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg viewBox="0 -0.5 52 56" shape-rendering="crispEdges" xmlns="http://www.w3.org/2000/svg"><path stroke="#38342a" d="M28 0h4m-4 1h4m-4 1h4m-4 1h4m-8 1h4m4 0h4M24 5h4m4 0h4M24 6h4m4 0h4M24 7h4m4 0h4M24 8h4m8 0h4M24 9h4m8 0h4m-16 1h4m8 0h4m-16 1h4m8 0h4m-20 1h4m4 0h4m8 0h4m-24 1h4m4 0h4m8 0h4m-24 1h4m4 0h4m8 0h4m-24 1h4m4 0h4m8 0h4m-28 1h4m12 0h4m8 0h4m-32 1h4m12 0h4m8 0h4m-32 1h4m12 0h4m8 0h4m-32 1h4m12 0h4m8 0h4m-36 1h4m20 0h4m4 0h8m-40 1h4m20 0h4m4 0h8m-40 1h4m20 0h4m4 0h8m-40 1h4m20 0h4m4 0h8M8 24h4m28 0h4m4 0h4M8 25h4m28 0h4m4 0h4M8 26h4m28 0h4m4 0h4M8 27h4m28 0h4m4 0h4M4 28h4m32 0h8M4 29h4m32 0h8M4 30h4m32 0h8M4 31h4m32 0h8M0 32h4m32 0h4M0 33h4m32 0h4M0 34h4m32 0h4M0 35h4m32 0h4M0 36h4m28 0h4M0 37h4m28 0h4M0 38h4m28 0h4M0 39h4m28 0h4M4 40h4m20 0h4M4 41h4m20 0h4M4 42h4m20 0h4M4 43h4m20 0h4M8 44h4m12 0h4M8 45h4m12 0h4M8 46h4m12 0h4M8 47h4m12 0h4m-16 1h4m4 0h8m-16 1h4m4 0h8m-16 1h4m4 0h8m-16 1h4m4 0h8m-12 1h8m-8 1h8m-8 1h8m-8 1h8"/><path stroke="#dbd0b4" d="M28 4h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m-12 1h4m8 0h4m-16 1h4m8 0h4m-16 1h4m8 0h4m-16 1h4m8 0h4m-16 1h8m8 0h4m-20 1h8m8 0h4m-20 1h8m8 0h4m-20 1h8m8 0h4m-28 1h8m4 0h8m-20 1h8m4 0h8m-20 1h8m4 0h8m-20 1h8m4 0h8m-24 1h16m-16 1h16m-16 1h16m-16 1h16M8 28h8m4 0h12M8 29h8m4 0h12M8 30h8m4 0h12M8 31h8m4 0h12M8 32h12m8 0h4M8 33h12m8 0h4M8 34h12m8 0h4M8 35h12m8 0h4m-20 1h12m-12 1h12m-12 1h12m-12 1h12m-8 1h8m-8 1h8m-8 1h8m-8 1h8"/><path stroke="#c6bca5" d="M28 8h4m-4 1h4m-4 1h4m-4 1h4m-12 5h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h8m-8 1h8m-8 1h8m-8 1h8m-20 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h8m-8 1h8m-8 1h8m-8 1h8"/><path stroke="#bcb29c" d="M32 12h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m-8 1h4m-4 1h4m-4 1h4m-4 1h4m-8 1h8m-8 1h8m-8 1h8m-8 1h8m-8 1h4m-4 1h4m-4 1h4m-4 1h4m-12 1h8m-8 1h8m-8 1h8m-8 1h8m-8 1h4m-4 1h4m-4 1h4m-4 1h4m-8 1h4m-4 1h4m-4 1h4m-4 1h4"/><path stroke="#807a6d" d="M44 24h4m-4 1h4m-4 1h4m-4 1h4"/><path stroke="#aea694" d="M4 32h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4"/><path stroke="#9a927e" d="M4 36h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4m0 1h4m-4 1h4m-4 1h4m-4 1h4"/></svg>
|
After Width: | Height: | Size: 2.2 KiB |
BIN
HMCL/image/forge.png
Normal file
After Width: | Height: | Size: 9.0 KiB |
BIN
HMCL/image/furnace.webp
Normal file
After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
BIN
HMCL/image/github.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
BIN
HMCL/image/grass.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
HMCL/image/kookapp.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
HMCL/image/mcmod.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
HMCL/image/quilt.png
Normal file
After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
@ -207,7 +207,7 @@ public class InstallerItem extends Control {
|
||||
pane.pseudoClassStateChanged(CARD, control.style == Style.CARD);
|
||||
|
||||
if (control.imageUrl != null) {
|
||||
ImageView view = new ImageView(new Image(control.imageUrl, 32, 32, true, true));
|
||||
ImageView view = new ImageView(new Image(control.imageUrl));
|
||||
Node node = FXUtils.limitingSize(view, 32, 32);
|
||||
node.setMouseTransparent(true);
|
||||
node.getStyleClass().add("installer-item-image");
|
||||
|
@ -286,7 +286,7 @@ public final class VersionsPage extends BorderPane implements WizardPage, Refres
|
||||
}
|
||||
|
||||
private Image getIcon(VersionIconType type) {
|
||||
return icons.computeIfAbsent(type, iconType -> new Image(iconType.getResourceUrl(), 32, 32, false, true));
|
||||
return icons.computeIfAbsent(type, iconType -> new Image(iconType.getResourceUrl()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -35,13 +35,13 @@ public class AboutPage extends StackPane {
|
||||
ComponentList about = new ComponentList();
|
||||
{
|
||||
IconedTwoLineListItem launcher = new IconedTwoLineListItem();
|
||||
launcher.setImage(new Image("/assets/img/craft_table.png", 32, 32, false, true));
|
||||
launcher.setImage(new Image("/assets/img/craft_table.png"));
|
||||
launcher.setTitle("Hello Minecraft! Launcher");
|
||||
launcher.setSubtitle(Metadata.VERSION);
|
||||
launcher.setExternalLink("https://hmcl.huangyuhui.net");
|
||||
|
||||
IconedTwoLineListItem author = new IconedTwoLineListItem();
|
||||
author.setImage(new Image("/assets/img/yellow_fish.jpg", 32, 32, false, true));
|
||||
author.setImage(new Image("/assets/img/yellow_fish.png"));
|
||||
author.setTitle("huanghongxun");
|
||||
author.setSubtitle(i18n("about.author.statement"));
|
||||
author.setExternalLink("https://space.bilibili.com/1445341");
|
||||
@ -52,54 +52,54 @@ public class AboutPage extends StackPane {
|
||||
ComponentList thanks = new ComponentList();
|
||||
{
|
||||
IconedTwoLineListItem yushijinhun = new IconedTwoLineListItem();
|
||||
yushijinhun.setImage(new Image("/assets/img/yushijinhun.jpg", 32, 32, false, true));
|
||||
yushijinhun.setImage(new Image("/assets/img/yushijinhun.png"));
|
||||
yushijinhun.setTitle("yushijinhun");
|
||||
yushijinhun.setSubtitle(i18n("about.thanks_to.yushijinhun.statement"));
|
||||
yushijinhun.setExternalLink("https://yushi.moe/");
|
||||
|
||||
IconedTwoLineListItem bangbang93 = new IconedTwoLineListItem();
|
||||
bangbang93.setImage(new Image("/assets/img/bangbang93.jpg", 32, 32, false, true));
|
||||
bangbang93.setImage(new Image("/assets/img/bangbang93.png"));
|
||||
bangbang93.setTitle("bangbang93");
|
||||
bangbang93.setSubtitle(i18n("about.thanks_to.bangbang93.statement"));
|
||||
bangbang93.setExternalLink("https://bmclapi2.bangbang93.com/");
|
||||
|
||||
IconedTwoLineListItem glavo = new IconedTwoLineListItem();
|
||||
glavo.setImage(new Image("/assets/img/glavo.jpg", 32, 32, false, true));
|
||||
glavo.setImage(new Image("/assets/img/glavo.png"));
|
||||
glavo.setTitle("Glavo");
|
||||
glavo.setSubtitle(i18n("about.thanks_to.glavo.statement"));
|
||||
glavo.setExternalLink("https://github.com/Glavo");
|
||||
|
||||
IconedTwoLineListItem gamerteam = new IconedTwoLineListItem();
|
||||
gamerteam.setTitle("gamerteam");
|
||||
gamerteam.setImage(new Image("/assets/img/gamerteam.jpg", 32, 32, false, true));
|
||||
gamerteam.setImage(new Image("/assets/img/gamerteam.png"));
|
||||
gamerteam.setSubtitle(i18n("about.thanks_to.gamerteam.statement"));
|
||||
gamerteam.setExternalLink("http://www.zhaisoul.com/");
|
||||
|
||||
IconedTwoLineListItem redLnn = new IconedTwoLineListItem();
|
||||
redLnn.setTitle("Red_lnn");
|
||||
redLnn.setImage(new Image("/assets/img/red_lnn.jpg", 32, 32, false, true));
|
||||
redLnn.setImage(new Image("/assets/img/red_lnn.png"));
|
||||
redLnn.setSubtitle(i18n("about.thanks_to.red_lnn.statement"));
|
||||
|
||||
IconedTwoLineListItem mcbbs = new IconedTwoLineListItem();
|
||||
mcbbs.setImage(new Image("/assets/img/chest.png", 32, 32, false, true));
|
||||
mcbbs.setImage(new Image("/assets/img/chest.png"));
|
||||
mcbbs.setTitle(i18n("about.thanks_to.mcbbs"));
|
||||
mcbbs.setSubtitle(i18n("about.thanks_to.mcbbs.statement"));
|
||||
mcbbs.setExternalLink("https://www.mcbbs.net/");
|
||||
|
||||
IconedTwoLineListItem mcmod = new IconedTwoLineListItem();
|
||||
mcmod.setImage(new Image("/assets/img/mcmod.png", 32, 32, false, true));
|
||||
mcmod.setImage(new Image("/assets/img/mcmod.png"));
|
||||
mcmod.setTitle(i18n("about.thanks_to.mcmod"));
|
||||
mcmod.setSubtitle(i18n("about.thanks_to.mcmod.statement"));
|
||||
mcmod.setExternalLink("https://www.mcmod.cn/");
|
||||
|
||||
IconedTwoLineListItem contributors = new IconedTwoLineListItem();
|
||||
contributors.setImage(new Image("/assets/img/github.png", 32, 32, false, true));
|
||||
contributors.setImage(new Image("/assets/img/github.png"));
|
||||
contributors.setTitle(i18n("about.thanks_to.contributors"));
|
||||
contributors.setSubtitle(i18n("about.thanks_to.contributors.statement"));
|
||||
contributors.setExternalLink("https://github.com/huanghongxun/HMCL/graphs/contributors");
|
||||
|
||||
IconedTwoLineListItem users = new IconedTwoLineListItem();
|
||||
users.setImage(new Image("/assets/img/craft_table.png", 32, 32, false, true));
|
||||
users.setImage(new Image("/assets/img/craft_table.png"));
|
||||
users.setTitle(i18n("about.thanks_to.users"));
|
||||
users.setSubtitle(i18n("about.thanks_to.users.statement"));
|
||||
users.setExternalLink("https://hmcl.huangyuhui.net/api/redirect/sponsor");
|
||||
|
@ -43,31 +43,31 @@ public class FeedbackPage extends SpinnerPane {
|
||||
ComponentList community = new ComponentList();
|
||||
{
|
||||
IconedTwoLineListItem users = new IconedTwoLineListItem();
|
||||
users.setImage(new Image("/assets/img/craft_table.png", 32, 32, false, true));
|
||||
users.setImage(new Image("/assets/img/craft_table.png"));
|
||||
users.setTitle(i18n("feedback.qq_group"));
|
||||
users.setSubtitle(i18n("feedback.qq_group.statement"));
|
||||
users.setExternalLink("https://hmcl.huangyuhui.net/api/redirect/sponsor");
|
||||
|
||||
IconedTwoLineListItem github = new IconedTwoLineListItem();
|
||||
github.setImage(new Image("/assets/img/github.png", 32, 32, false, true));
|
||||
github.setImage(new Image("/assets/img/github.png"));
|
||||
github.setTitle(i18n("feedback.github"));
|
||||
github.setSubtitle(i18n("feedback.github.statement"));
|
||||
github.setExternalLink("https://github.com/huanghongxun/HMCL/issues/new/choose");
|
||||
|
||||
IconedTwoLineListItem qq = new IconedTwoLineListItem();
|
||||
qq.setImage(new Image("/assets/img/icon@2x.png", 32, 32, false, true));
|
||||
qq.setImage(new Image("/assets/img/icon.png"));
|
||||
qq.setTitle(i18n("feedback.qq_channel"));
|
||||
qq.setSubtitle(i18n("feedback.qq_channel.statement"));
|
||||
qq.setExternalLink("https://pd.qq.com/s/qor74cm6");
|
||||
|
||||
IconedTwoLineListItem discord = new IconedTwoLineListItem();
|
||||
discord.setImage(new Image("/assets/img/discord.png", 32, 32, false, true));
|
||||
discord.setImage(new Image("/assets/img/discord.png"));
|
||||
discord.setTitle(i18n("feedback.discord"));
|
||||
discord.setSubtitle(i18n("feedback.discord.statement"));
|
||||
discord.setExternalLink("https://discord.gg/jVvC7HfM6U");
|
||||
|
||||
IconedTwoLineListItem kookapp = new IconedTwoLineListItem();
|
||||
kookapp.setImage(new Image("/assets/img/kookapp.png", 32, 32, false, true));
|
||||
kookapp.setImage(new Image("/assets/img/kookapp.png"));
|
||||
kookapp.setTitle(i18n("feedback.kookapp"));
|
||||
kookapp.setSubtitle(i18n("feedback.kookapp.statement"));
|
||||
kookapp.setExternalLink("https://kook.top/Kx7n3t");
|
||||
|
@ -104,7 +104,7 @@ public class VersionIconDialog extends DialogPane {
|
||||
}
|
||||
|
||||
private Node createIcon(VersionIconType type) {
|
||||
ImageView imageView = new ImageView(new Image(type.getResourceUrl(), 32, 32, true, true));
|
||||
ImageView imageView = new ImageView(new Image(type.getResourceUrl()));
|
||||
imageView.setMouseTransparent(true);
|
||||
RipplerContainer container = new RipplerContainer(imageView);
|
||||
FXUtils.setLimitWidth(container, 36);
|
||||
|
BIN
HMCL/src/main/resources/assets/img/bangbang93.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
HMCL/src/main/resources/assets/img/bangbang93@2x.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
HMCL/src/main/resources/assets/img/chest@2x.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
HMCL/src/main/resources/assets/img/chicken@2x.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 3.3 KiB |
BIN
HMCL/src/main/resources/assets/img/command@2x.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 3.2 KiB |
BIN
HMCL/src/main/resources/assets/img/craft_table@2x.png
Normal file
After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
HMCL/src/main/resources/assets/img/discord@2x.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 427 B |
BIN
HMCL/src/main/resources/assets/img/fabric@2x.png
Normal file
After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
HMCL/src/main/resources/assets/img/forge@2x.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
HMCL/src/main/resources/assets/img/furnace@2x.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
HMCL/src/main/resources/assets/img/gamerteam.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
HMCL/src/main/resources/assets/img/gamerteam@2x.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
HMCL/src/main/resources/assets/img/github@2x.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
HMCL/src/main/resources/assets/img/glavo.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
HMCL/src/main/resources/assets/img/glavo@2x.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.0 KiB |
BIN
HMCL/src/main/resources/assets/img/grass@2x.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
HMCL/src/main/resources/assets/img/kookapp@2x.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
HMCL/src/main/resources/assets/img/mcmod@2x.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
HMCL/src/main/resources/assets/img/quilt@2x.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
HMCL/src/main/resources/assets/img/red_lnn.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
HMCL/src/main/resources/assets/img/red_lnn@2x.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
HMCL/src/main/resources/assets/img/yellow_fish.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
HMCL/src/main/resources/assets/img/yellow_fish@2x.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
HMCL/src/main/resources/assets/img/yushijinhun.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
HMCL/src/main/resources/assets/img/yushijinhun@2x.png
Normal file
After Width: | Height: | Size: 9.9 KiB |