diff options
author | syeyoung <cyoung06@naver.com> | 2023-02-02 23:27:51 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-02-02 23:27:51 +0900 |
commit | 1c4eace48270b2c5ce1a7a8a9eb05fb32d900399 (patch) | |
tree | d5825bcf2f6aa46c1dd26d9b271dc459660c50ec /mod/src/main/resources/assets/dungeonsguide/gui/elements | |
parent | 7e84e31619be4b7e545168b648bd18db54e158e7 (diff) | |
download | Skyblock-Dungeons-Guide-1c4eace48270b2c5ce1a7a8a9eb05fb32d900399.tar.gz Skyblock-Dungeons-Guide-1c4eace48270b2c5ce1a7a8a9eb05fb32d900399.tar.bz2 Skyblock-Dungeons-Guide-1c4eace48270b2c5ce1a7a8a9eb05fb32d900399.zip |
how many times do I have to revamp config
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/resources/assets/dungeonsguide/gui/elements')
5 files changed, 139 insertions, 4 deletions
diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/dgButton.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/dgButton.gui new file mode 100644 index 00000000..c4c52b66 --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/dgButton.gui @@ -0,0 +1,52 @@ +<!-- + ~ 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" hPadding="0" vPadding="0" + backgroundColor="#FF1E387A" hoveredBackgroundColor="#FF356091" disabledBackgroundColor="#FF2E2D2C" pressedBackgroundColor="#FF50799E" + textColor="#FFFFFFFF" hoveredTextColor="#FFFFFFFF" disabledTextColor="#FF484848" pressedTextColor="#FFFFFFFF" + radius="4"> + <AbstractButton bind:click="click" bind:disabled="disabled"> + <RoundRect bind:backgroundColor="backgroundColor" bind:radius="radius"> + <align vAlign="CENTER" hAlign="CENTER"> + <padding bind:left="hPadding" bind:right="hPadding" bind:top="vPadding" bind:bottom="vPadding"> + <Text bind:text="text" bind:color="textColor" align="CENTER"/> + </padding> + </align> + </RoundRect> + <RoundRect slot="hovered" bind:backgroundColor="hoveredBackgroundColor" bind:radius="radius"> + <align vAlign="CENTER" hAlign="CENTER"> + <padding bind:left="hPadding" bind:right="hPadding" bind:top="vPadding" bind:bottom="vPadding"> + <Text bind:text="text" bind:color="hoveredTextColor" align="CENTER"/> + </padding> + </align> + </RoundRect> + <RoundRect slot="disabled" bind:backgroundColor="disabledBackgroundColor" bind:radius="radius"> + <align vAlign="CENTER" hAlign="CENTER"> + <padding bind:left="hPadding" bind:right="hPadding" bind:top="vPadding" bind:bottom="vPadding"> + <Text bind:text="text" bind:color="disabledTextColor" align="CENTER"/> + </padding> + </align> + </RoundRect> + <RoundRect slot="pressed" bind:backgroundColor="pressedBackgroundColor" bind:radius="radius"> + <align vAlign="CENTER" hAlign="CENTER"> + <padding bind:left="hPadding" bind:right="hPadding" bind:top="vPadding" bind:bottom="vPadding"> + <Text bind:text="text" bind:color="pressedTextColor" align="CENTER"/> + </padding> + </align> + </RoundRect> + </AbstractButton> +</wrapper>
\ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleHorizontalScrollBar.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleHorizontalScrollBar.gui index 010cfa6e..3a900a21 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleHorizontalScrollBar.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleHorizontalScrollBar.gui @@ -24,12 +24,12 @@ <bgcolor slot="track" bind:backgroundColor="backgroundColor"/> <align slot="thumb"> <size height="4"> - <ColorButton + <RoundButton bind:backgroundColor="thumbColor" textColor="#FFFFFFFF" bind:hoveredBackgroundColor="thumbHoverColor" hoveredTextColor="#FFFFFFFF" disabledBackgroundColor="#00000000" disabledTextColor="#FFFFFFFF" bind:pressedBackgroundColor="thumbActiveColor" pressedTextColor="#FFFFFFFF" - text="" + text="" radius="2" /> </size> </align> diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui new file mode 100644 index 00000000..dba52108 --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleToggleButton.gui @@ -0,0 +1,77 @@ +<!-- + ~ 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> + <CircularRect backgroundColor="#FF151515"> + <padding left="1" top="1" right="1" bottom="1"> + <AbstractToggleButton bind:enabled="enabled"> + <CircularRect slot="on" backgroundColor="#FF333333"> + <row> + <aspectRatio width="1" height="2" fit="TIGHT"><size/></aspectRatio> + <flexible> + <align vAlign="CENTER" hAlign="START"> + <Text text="on" align="LEFT" color="#FFFFFFFF"/> + </align> + </flexible> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FF00FF00" /> + </aspectRatio> + </row> + </CircularRect> + <CircularRect slot="off" backgroundColor="#FF333333"> + <row> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FFFF0000" /> + </aspectRatio> + <flexible> + <align vAlign="CENTER" hAlign="END"> + <Text text="off" align="RIGHT" color="#FFFFFFFF"/> + </align> + </flexible> + <aspectRatio width="1" height="2" fit="TIGHT"><size/></aspectRatio> + </row> + </CircularRect> + <CircularRect slot="hoverOn" backgroundColor="#FF555555"> + <row> + <aspectRatio width="1" height="2" fit="TIGHT"><size/></aspectRatio> + <flexible> + <align vAlign="CENTER" hAlign="START"> + <Text text="on" align="LEFT" color="#FFFFFFFF"/> + </align> + </flexible> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FF00FF00" /> + </aspectRatio> + </row> + </CircularRect> + <CircularRect slot="hoverOff" backgroundColor="#FF555555"> + <row> + <aspectRatio width="1" height="1" fit="TIGHT"> + <CircularRect backgroundColor="#FFFF0000" /> + </aspectRatio> + <flexible> + <align vAlign="CENTER" hAlign="END"> + <Text text="off" align="RIGHT" color="#FFFFFFFF"/> + </align> + </flexible> + <aspectRatio width="1" height="2" fit="TIGHT"><size/></aspectRatio> + </row> + </CircularRect> + </AbstractToggleButton> + </padding> + </CircularRect> +</wrapper>
\ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleVerticalScrollBar.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleVerticalScrollBar.gui index 9242a05c..a20533c6 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleVerticalScrollBar.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleVerticalScrollBar.gui @@ -24,12 +24,12 @@ <bgcolor slot="track" bind:backgroundColor="backgroundColor"/> <align slot="thumb"> <size width="4"> - <ColorButton + <RoundButton bind:backgroundColor="thumbColor" textColor="#FFFFFFFF" bind:hoveredBackgroundColor="thumbHoverColor" hoveredTextColor="#FFFFFFFF" disabledBackgroundColor="#00000000" disabledTextColor="#FFFFFFFF" bind:pressedBackgroundColor="thumbActiveColor" pressedTextColor="#FFFFFFFF" - text="" + text="" radius="2" /> </size> </align> diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/toggleButton.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/toggleButton.gui new file mode 100644 index 00000000..551c6baa --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/toggleButton.gui @@ -0,0 +1,6 @@ +<multi> + <slot bind:child="wgtOn" bind:ref="refOn"/> + <slot bind:child="wgtOff" bind:ref="refOff"/> + <slot bind:child="wgtHoverOn" bind:ref="refHoverOn"/> + <slot bind:child="wgtHoverOff" bind:ref="refHoverOff"/> +</multi>
\ No newline at end of file |