aboutsummaryrefslogtreecommitdiff
path: root/src/main
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-26 00:41:56 +0300
commit308915315a358ce14c8951bc97bac76abb0da8bf (patch)
treedbbb9e4b99e8caeab404624c9470f650e771f130 /src/main
parent67e660cfb277f184cb55b7234740cba1b2f462d0 (diff)
downloadLibGui-308915315a358ce14c8951bc97bac76abb0da8bf.tar.gz
LibGui-308915315a358ce14c8951bc97bac76abb0da8bf.tar.bz2
LibGui-308915315a358ce14c8951bc97bac76abb0da8bf.zip
Add some label docs
Diffstat (limited to 'src/main')
-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 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;
/**