Skip to content

Commit

Permalink
Make WTitle a beta widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Jan 25, 2020
1 parent 3cdfe0d commit afb2f5c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -19,7 +20,10 @@
* <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(
Expand Down

0 comments on commit afb2f5c

Please sign in to comment.