aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-01-25 18:53:26 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-01-25 18:53:26 +0200
commitafb2f5c97353fb80d388e7efb9c48f62d3f95702 (patch)
tree861d7cd98cb00b2ea5473a40a530be7dfe6c7e79 /src/main
parent3cdfe0d7db4f84825101f7413e8204bdb56b5e95 (diff)
downloadLibGui-1.5.0.tar.gz
LibGui-1.5.0.tar.bz2
LibGui-1.5.0.zip
Make WTitle a beta widget1.5.0
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java
index d17835b..2b52caf 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java
@@ -1,5 +1,6 @@
package io.github.cottonmc.cotton.gui.widget;
+import com.google.common.annotations.Beta;
import io.github.cottonmc.cotton.gui.client.BackgroundPainter;
import io.github.cottonmc.cotton.gui.client.NinePatch;
import io.github.cottonmc.cotton.gui.client.ScreenDrawing;
@@ -19,7 +20,10 @@ import javax.annotation.Nullable;
* <p>Titles should be added to their panels at (0, 0) and they should be as wide as the panel.
* The default title painter assumes that the containing panel uses {@link BackgroundPainter#VANILLA} or
* a {@linkplain NinePatch nine-patch background painter} with a padding of 8.
+ *
+ * <p>This widget is experimental and may be removed in a future release of LibGui.
*/
+@Beta
public class WTitle extends WWidget {
public static final BackgroundPainter DEFAULT_BACKGROUND_PAINTER =
BackgroundPainter.createLightDarkVariants(