mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-25 09:27:43 +00:00
move banner stuff into its own folder
This commit is contained in:
parent
64626230cf
commit
5873603821
34
banner_data/banners.txt
Normal file
34
banner_data/banners.txt
Normal file
@ -0,0 +1,34 @@
|
||||
Klee A018 1029 1025 1043 1034
|
||||
Venti A019 1022 1023 1031 1014
|
||||
Tartaglia A023 1033 1027 1024 1039
|
||||
Zhongli A024 1030 1020 1044 1036
|
||||
Albedo A025 1038 1032 1043 1031
|
||||
Ganyu A026 1037 1023 1025 1034
|
||||
Xiao A031 1026 1039 1024 1044
|
||||
Keqing A032 1042 1032 1027 1014
|
||||
Hutao A033 1046 1023 1036 1025
|
||||
Venti1 A036 1022 1020 1043 1034
|
||||
Tartaglia1 A037 1033 1014 1031 1045
|
||||
Zhongli1 A040 1030 1048 1014 1039
|
||||
Eula A041 1051 1044 1024 1025
|
||||
Klee1 A044 1029 1014 1031 1043
|
||||
Kazuha A045 1047 1032 1020 1045
|
||||
Ayaka A048 1002 1048 1027 1036
|
||||
Yoimiya A049 1049 1044 1053 1039
|
||||
Raiden A052 1052 1023 1043 1056
|
||||
Kokomi A053 1054 1025 1024 1045
|
||||
Tartaglia2 A056 1033 1048 1027 1036
|
||||
Hutao1 A057 1046 1039 1053 1050
|
||||
Albedo1 A060 1038 1032 1034 1045
|
||||
Eula1 A062 1051 1032 1034 1045
|
||||
Itto A061 1057 1023 1055 1014
|
||||
Shenhe A065 1063 1036 1027 1064
|
||||
Xiao1 A066 1026 1036 1027 1064
|
||||
Zhongli2 A068 1030 1048 1024 1025
|
||||
Ganyu1 A069 1037 1048 1024 1025
|
||||
Miko A071 1058 1039 1031 1050
|
||||
Raiden1 A073 1052 1032 1044 1056
|
||||
Kokomi1 A074 1054 1032 1044 1056
|
||||
Ayato A076 1066 1043 1023 1064
|
||||
Venti2 A077 1022 1043 1023 1064
|
||||
Ayaka1 A079 1002 1020 1045 1053
|
16
resources/banner_creator/banner_creator.html
Normal file
16
resources/banner_creator/banner_creator.html
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="style/banner.css" />
|
||||
<script src="js/neutralino.js"></script>
|
||||
<script src="js/banner_data.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="base">
|
||||
<span>Select a banner to use as a base (or select no banner to start from scratch)</span>
|
||||
<select id="bannerDefaultSelect">
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
0
resources/banner_creator/js/banner_data.js
Normal file
0
resources/banner_creator/js/banner_data.js
Normal file
8
resources/banner_creator/style/banner.css
Normal file
8
resources/banner_creator/style/banner.css
Normal file
@ -0,0 +1,8 @@
|
||||
html { user-select: none; }
|
||||
|
||||
body {
|
||||
overflow: hidden;
|
||||
height: 95vh;
|
||||
margin: 0;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
12
resources/icons/wrench.svg
Normal file
12
resources/icons/wrench.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="256" height="256" viewBox="0 0 256 256" xml:space="preserve">
|
||||
<desc>Created with Fabric.js 1.7.22</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g transform="translate(128 128) scale(0.72 0.72)" style="">
|
||||
<g style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;" transform="translate(-175.05 -175.05) scale(3.89 3.89)" >
|
||||
<path d="M 89.161 11.093 c -0.109 -0.329 -0.381 -0.578 -0.719 -0.658 c -0.334 -0.078 -0.692 0.02 -0.937 0.266 l -7.189 7.189 c -1.096 1.096 -2.553 1.7 -4.104 1.7 c -1.55 0 -3.007 -0.603 -4.104 -1.699 c -2.262 -2.263 -2.262 -5.944 0 -8.207 l 7.189 -7.189 c 0.245 -0.245 0.346 -0.6 0.266 -0.937 c -0.079 -0.337 -0.329 -0.609 -0.658 -0.719 c -5.863 -1.945 -12.216 -0.449 -16.57 3.906 c -4.463 4.462 -5.916 11.049 -3.792 16.948 L 21.693 58.544 c -5.897 -2.124 -12.485 -0.67 -16.948 3.792 C 0.39 66.691 -1.107 73.04 0.838 78.906 c 0.109 0.329 0.381 0.579 0.719 0.658 c 0.335 0.081 0.692 -0.021 0.937 -0.266 l 7.189 -7.189 c 2.261 -2.263 5.943 -2.263 8.207 0 c 1.096 1.096 1.699 2.553 1.699 4.104 s -0.603 3.007 -1.7 4.104 l -7.189 7.189 c -0.245 0.245 -0.346 0.599 -0.266 0.937 c 0.08 0.338 0.329 0.609 0.658 0.719 c 1.7 0.563 3.44 0.839 5.16 0.839 c 4.218 0 8.317 -1.652 11.41 -4.745 c 4.463 -4.463 5.917 -11.049 3.793 -16.948 l 36.851 -36.851 c 5.9 2.123 12.485 0.671 16.948 -3.793 C 89.611 23.309 91.107 16.959 89.161 11.093 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
||||
<path d="M 72.088 57.275 c -0.177 -0.177 -0.413 -0.28 -0.662 -0.292 c -3.462 -0.155 -7.078 -1.876 -9.923 -4.721 c -1.742 -1.743 -3.065 -3.782 -3.863 -5.897 L 46.517 57.488 c 2.115 0.799 4.154 2.121 5.897 3.863 c 2.845 2.846 4.565 6.462 4.721 9.923 c 0.012 0.249 0.115 0.485 0.292 0.662 l 14.876 14.876 c 2.021 2.021 4.676 3.031 7.33 3.031 c 2.655 0 5.311 -1.01 7.331 -3.031 c 4.041 -4.042 4.041 -10.619 0 -14.661 L 72.088 57.275 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
||||
<path d="M 5.351 14.171 c 0.123 0.219 0.324 0.384 0.563 0.462 l 5.82 1.89 l 23.869 23.869 l 4.638 -4.638 L 16.372 11.885 l -1.891 -5.82 c -0.078 -0.239 -0.243 -0.44 -0.462 -0.563 L 4.714 0.279 c -0.391 -0.219 -0.88 -0.151 -1.196 0.165 L 0.293 3.668 c -0.317 0.317 -0.384 0.806 -0.165 1.196 L 5.351 14.171 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
@ -94,6 +94,9 @@
|
||||
GrassClipper
|
||||
<span id="version">0.4.5</span>
|
||||
</span>
|
||||
<div id="toolsBtn" onclick="launchBannerCreator()">
|
||||
<img src="icons/wrench.svg" />
|
||||
</div>
|
||||
<div id="settingsBtn" onclick="openSettings()">
|
||||
<img src="icons/cog.svg" />
|
||||
</div>
|
||||
|
@ -73,6 +73,15 @@ async function proxyIsInstalled() {
|
||||
return gameExec.entry
|
||||
}
|
||||
|
||||
async function launchBannerCreator() {
|
||||
Neutralino.window.create('/banner_creator/banner_creator.html', {
|
||||
title: 'Banner Creator',
|
||||
borderless: false,
|
||||
width: 600,
|
||||
height: 800
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Minimize the window
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user