diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-01-25 18:53:26 +0200 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-01-25 18:53:26 +0200 |
commit | afb2f5c97353fb80d388e7efb9c48f62d3f95702 (patch) | |
tree | 861d7cd98cb00b2ea5473a40a530be7dfe6c7e79 | |
parent | 3cdfe0d7db4f84825101f7413e8204bdb56b5e95 (diff) | |
download | LibGui-afb2f5c97353fb80d388e7efb9c48f62d3f95702.tar.gz LibGui-afb2f5c97353fb80d388e7efb9c48f62d3f95702.tar.bz2 LibGui-afb2f5c97353fb80d388e7efb9c48f62d3f95702.zip |
Make WTitle a beta widget1.5.0
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java | 4 |
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( |