diff options
Diffstat (limited to 'mod/src/main/resources')
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/gui/config/configure.gui | 26 | ||||
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/gui/config/featureitem.gui | 15 | ||||
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/gui/config/mainpage.gui | 18 | ||||
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/gui/elements/iconButton.gui | 51 | ||||
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui | 32 | ||||
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/textures/darklogo.png (renamed from mod/src/main/resources/assets/dungeonsguide/textures/unknown.png) | bin | 10672 -> 10672 bytes |
6 files changed, 118 insertions, 24 deletions
diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/config/configure.gui b/mod/src/main/resources/assets/dungeonsguide/gui/config/configure.gui new file mode 100644 index 00000000..94fb9854 --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/config/configure.gui @@ -0,0 +1,26 @@ +<!-- + ~ Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod + ~ Copyright (C) 2023 cyoung06 (syeyoung) + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU Affero General Public License as published + ~ by the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU Affero General Public License for more details. + ~ + ~ You should have received a copy of the GNU Affero General Public License + ~ along with this program. If not, see <https://www.gnu.org/licenses/>. + --> + +<bgcolor backgroundColor="#FF111111"> + <ScrollablePanel direction="VERTICAL"> + <padding top="5" left="5" bottom="5" right="5"> + <col crossAlign="STRETCH" mainAlign="START" bind:_="widgets"> + </col> + </padding> + </ScrollablePanel> +</bgcolor>
\ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/config/featureitem.gui b/mod/src/main/resources/assets/dungeonsguide/gui/config/featureitem.gui index a18bf5e1..169d8f4e 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/config/featureitem.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/config/featureitem.gui @@ -22,12 +22,15 @@ <size width="0" height="5"/> <IntrinsicHeight> <row> - <aspectRatio width="1" height="1"> - <Stencil> - <ResourceImage location="dungeonsguide:textures/dglogox128.png" width="128" height="128" textureWidth="128" textureHeight="128"/> - <RoundRect radius="10" slot="stencil"/> - </Stencil> - </aspectRatio> + <SelectiveContainer bind:visible="iconVisibility"> + <aspectRatio width="1" height="1" slot="show"> + <Stencil> + <ResourceImage bind:location="icon" width="128" height="128" textureWidth="128" textureHeight="128"/> + <RoundRect radius="10" slot="stencil"/> + </Stencil> + </aspectRatio> + <size width="0" height="0" slot="hide"/> + </SelectiveContainer> <flexible> <col mainAlign="START" crossAlign="START"> <padding left="5" right="5" top="5" bottom="5"> diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/config/mainpage.gui b/mod/src/main/resources/assets/dungeonsguide/gui/config/mainpage.gui index 966ed1f0..57b3005b 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/config/mainpage.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/config/mainpage.gui @@ -21,15 +21,15 @@ <col mainAlign="CENTER" crossAlign="CENTER"> <size height="30"/> <row mainAlign="CENTER"> - <Text text="Welcome to" color="#FF747474" size="16"/> + <Text text="Welcome to" color="#FFFFFFFF" size="16"/> <Text text=" Dungeons Guide" color="#FF74A0C6" size="16"/> - <Text text="!" color="#FF747474" size="16"/> + <Text text="?" color="#FFFFFFFF" size="16"/> </row> <size height="3"/> <row mainAlign="CENTER"> - <Text text="The most " color="#FF747474" size="8"/> + <Text text="The most " color="#FFFFFFFF" size="8"/> <Text text="intelligent" color="#FFFFFF00" size="8"/> - <Text text=" skyblock mod" color="#FF747474" size="8"/> + <Text text=" skyblock mod" color="#FFFFFFFF" size="8"/> </row> <size height="20"/> <line color="#FF747474"/> @@ -40,13 +40,19 @@ <size height="20"/> <row mainAlign="CENTER"> <size height="32" width="32"> - <ResourceImage location="dungeonsguide:textures/config/discord.png" width="128" height="128" textureWidth="128" textureHeight="128"/> + <IconButton location="dungeonsguide:textures/dglogox128.png" width="128" height="128" on:click="store"/> </size> <size width="10" height="0"/> <size height="32" width="32"> - <ResourceImage location="dungeonsguide:textures/config/github.png" width="128" height="128" textureWidth="128" textureHeight="128"/> + <IconButton location="dungeonsguide:textures/config/discord.png" width="128" height="128" on:click="discord"/> + </size> + <size width="10" height="0"/> + <size height="32" width="32"> + <IconButton location="dungeonsguide:textures/config/github.png" width="128" height="128" on:click="github"/> </size> </row> + <size height="10"/> + <Text text="Join the discord for mod support and more!" color="#FFAAAAAA" size="8"/> </col> </padding> </ScrollablePanel>
\ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/iconButton.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/iconButton.gui new file mode 100644 index 00000000..adc678be --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/iconButton.gui @@ -0,0 +1,51 @@ +<!-- + ~ Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod + ~ Copyright (C) 2023 cyoung06 (syeyoung) + ~ + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU Affero General Public License as published + ~ by the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU Affero General Public License for more details. + ~ + ~ You should have received a copy of the GNU Affero General Public License + ~ along with this program. If not, see <https://www.gnu.org/licenses/>. + --> +<wrapper disabled="false" + overlayColor="#00000000" hoveredOverlayColor="#22FFFFFF" disabledOverlayColor="#44000000" pressedOverlayColor="#44FFFFFF" + width="128" height="128"> + <AbstractButton bind:click="click" bind:disabled="disabled"> + <stack> + <Stencil> + <bgcolor bind:backgroundColor="overlayColor"/> + <ResourceImage slot="stencil" bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </Stencil> + <ResourceImage bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </stack> + <stack slot="hovered"> + <Stencil> + <bgcolor bind:backgroundColor="hoveredOverlayColor"/> + <ResourceImage slot="stencil" bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </Stencil> + <ResourceImage bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </stack> + <stack slot="disabled"> + <Stencil> + <bgcolor bind:backgroundColor="disabledOverlayColor"/> + <ResourceImage slot="stencil" bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </Stencil> + <ResourceImage bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </stack> + <stack slot="pressed"> + <Stencil> + <bgcolor bind:backgroundColor="pressedOverlayColor"/> + <ResourceImage slot="stencil" bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </Stencil> + <ResourceImage bind:location="location" bind:width="width" bind:height="height" bind:textureWidth="width" bind:textureHeight="height"/> + </stack> + </AbstractButton> +</wrapper>
\ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui index dba52108..e4df5cf6 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui @@ -27,16 +27,20 @@ <Text text="on" align="LEFT" color="#FFFFFFFF"/> </align> </flexible> - <aspectRatio width="1" height="1" fit="TIGHT"> - <CircularRect backgroundColor="#FF00FF00" /> - </aspectRatio> + <padding left="1" right="1" top="1" bottom="1"> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FF00FF00" /> + </aspectRatio> + </padding> </row> </CircularRect> <CircularRect slot="off" backgroundColor="#FF333333"> <row> - <aspectRatio width="1" height="1" fit="TIGHT"> - <CircularRect backgroundColor="#FFFF0000" /> - </aspectRatio> + <padding left="1" right="1" top="1" bottom="1"> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FFFF0000" /> + </aspectRatio> + </padding> <flexible> <align vAlign="CENTER" hAlign="END"> <Text text="off" align="RIGHT" color="#FFFFFFFF"/> @@ -53,16 +57,20 @@ <Text text="on" align="LEFT" color="#FFFFFFFF"/> </align> </flexible> - <aspectRatio width="1" height="1" fit="TIGHT"> - <CircularRect backgroundColor="#FF00FF00" /> - </aspectRatio> + <padding left="1" right="1" top="1" bottom="1"> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FF00FF00" /> + </aspectRatio> + </padding> </row> </CircularRect> <CircularRect slot="hoverOff" backgroundColor="#FF555555"> <row> - <aspectRatio width="1" height="1" fit="TIGHT"> - <CircularRect backgroundColor="#FFFF0000" /> - </aspectRatio> + <padding left="1" right="1" top="1" bottom="1"> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FFFF0000" /> + </aspectRatio> + </padding> <flexible> <align vAlign="CENTER" hAlign="END"> <Text text="off" align="RIGHT" color="#FFFFFFFF"/> diff --git a/mod/src/main/resources/assets/dungeonsguide/textures/unknown.png b/mod/src/main/resources/assets/dungeonsguide/textures/darklogo.png Binary files differindex b3db401d..b3db401d 100644 --- a/mod/src/main/resources/assets/dungeonsguide/textures/unknown.png +++ b/mod/src/main/resources/assets/dungeonsguide/textures/darklogo.png |