summaryrefslogtreecommitdiff
path: root/indra/llui/llsearchablecontrol.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-03-20 19:37:25 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-03-21 09:39:25 +0200
commitd2dd881a5c840b5132396d6e8353b38b79d69e23 (patch)
tree158383ecaf3f12ff7150d42d475e9e5b70ac64d2 /indra/llui/llsearchablecontrol.h
parentbb914ab5e368aa6265aeb057990074f6f275adbd (diff)
#3778 #3654 Split text and background selection colors
Diffstat (limited to 'indra/llui/llsearchablecontrol.h')
-rw-r--r--indra/llui/llsearchablecontrol.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/llui/llsearchablecontrol.h b/indra/llui/llsearchablecontrol.h
index 7f1421dd19..bae85fe9a5 100644
--- a/indra/llui/llsearchablecontrol.h
+++ b/indra/llui/llsearchablecontrol.h
@@ -43,9 +43,15 @@ namespace ll
virtual ~SearchableControl()
{ }
- const LLColor4& getHighlightColor( ) const
+ const LLColor4& getHighlightBgColor( ) const
{
- static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red4);
+ static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightBgColor", LLColor4::red4);
+ return highlight_color.get();
+ }
+
+ const LLColor4& getHighlightFontColor() const
+ {
+ static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightFontColor", LLColor4::red4);
return highlight_color.get();
}