From 929c9b2dd0e4ff0b1b08c29267be60493010ab29 Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Mon, 5 May 2025 15:28:51 +0300 Subject: #4009 Add color settings for chat mentions to Preferences --- indra/llui/llurlentry.cpp | 2 + indra/newview/skins/default/colors.xml | 5 +- .../default/xui/en/panel_preferences_colors.xml | 101 +++++++++++++++++++++ 3 files changed, 107 insertions(+), 1 deletion(-) diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 34138da34d..7218211a44 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -789,6 +789,8 @@ LLStyle::EUnderlineLink LLUrlEntryAgentMention::getUnderline(const std::string& LLStyle::Params LLUrlEntryAgentMention::getStyle(const std::string& url) const { LLStyle::Params style_params = LLUrlEntryAgent::getStyle(url); + style_params.color = LLUIColorTable::instance().getColor("ChatMentionFont"); + style_params.readonly_color = LLUIColorTable::instance().getColor("ChatMentionFont"); style_params.font.style = "NORMAL"; style_params.draw_highlight_bg = true; diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml index cb190d3d34..f0ada22d66 100644 --- a/indra/newview/skins/default/colors.xml +++ b/indra/newview/skins/default/colors.xml @@ -1000,10 +1000,13 @@ + + value="1 1 0 1" /> diff --git a/indra/newview/skins/default/xui/en/panel_preferences_colors.xml b/indra/newview/skins/default/xui/en/panel_preferences_colors.xml index 44df5354aa..8a09e15396 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_colors.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_colors.xml @@ -299,6 +299,107 @@ width="95"> URLs + + + + + + Mentions + + + Chat mentions highlight colors: + + + + + + + Me + + + + + + + Others +