diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-03-20 19:37:25 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-03-21 09:39:25 +0200 |
commit | d2dd881a5c840b5132396d6e8353b38b79d69e23 (patch) | |
tree | 158383ecaf3f12ff7150d42d475e9e5b70ac64d2 /indra/llui/llsearchablecontrol.h | |
parent | bb914ab5e368aa6265aeb057990074f6f275adbd (diff) |
#3778 #3654 Split text and background selection colors
Diffstat (limited to 'indra/llui/llsearchablecontrol.h')
-rw-r--r-- | indra/llui/llsearchablecontrol.h | 10 |
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(); } |