diff options
Diffstat (limited to 'indra/newview/llinventorygallery.h')
-rw-r--r-- | indra/newview/llinventorygallery.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h index fdab616720..07613b20aa 100644 --- a/indra/newview/llinventorygallery.h +++ b/indra/newview/llinventorygallery.h @@ -116,7 +116,8 @@ public: void computeDifference(const LLInventoryModel::cat_array_t vcats, const LLInventoryModel::item_array_t vitems, uuid_vec_t& vadded, uuid_vec_t& vremoved); void deselectItem(const LLUUID& category_id); - void changeItemSelection(const LLUUID& item_id); + void changeItemSelection(const LLUUID& item_id, bool scroll_to_selection = false); + void scrollToShowItem(const LLUUID& item_id); void signalSelectionItemID(const LLUUID& category_id); boost::signals2::connection setSelectionChangeCallback(selection_change_callback_t cb); LLUUID getSelectedItemID() { return mSelectedItemID; } @@ -138,6 +139,7 @@ protected: LLThumbnailsObserver* mThumbnailsObserver; LLGalleryGestureObserver* mGestureObserver; LLUUID mSelectedItemID; + LLUUID mItemToSelect; bool mIsInitialized; selection_change_signal_t mSelectionChangeSignal; |