From eac86380ed0db7be002e55d850ca7fea4b698c4d Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 18 Jan 2023 17:08:17 +0900 Subject: - upgrade mechanic browser to use guiv2 - also add #134 Signed-off-by: syeyoung --- .../dungeonsguide/gui/elements/locationedPopup.gui | 20 ++++++++ .../assets/dungeonsguide/gui/elements/popupmgr.gui | 2 +- .../dungeonsguide/gui/elements/scrollablePanel.gui | 2 +- .../dungeonsguide/gui/elements/simpleButton.gui | 26 ++++++---- .../assets/dungeonsguide/gui/elements/size.gui | 2 +- .../gui/features/mechanicBrowser/browser.gui | 55 ++++++++++++++++++++++ .../gui/features/mechanicBrowser/category.gui | 20 +++++--- .../gui/features/mechanicBrowser/secret.gui | 25 ++++++++++ .../gui/features/mechanicBrowser/state.gui | 25 ++++++++++ .../gui/features/mechanicBrowser/tooltip.gui | 34 +++++++++++++ 10 files changed, 193 insertions(+), 18 deletions(-) create mode 100644 mod/src/main/resources/assets/dungeonsguide/gui/elements/locationedPopup.gui create mode 100644 mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/browser.gui create mode 100644 mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/secret.gui create mode 100644 mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/state.gui create mode 100644 mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/tooltip.gui (limited to 'mod/src/main/resources/assets') diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/locationedPopup.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/locationedPopup.gui new file mode 100644 index 00000000..9d56c62c --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/locationedPopup.gui @@ -0,0 +1,20 @@ + + + + \ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/popupmgr.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/popupmgr.gui index 899d87ce..ed207851 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/popupmgr.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/popupmgr.gui @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/scrollablePanel.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/scrollablePanel.gui index 9047865c..7efaccc7 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/scrollablePanel.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/scrollablePanel.gui @@ -25,7 +25,7 @@ - + diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleButton.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleButton.gui index ac96297c..72c689b1 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleButton.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/simpleButton.gui @@ -15,26 +15,34 @@ ~ You should have received a copy of the GNU Affero General Public License ~ along with this program. If not, see . --> - + - - + + + + - - + + + + - - + + + + - - + + + + diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/elements/size.gui b/mod/src/main/resources/assets/dungeonsguide/gui/elements/size.gui index 6f326058..fd292d11 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/elements/size.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/elements/size.gui @@ -18,6 +18,6 @@ - + \ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/browser.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/browser.gui new file mode 100644 index 00000000..fbcbd6b3 --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/browser.gui @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/category.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/category.gui index ff341ff1..98d2702d 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/category.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/category.gui @@ -16,11 +16,19 @@ ~ along with this program. If not, see . --> - - - - - + + + - + + + + + \ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/secret.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/secret.gui new file mode 100644 index 00000000..2e2e8bdb --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/secret.gui @@ -0,0 +1,25 @@ + + + \ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/state.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/state.gui new file mode 100644 index 00000000..3dc588ce --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/state.gui @@ -0,0 +1,25 @@ + + + \ No newline at end of file diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/tooltip.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/tooltip.gui new file mode 100644 index 00000000..d948c9cf --- /dev/null +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/mechanicBrowser/tooltip.gui @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit