From 709688ad1e66ce219247876bbd24c4a348d04aaa Mon Sep 17 00:00:00 2001 From: Arrehn Date: Wed, 29 Jun 2011 02:05:20 -0400 Subject: [PATCH] Bottom bar cleanup: Make move button flyouts more consistently locatable, fix broken gesture icon, order outfit/inventory buttons closer to each other. --- indra/newview/llbottomtray.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 9c3970dbf0..72f078ac20 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -1670,6 +1670,7 @@ void LLBottomTray::initResizeStateContainers() mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_MOVEMENT, getChild("movement_panel"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_CAMERA, getChild("cam_panel"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_SNAPSHOT, getChild("snapshot_panel"))); + mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_PEOPLE, getChild("bottom_sbpeople"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_BUILD, getChild("build_btn_panel"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_SEARCH, getChild("search_btn_panel"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_WORLD_MAP, getChild("world_map_btn_panel"))); @@ -1677,13 +1678,11 @@ void LLBottomTray::initResizeStateContainers() mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_HOME, getChild("bottom_sbhome"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_ME, getChild("bottom_sbme"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_PLACES, getChild("bottom_sbplaces"))); + mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_APPEARANCE, getChild("bottom_sbappearance"))); + mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_INVENTORY, getChild("bottom_sbinv"))); mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_AO, getChild("ao_btn_panel"))); // ## Zi: Animation Overrider mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_QUICKPREFS, getChild("quickprefs_btn_panel"))); // Quick Preferences panel -WoLf - // since we added the sidebar buttons to the bottom bar, wen also need to make them reorderable. -Zi - mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_PEOPLE, getChild("bottom_sbpeople"))); - mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_APPEARANCE, getChild("bottom_sbappearance"))); - mStateProcessedObjectMap.insert(std::make_pair(RS_BUTTON_INVENTORY, getChild("bottom_sbinv"))); // init an order of processed buttons // [SL:KB] - Patch: UI-BottomTray | Checked: 2010-09-07 (Catznip-2.1.2b) | Added: Catznip-2.1.2b @@ -1693,6 +1692,7 @@ void LLBottomTray::initResizeStateContainers() mButtonsProcessOrder.push_back(RS_BUTTON_MOVEMENT); mButtonsProcessOrder.push_back(RS_BUTTON_CAMERA); mButtonsProcessOrder.push_back(RS_BUTTON_SNAPSHOT); + mButtonsProcessOrder.push_back(RS_BUTTON_PEOPLE); mButtonsProcessOrder.push_back(RS_BUTTON_BUILD); mButtonsProcessOrder.push_back(RS_BUTTON_SEARCH); mButtonsProcessOrder.push_back(RS_BUTTON_WORLD_MAP); @@ -1700,13 +1700,12 @@ void LLBottomTray::initResizeStateContainers() mButtonsProcessOrder.push_back(RS_BUTTON_HOME); mButtonsProcessOrder.push_back(RS_BUTTON_ME); mButtonsProcessOrder.push_back(RS_BUTTON_PLACES); - mButtonsProcessOrder.push_back(RS_BUTTON_AO); // ## Zi: Animation Overrider - mButtonsProcessOrder.push_back(RS_BUTTON_QUICKPREFS); // Quick Preferences panel -WoLf - - // since we added the sidebar buttons to the bottom bar, wen also need to make them reorderable. -Zi - mButtonsProcessOrder.push_back(RS_BUTTON_PEOPLE); mButtonsProcessOrder.push_back(RS_BUTTON_APPEARANCE); mButtonsProcessOrder.push_back(RS_BUTTON_INVENTORY); + mButtonsProcessOrder.push_back(RS_BUTTON_AO); // ## Zi: Animation Overrider + mButtonsProcessOrder.push_back(RS_BUTTON_QUICKPREFS); // Quick Preferences panel -WoLf + + // mButtonsOrder.push_back(RS_BUTTON_SPEAK); // mButtonsOrder.insert(mButtonsOrder.end(), mButtonsProcessOrder.begin(), mButtonsProcessOrder.end());