diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-05-09 06:42:28 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-09 06:42:28 +0800 |
commit | c06c7e0b0eb4b7a7aaa70a3559b08b18c73aea17 (patch) | |
tree | 1a460744fcb104f56cd28af927f4cb3d2a18cdc8 /indra/llui/llurlentry.cpp | |
parent | 5ced1ff13ffce84e052500eb8fa898ba24bc5d93 (diff) | |
parent | 377d1b3813077619fc795f54f93b0d478cf03cbd (diff) |
Merge tag 'Second_Life_Release#377d1b38-2025.04' into 2025.04
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rw-r--r-- | indra/llui/llurlentry.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 34138da34d..bcd13b7f0b 100644 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -630,6 +630,11 @@ LLUUID LLUrlEntryAgent::getID(const std::string &string) const return LLUUID(getIDStringFromUrl(string)); } +bool LLUrlEntryAgent::isAgentID(const std::string& url) const +{ + return sAgentID == getID(url); +} + std::string LLUrlEntryAgent::getTooltip(const std::string &string) const { // return a tooltip corresponding to the URL type instead of the generic one @@ -789,6 +794,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; |