diff options
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 + { } + }; + } } |