diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 61780dd48a..9397168fe7 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -612,7 +612,7 @@ set(viewer_SOURCE_FILES llpanelteleporthistory.cpp llpaneltiptoast.cpp llpanelvoiceeffect.cpp - llpaneltopinfobar.cpp + #llpaneltopinfobar.cpp # unused llpanelpulldown.cpp llpanelvoicedevicesettings.cpp llpanelvolume.cpp @@ -1378,7 +1378,7 @@ set(viewer_HEADER_FILES llpanelpulldown.h llpanelvoicedevicesettings.h llpanelvoiceeffect.h - llpaneltopinfobar.h + #llpaneltopinfobar.h # unused llpanelvolume.h llpanelvolumepulldown.h llpanelwearing.h diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index e9f1a469b1..990edf51d1 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -66,7 +66,8 @@ // [FS Communication UI] #include "llspeakers.h" #include "llnotificationsutil.h" -#include "llpaneltopinfobar.h" +// We don't use the mini location panel in Firestorm +// #include "llpaneltopinfobar.h" #include "llparcel.h" #include "llrendersphere.h" #include "llscriptruntimeperms.h" @@ -2618,10 +2619,12 @@ void LLAgent::endAnimationUpdateUI() LLNavigationBar::instance().getView()->setVisible(TRUE); gStatusBar->setVisibleForMouselook(true); - if (gSavedSettings.getBOOL("ShowMiniLocationPanel")) - { - LLPanelTopInfoBar::getInstance()->setVisible(TRUE); - } + // We don't use the mini location panel in Firestorm + // if (gSavedSettings.getBOOL("ShowMiniLocationPanel")) + // { + // LLPanelTopInfoBar::getInstance()->setVisible(TRUE); + // } + // LLChicletBar::getInstance()->setVisible(TRUE); @@ -2780,7 +2783,8 @@ void LLAgent::endAnimationUpdateUI() LLNavigationBar::instance().getView()->setVisible(FALSE); gStatusBar->setVisibleForMouselook(false); - LLPanelTopInfoBar::getInstance()->setVisible(FALSE); + // We don't use the mini location panel in Firestorm + // LLPanelTopInfoBar::getInstance()->setVisible(FALSE); LLChicletBar::getInstance()->setVisible(FALSE); diff --git a/indra/newview/llchicletbar.cpp b/indra/newview/llchicletbar.cpp index 1d8952a268..b67ac859ee 100644 --- a/indra/newview/llchicletbar.cpp +++ b/indra/newview/llchicletbar.cpp @@ -29,7 +29,8 @@ #include "llchiclet.h" #include "lllayoutstack.h" -#include "llpaneltopinfobar.h" +// We don't use the mini location panel in Firestorm +// #include "llpaneltopinfobar.h" #include "llsyswellwindow.h" #include "llfloaternotificationstabbed.h" @@ -325,6 +326,8 @@ S32 LLChicletBar::getChicletPanelShrinkHeadroom() const void LLChicletBar::fitWithTopInfoBar() { + // We don't use the mini location panel in Firestorm + #if 0 LLPanelTopInfoBar& top_info_bar = LLPanelTopInfoBar::instance(); LLRect rect = getRect(); @@ -351,6 +354,8 @@ void LLChicletBar::fitWithTopInfoBar() setRect(rect); LLPanel::reshape(width, rect.getHeight(), false); + #endif + // } // Option to hide IM/Group chat chiclets diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp index 9357292eea..078d2e0ca0 100644 --- a/indra/newview/llnavigationbar.cpp +++ b/indra/newview/llnavigationbar.cpp @@ -42,7 +42,8 @@ #include "lllandmarkactions.h" #include "lllocationhistory.h" #include "lllocationinputctrl.h" -#include "llpaneltopinfobar.h" +// We don't use the mini location panel in Firestorm +// #include "llpaneltopinfobar.h" #include "llteleporthistory.h" #include "llresizebar.h" #include "llsearchcombobox.h" @@ -842,7 +843,8 @@ void LLNavigationBar::onNavigationButtonHeldUp(LLButton* nav_button) void LLNavigationBar::handleLoginComplete() { LLTeleportHistory::getInstance()->handleLoginComplete(); - LLPanelTopInfoBar::instance().handleLoginComplete(); + // We don't use the mini location panel in Firestorm + // LLPanelTopInfoBar::instance().handleLoginComplete(); gStatusBar->handleLoginComplete(); mCmbLocation->handleLoginComplete(); // Commented out because we don't have the LL viewer layout diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index 3f5b1ea36e..fe175bcaf2 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -74,7 +74,8 @@ //#include "llpanellogin.h" #include "fspanellogin.h" // [FS Login Panel] -#include "llpaneltopinfobar.h" +// We don't use the mini location panel in Firestorm +// #include "llpaneltopinfobar.h" #include "llspellcheck.h" #include "llslurl.h" #include "llstartup.h" diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 7dc754cf37..dab506d650 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -142,7 +142,8 @@ #include "llmoveview.h" #include "llnavigationbar.h" #include "llnotificationhandler.h" -#include "llpaneltopinfobar.h" +// We don't use the mini location panel in Firestorm +// #include "llpaneltopinfobar.h" #include "llpopupview.h" #include "llpreviewtexture.h" #include "llprogressview.h" @@ -7098,7 +7099,8 @@ void LLViewerWindow::setUIVisibility(bool visible) // Is done inside XUI now, using visibility_control //LLNavigationBar::getInstance()->setVisible(visible ? gSavedSettings.getBOOL("ShowNavbarNavigationPanel") : FALSE); - LLPanelTopInfoBar::getInstance()->setVisible(visible? gSavedSettings.getBOOL("ShowMiniLocationPanel") : FALSE); + // We don't use the mini location panel in Firestorm + // LLPanelTopInfoBar::getInstance()->setVisible(visible? gSavedSettings.getBOOL("ShowMiniLocationPanel") : FALSE); mRootView->getChildView("status_bar_container")->setVisible(visible); // hide utility bar if we are on a skin that uses it, e.g. Vintage diff --git a/indra/newview/rlvui.cpp b/indra/newview/rlvui.cpp index bed79ce4a1..a8290b4942 100644 --- a/indra/newview/rlvui.cpp +++ b/indra/newview/rlvui.cpp @@ -23,7 +23,8 @@ #include "llmoveview.h" // Movement panel (contains "Stand" and "Stop Flying" buttons) #include "llnavigationbar.h" // Navigation bar #include "llparcel.h" -#include "llpaneltopinfobar.h" +// We don't use the mini location panel in Firestorm +// #include "llpaneltopinfobar.h" #include "llteleporthistory.h" #include "llviewerparcelmgr.h" #include "llviewerregion.h" @@ -114,8 +115,10 @@ void RlvUIEnabler::onToggleShowLoc() if (LLNavigationBar::instanceExists()) LLNavigationBar::instance().refreshLocationCtrl(); - if (LLPanelTopInfoBar::instanceExists()) - LLPanelTopInfoBar::instance().update(); + // We don't use the mini location panel in Firestorm + // if (LLPanelTopInfoBar::instanceExists()) + // LLPanelTopInfoBar::instance().update(); + // We don't use the mini location panel in Firestorm if (!fEnable) {