From 5873603821b6d87b28faf5a35fd0f520f7c08f54 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Mon, 25 Apr 2022 20:15:51 -0700 Subject: [PATCH] move banner stuff into its own folder --- banner_data/banners.txt | 34 ++++++++++++++++++++ resources/banner_creator/banner_creator.html | 16 +++++++++ resources/banner_creator/js/banner_data.js | 0 resources/banner_creator/style/banner.css | 8 +++++ resources/icons/wrench.svg | 12 +++++++ resources/index.html | 3 ++ resources/js/helpers.js | 9 ++++++ 7 files changed, 82 insertions(+) create mode 100644 banner_data/banners.txt create mode 100644 resources/banner_creator/banner_creator.html create mode 100644 resources/banner_creator/js/banner_data.js create mode 100644 resources/banner_creator/style/banner.css create mode 100644 resources/icons/wrench.svg diff --git a/banner_data/banners.txt b/banner_data/banners.txt new file mode 100644 index 0000000..1556a2c --- /dev/null +++ b/banner_data/banners.txt @@ -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 \ No newline at end of file diff --git a/resources/banner_creator/banner_creator.html b/resources/banner_creator/banner_creator.html new file mode 100644 index 0000000..a7ed832 --- /dev/null +++ b/resources/banner_creator/banner_creator.html @@ -0,0 +1,16 @@ + + + + + + + + +
+ Select a banner to use as a base (or select no banner to start from scratch) + +
+ + diff --git a/resources/banner_creator/js/banner_data.js b/resources/banner_creator/js/banner_data.js new file mode 100644 index 0000000..e69de29 diff --git a/resources/banner_creator/style/banner.css b/resources/banner_creator/style/banner.css new file mode 100644 index 0000000..d20798f --- /dev/null +++ b/resources/banner_creator/style/banner.css @@ -0,0 +1,8 @@ +html { user-select: none; } + +body { + overflow: hidden; + height: 95vh; + margin: 0; + font-family: Arial, Helvetica, sans-serif; +} \ No newline at end of file diff --git a/resources/icons/wrench.svg b/resources/icons/wrench.svg new file mode 100644 index 0000000..ab54834 --- /dev/null +++ b/resources/icons/wrench.svg @@ -0,0 +1,12 @@ + +Created with Fabric.js 1.7.22 + + + + + + + + + + \ No newline at end of file diff --git a/resources/index.html b/resources/index.html index 708db52..7459d1d 100644 --- a/resources/index.html +++ b/resources/index.html @@ -94,6 +94,9 @@ GrassClipper 0.4.5 +
+ +
diff --git a/resources/js/helpers.js b/resources/js/helpers.js index 7d53e14..a654bb9 100644 --- a/resources/js/helpers.js +++ b/resources/js/helpers.js @@ -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 */