aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-04-15 15:58:44 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-04-15 15:58:44 +0300
commit99464faaa1af676ded58f2719bf15e71db274678 (patch)
tree88e736544fd85cbd8680c4e18ed3d8067ce183d7 /src/main/java/io
parentba1f9689d6a35fe0dc9f60ce4351030f52609d4f (diff)
downloadLibGui-99464faaa1af676ded58f2719bf15e71db274678.tar.gz
LibGui-99464faaa1af676ded58f2719bf15e71db274678.tar.bz2
LibGui-99464faaa1af676ded58f2719bf15e71db274678.zip
Add some label docs
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java7
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 7a71d95..75b102f 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;
/**