Make Outbox and Favorites like other new inventory windows
Yay search~
This commit is contained in:
@@ -101,6 +101,7 @@ F32 LLToolBar::sInventoryAutoOpenTime = 1.f;
|
||||
// Functions
|
||||
//
|
||||
void show_floater(const std::string& floater_name);
|
||||
void show_inv_floater(const LLSD& userdata, const std::string& field);
|
||||
|
||||
LLToolBar::LLToolBar()
|
||||
: LLLayoutPanel()
|
||||
@@ -108,6 +109,9 @@ LLToolBar::LLToolBar()
|
||||
setIsChrome(TRUE);
|
||||
setFocusRoot(TRUE);
|
||||
mCommitCallbackRegistrar.add("ShowFloater", boost::bind(show_floater, _2));
|
||||
mCommitCallbackRegistrar.add("ShowInvFloater.ID", boost::bind(show_inv_floater, _2, "id"));
|
||||
mCommitCallbackRegistrar.add("ShowInvFloater.Name", boost::bind(show_inv_floater, _2, "name"));
|
||||
mCommitCallbackRegistrar.add("ShowInvFloater.Type", boost::bind(show_inv_floater, _2, "type"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user