summaryrefslogtreecommitdiff
path: root/indra/llui/llsearchablecontrol.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-29 07:43:28 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-29 07:56:09 +0300
commit1b68f71348ecf3983b76b40d7940da8377f049b7 (patch)
tree2974eddaef130a067c26033d60a59fc790365b3d /indra/llui/llsearchablecontrol.h
parentaf4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff)
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
Diffstat (limited to 'indra/llui/llsearchablecontrol.h')
-rw-r--r--indra/llui/llsearchablecontrol.h62
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
+ { }
+ };
+ }
}