summaryrefslogtreecommitdiff
path: root/indra/llui/llsearchablecontrol.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-15 16:35:49 +0300
committerGitHub <noreply@github.com>2024-05-15 16:35:49 +0300
commite49dcb8d0c9f539997effb640e350d9d0689aae6 (patch)
tree1bf99eaccce6de17c62f13c6595f7f497548dc5c /indra/llui/llsearchablecontrol.h
parent531cd34f670170ade57f8813fe48012b61a1d3c2 (diff)
parent5f8a7374b9f18e0112d6749a9c845bd077a81acb (diff)
Merge pull request #1476 from secondlife/marchcat/x-b-merge
Maint X -> Maint B merge
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
+ { }
+ };
+ }
}