From afb2f5c97353fb80d388e7efb9c48f62d3f95702 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Sat, 25 Jan 2020 18:53:26 +0200 Subject: Make WTitle a beta widget --- src/main/java/io/github/cottonmc/cotton/gui/widget/WTitle.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; *

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. + * + *

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( -- cgit