diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-04-15 15:58:44 +0300 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-04-26 00:41:56 +0300 |
commit | 308915315a358ce14c8951bc97bac76abb0da8bf (patch) | |
tree | dbbb9e4b99e8caeab404624c9470f650e771f130 /src | |
parent | 67e660cfb277f184cb55b7234740cba1b2f462d0 (diff) | |
download | LibGui-308915315a358ce14c8951bc97bac76abb0da8bf.tar.gz LibGui-308915315a358ce14c8951bc97bac76abb0da8bf.tar.bz2 LibGui-308915315a358ce14c8951bc97bac76abb0da8bf.zip |
Add some label docs
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java index 6db09b9..e815723 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java @@ -23,7 +23,14 @@ public class WLabel extends WWidget { protected int color; protected int darkmodeColor; + /** + * The default text color for light mode labels. + */ public static final int DEFAULT_TEXT_COLOR = 0x404040; + + /** + * The default text color for {@linkplain io.github.cottonmc.cotton.gui.client.LibGuiConfig#darkMode dark mode} labels. + */ public static final int DEFAULT_DARKMODE_TEXT_COLOR = 0xbcbcbc; /** |