From 016eb1efda675e676e5cde655ba382a77b1552b5 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 24 Sep 2020 12:02:38 +0300 Subject: Tabs, card panels and showing/hiding widgets (#74) * Add beta API for hiding and showing widget peers, add default implementation for slots * Add WCardPanel * Tab thingies * Improve WPanel.toString * Fix tabs, add dark mode * Add box fillers * Tabs again * Tab go brrr * Revert modmenu changes * Fix card panels not initialising hidden widgets properly * Fix slots not being hidden when they should be * Things * Revert "Add box fillers" This reverts commit 1ea1bfbb * foo * revert more modmenu changes * Add tab titles and switch to a builder model for adding tabs * Document tab builders * Make hidden widgets release their focus * Replace outdated since tags with TAB_VERSION * Fix compilation of WTabPanel * TAB_VERSION => 3.0.0 * Add focusing support to tabs --- src/main/resources/fabric.mod.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/resources/fabric.mod.json') diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 22d9990..df75753 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -21,6 +21,9 @@ "client": ["io.github.cottonmc.cotton.gui.client.LibGuiClient"], "modmenu": ["io.github.cottonmc.cotton.gui.client.modmenu.ModMenuSupport"] }, + "mixins": [ + "mixins.libgui.accessors.json" + ], "depends": { "fabricloader": ">=0.8.8", "fabric": "*", -- cgit