Fix up EAM to work (Part 2)
Did you know you could type into a list to search it by prefix?! The Lindens didn't!! Let's make this search bar an ACTUAL FILTER! To do this, we add support for filtering to all scroll lists, so that's cool. Also filtered items will be selected. Also optimized item selection loop to perform better when selecting in massive lists (like group members) Changed the text on the Copy Button to reflect that it copies everything, not just the applied filter... if you wanted that, you could just ctrl-a, ctrl-c... I mean, reallly
This commit is contained in:
@@ -71,6 +71,9 @@ public:
|
||||
void setEnabled( BOOL b ) { mEnabled = b; }
|
||||
BOOL getEnabled() const { return mEnabled; }
|
||||
|
||||
void setFiltered(bool b) { if (mFiltered = b) mSelected = false; }
|
||||
bool getFiltered() const { return mFiltered; }
|
||||
|
||||
void setUserdata( void* userdata ) { mUserdata = userdata; }
|
||||
void* getUserdata() const { return mUserdata; }
|
||||
|
||||
@@ -100,6 +103,7 @@ protected:
|
||||
private:
|
||||
BOOL mSelected;
|
||||
BOOL mEnabled;
|
||||
bool mFiltered;
|
||||
void* mUserdata;
|
||||
LLSD mItemValue;
|
||||
std::vector<LLScrollListCell *> mColumns;
|
||||
|
||||
Reference in New Issue
Block a user