diff --git a/panda/src/text/textNode.I b/panda/src/text/textNode.I index 1d02442451..6d54f95b54 100644 --- a/panda/src/text/textNode.I +++ b/panda/src/text/textNode.I @@ -804,7 +804,9 @@ clear_wordwrap() { } /** - * + * Sets the color of the text. Note that this will modulate the color of all + * components of the text, including the shadow and outline. If you wish to + * only set the foreground color, see DynamicTextFont::set_fg(). */ INLINE void TextNode:: set_text_color(const LColor &text_color) { @@ -814,7 +816,9 @@ set_text_color(const LColor &text_color) { } /** - * + * Sets the color of the text. Note that this will modulate the color of all + * components of the text, including the shadow and outline. If you wish to + * only set the foreground color, see DynamicTextFont::set_fg(). */ INLINE void TextNode:: set_text_color(PN_stdfloat r, PN_stdfloat g, PN_stdfloat b, PN_stdfloat a) { diff --git a/panda/src/text/textProperties.I b/panda/src/text/textProperties.I index d56c354d46..c31cd883de 100644 --- a/panda/src/text/textProperties.I +++ b/panda/src/text/textProperties.I @@ -419,7 +419,9 @@ get_preserve_trailing_whitespace() const { } /** - * + * Sets the color of the text. Note that this will modulate the color of all + * components of the text, including the shadow and outline. If you wish to + * only set the foreground color, see DynamicTextFont::set_fg(). */ INLINE void TextProperties:: set_text_color(PN_stdfloat r, PN_stdfloat g, PN_stdfloat b, PN_stdfloat a) { @@ -427,7 +429,9 @@ set_text_color(PN_stdfloat r, PN_stdfloat g, PN_stdfloat b, PN_stdfloat a) { } /** - * + * Sets the color of the text. Note that this will modulate the color of all + * components of the text, including the shadow and outline. If you wish to + * only set the foreground color, see DynamicTextFont::set_fg(). */ INLINE void TextProperties:: set_text_color(const LColor &text_color) { @@ -448,7 +452,7 @@ clear_text_color() { } /** - * + * Returns true if a text color was specified with set_text_color(). */ INLINE bool TextProperties:: has_text_color() const {