diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-16 10:32:03 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-16 10:32:03 -0400 |
commit | e19cf9aedd0ed775022ce9704127e7958796494a (patch) | |
tree | 2a4a590cb1206bee59ab7eb9ccec067ca2fbdd39 /indra/llui/llsearchablecontrol.h | |
parent | 0eaca22969fb14402a898325a64276e1c11dff0c (diff) | |
parent | b31789c146aab2e1fe0040f9c3c4cf42526e9c4b (diff) |
Merge branch 'release/maint-b' into nat/maint-b-tests
Diffstat (limited to 'indra/llui/llsearchablecontrol.h')
-rw-r--r-- | indra/llui/llsearchablecontrol.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/indra/llui/llsearchablecontrol.h b/indra/llui/llsearchablecontrol.h index f7f1ffa0a5..bccb4858e1 100644 --- a/indra/llui/llsearchablecontrol.h +++ b/indra/llui/llsearchablecontrol.h @@ -31,40 +31,40 @@ namespace ll { - namespace ui - { - class SearchableControl - { - mutable bool mIsHighlighed; - public: - SearchableControl() - : mIsHighlighed( false ) - { } - virtual ~SearchableControl() - { } + namespace ui + { + class SearchableControl + { + mutable bool mIsHighlighed; + public: + SearchableControl() + : mIsHighlighed( false ) + { } + virtual ~SearchableControl() + { } - LLColor4 getHighlightColor( ) const - { - static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red); - return highlight_color.get(); - } + LLColor4 getHighlightColor( ) const + { + static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red); + return highlight_color.get(); + } - void setHighlighted( bool aVal ) const - { - mIsHighlighed = aVal; - onSetHighlight( ); - } - bool getHighlighted( ) const - { return mIsHighlighed; } + void setHighlighted( bool aVal ) const + { + mIsHighlighed = aVal; + onSetHighlight( ); + } + bool getHighlighted( ) const + { return mIsHighlighed; } - std::string getSearchText() const - { return _getSearchText(); } - protected: - virtual std::string _getSearchText() const = 0; - virtual void onSetHighlight( ) const - { } - }; - } + std::string getSearchText() const + { return _getSearchText(); } + protected: + virtual std::string _getSearchText() const = 0; + virtual void onSetHighlight( ) const + { } + }; + } } |