void LLNearbyChatBar::onToggleNearbyChatPanel() { LLView* nearby_chat = getChildView("nearby_chat"); if (nearby_chat->getVisible()) { if (!isMinimized()) { mExpandedHeight = getRect().getHeight(); } setResizeLimits(getMinWidth(), COLLAPSED_HEIGHT); nearby_chat->setVisible(FALSE); reshape(getRect().getWidth(), COLLAPSED_HEIGHT); enableResizeCtrls(true, true, false); storeRectControl(); } else { nearby_chat->setVisible(TRUE); setResizeLimits(getMinWidth(), EXPANDED_MIN_HEIGHT); reshape(getRect().getWidth(), mExpandedHeight); enableResizeCtrls(true); storeRectControl(); } gSavedSettings.setBOOL("nearbychat_history_visibility", mNearbyChat->getVisible()); }
LLPanel::~LLPanel() { storeRectControl(); }
LLPanel::~LLPanel() { storeRectControl(); delete mVisibleSignal; }