#include <llfloater.h>
Inheritance diagram for LLMultiFloater:
Definition at line 364 of file llfloater.h.
typedef std::map<LLViewHandle, LLFloaterData> LLMultiFloater::floater_data_map_t [protected] |
Definition at line 419 of file llfloater.h.
LLMultiFloater::LLMultiFloater | ( | ) |
Definition at line 2476 of file llfloater.cpp.
LLMultiFloater::LLMultiFloater | ( | LLTabContainerCommon::TabPosition | tab_pos | ) |
Definition at line 2484 of file llfloater.cpp.
LLMultiFloater::LLMultiFloater | ( | const LLString & | name | ) |
Definition at line 2492 of file llfloater.cpp.
LLMultiFloater::LLMultiFloater | ( | const LLString & | name, | |
const LLRect & | rect, | |||
LLTabContainer::TabPosition | tab_pos = LLTabContainer::TOP , |
|||
BOOL | auto_resize = TRUE | |||
) |
Definition at line 2500 of file llfloater.cpp.
References LLView::addChild(), LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLFLOATER_HEADER_SIZE, LLPANEL_BORDER_WIDTH, LLView::mRect, LLFloater::mResizable, mTabContainer, mTabPos, NULL, RESIZE_HANDLE_WIDTH, LLView::setFollowsAll(), and LLTabContainerCommon::setRightTabBtnOffset().
LLMultiFloater::LLMultiFloater | ( | const LLString & | name, | |
const LLString & | rect_control, | |||
LLTabContainer::TabPosition | tab_pos = LLTabContainer::TOP , |
|||
BOOL | auto_resize = TRUE | |||
) |
Definition at line 2524 of file llfloater.cpp.
References LLView::addChild(), LLTabContainerCommon::BOTTOM, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLFLOATER_HEADER_SIZE, LLPANEL_BORDER_WIDTH, LLView::mRect, LLFloater::mResizable, mTabContainer, mTabPos, NULL, RESIZE_HANDLE_WIDTH, LLView::setFollowsAll(), and LLTabContainerCommon::setRightTabBtnOffset().
LLMultiFloater::~LLMultiFloater | ( | ) | [virtual] |
Definition at line 2549 of file llfloater.cpp.
virtual void LLMultiFloater::addFloater | ( | LLFloater * | floaterp, | |
BOOL | select_added_floater, | |||
LLTabContainerCommon::eInsertionPoint | insertion_point = LLTabContainerCommon::END | |||
) | [virtual] |
Reimplemented in LLFloaterChatterBox.
Referenced by LLFloaterChatterBox::addFloater(), LLFloater::open(), LLPreviewGesture::show(), and showFloater().
BOOL LLMultiFloater::closeAllFloaters | ( | ) | [virtual] |
Definition at line 2608 of file llfloater.cpp.
References LLFloater::close(), FALSE, LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), mTabContainer, S32, and TRUE.
Referenced by onClose().
void LLMultiFloater::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Reimplemented in LLFloaterChatterBox.
Definition at line 2587 of file llfloater.cpp.
References LLFloater::close(), LLFloater::draw(), LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getPanelTitle(), LLTabContainerCommon::getTabCount(), i, mTabContainer, S32, and LLTabContainerCommon::setPanelTitle().
LLFloater * LLMultiFloater::getActiveFloater | ( | ) | [virtual] |
Definition at line 2853 of file llfloater.cpp.
References LLTabContainerCommon::getCurrentPanel(), and mTabContainer.
Referenced by LLIMMgr::addMessage(), LLFloaterChatterBox::handleKeyHere(), and handleKeyHere().
S32 LLMultiFloater::getFloaterCount | ( | ) | [virtual] |
Definition at line 2858 of file llfloater.cpp.
References LLTabContainerCommon::getTabCount(), and mTabContainer.
Referenced by LLFloaterNewIM::canClose(), and LLFloaterChatterBox::getCurrentVoiceFloater().
LLString LLMultiFloater::getWidgetTag | ( | ) | const [virtual] |
Reimplemented from LLFloater.
Definition at line 2560 of file llfloater.cpp.
References LL_MULTI_FLOATER_TAG.
EWidgetType LLMultiFloater::getWidgetType | ( | ) | const [virtual] |
Reimplemented from LLFloater.
Definition at line 2554 of file llfloater.cpp.
References WIDGET_TYPE_MULTI_FLOATER.
Definition at line 2632 of file llfloater.cpp.
References LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLFloater::isMinimized(), LLFLOATER_HEADER_SIZE, llmax(), LLPANEL_BORDER_WIDTH, LLRectBase< Type >::mLeft, LLFloater::mPreviousRect, LLView::mRect, LLRectBase< Type >::mTop, LLView::reshape(), S32, LLRectBase< Type >::setLeftTopAndSize(), TABCNTR_HEADER_HEIGHT, and LLView::translate().
Referenced by LLPreviewTexture::updateAspectRatio().
Reimplemented from LLPanel.
Reimplemented in LLFloaterChatterBox.
Definition at line 2833 of file llfloater.cpp.
References LLFloater::canClose(), LLFloater::close(), getActiveFloater(), LLView::getEnabled(), LLPanel::handleKeyHere(), LLFloater::isCloseable(), MASK_CONTROL, and TRUE.
Referenced by LLFloaterChatterBox::handleKeyHere().
BOOL isFloaterFlashing(LLFloater* floaterp)
Returns true if the LLFloater pointed to by floaterp is currently in a flashing state and is hosted by this. False otherwise.
Requires: floaterp != NULL
Definition at line 2872 of file llfloater.cpp.
References LLFloater::getHost(), LLTabContainerCommon::getTabPanelFlashing(), and mTabContainer.
void LLMultiFloater::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Reimplemented in LLFloaterChatterBox, and LLFloaterScriptDebug.
Definition at line 2579 of file llfloater.cpp.
References closeAllFloaters(), LLFloater::onClose(), and TRUE.
Definition at line 2896 of file llfloater.cpp.
References LLTabContainerCommon::getCurrentPanel(), mTabContainer, and tabOpen().
void LLMultiFloater::open | ( | ) | [virtual] |
Reimplemented from LLFloater.
Reimplemented in LLMultiPreview.
Definition at line 2565 of file llfloater.cpp.
References LLFloater::close(), LLTabContainerCommon::getTabCount(), mTabContainer, and LLFloater::open().
Referenced by doToSelected(), LLFloater::onClickTearOff(), LLMultiPreview::open(), LLFolderView::openSelectedItems(), LLFolderView::propertiesSelectedItems(), LLFloaterScriptDebug::show(), and LLFloater::show().
BOOL LLMultiFloater::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLFloaterScriptDebug, and LLFloaterIM.
Definition at line 2916 of file llfloater.cpp.
References LLPanel::checkRequirements(), LLUICtrlFactory::getTabContainerByName(), mTabContainer, LLPanel::requires(), TRUE, and WIDGET_TYPE_TAB_CONTAINER.
Referenced by LLFloaterScriptDebug::postBuild().
Reimplemented in LLFloaterChatterBox.
Definition at line 2767 of file llfloater.cpp.
References LLFloater::applyRectControl(), LLTabContainerCommon::getCurrentPanel(), LLPanel::getHandle(), LLFloater::getHost(), mFloaterDataMap, mTabContainer, NULL, LLTabContainerCommon::removeTabPanel(), LLView::reshape(), LLPanel::setBackgroundVisible(), LLFloater::setCanDrag(), LLFloater::setCanMinimize(), LLFloater::setCanResize(), LLFloater::setHost(), tabOpen(), TRUE, and updateResizeLimits().
Referenced by LLFloater::onClickTearOff(), and LLFloaterChatterBox::removeFloater().
BOOL selectFloater(LLFloater* floaterp)
If the LLFloater pointed to by floaterp is hosted by this, then its tab is selected and returns true. Otherwise returns false.
Affects: mTabContainer
Definition at line 2737 of file llfloater.cpp.
References mTabContainer, and LLTabContainerCommon::selectTabPanel().
Referenced by LLIMMgr::addMessage().
void LLMultiFloater::selectNextFloater | ( | ) | [virtual] |
Definition at line 2743 of file llfloater.cpp.
References mTabContainer, and LLTabContainerCommon::selectNextTab().
void LLMultiFloater::selectPrevFloater | ( | ) | [virtual] |
Definition at line 2749 of file llfloater.cpp.
References mTabContainer, and LLTabContainerCommon::selectPrevTab().
Reimplemented from LLFloater.
Definition at line 2903 of file llfloater.cpp.
References LLTabContainerCommon::BOTTOM, LLTabContainerCommon::getTabPosition(), LLFloater::mResizable, mTabContainer, RESIZE_HANDLE_WIDTH, LLFloater::setCanResize(), and LLTabContainerCommon::setRightTabBtnOffset().
Referenced by LLMultiPreview::LLMultiPreview().
BOOL setFloaterFlashing(LLFloater* floaterp, BOOL flashing)
Sets the current flashing state of the LLFloater pointed to by floaterp to be the BOOL flashing if the LLFloater pointed to by floaterp is hosted by this.
Requires: floaterp != NULL
Definition at line 2889 of file llfloater.cpp.
References LLFloater::getHost(), mTabContainer, and LLTabContainerCommon::setTabPanelFlashing().
Referenced by LLIMMgr::addMessage().
void LLMultiFloater::setTabContainer | ( | LLTabContainerCommon * | tab_container | ) | [inline] |
Definition at line 403 of file llfloater.h.
References mTabContainer.
Referenced by LLTabContainerCommon::fromXML().
Reimplemented from LLFloater.
Definition at line 2810 of file llfloater.cpp.
References LLTabContainerCommon::getCurrentPanel(), mTabContainer, LLTabContainerCommon::selectLastTab(), LLView::setVisible(), and LLFloater::setVisible().
Referenced by LLFloaterScriptDebug::addOutputWindow(), LLFloaterScriptDebug::onClose(), and LLFloaterChatterBox::onClose().
Definition at line 2754 of file llfloater.cpp.
References addFloater(), LLTabContainerCommon::getCurrentPanel(), mTabContainer, LLTabContainerCommon::selectTabPanel(), and TRUE.
Referenced by LLIMMgr::addSession(), LLFloater::bringToFront(), LLFloater::onClickTearOff(), LLFloater::open(), LLFloater::setFrontmost(), and LLFloaterScriptDebug::show().
void LLMultiFloater::tabClose | ( | ) | [virtual] |
Definition at line 2801 of file llfloater.cpp.
References LLFloater::close(), LLTabContainerCommon::getTabCount(), and mTabContainer.
Reimplemented in LLMultiPreview.
Definition at line 2796 of file llfloater.cpp.
Referenced by onTabSelected(), and removeFloater().
void LLMultiFloater::updateResizeLimits | ( | ) | [virtual] |
Definition at line 2933 of file llfloater.cpp.
References LLFloaterView::adjustToFitScreen(), LLRectBase< Type >::getHeight(), LLFloater::getMinHeight(), LLFloater::getMinWidth(), LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), LLRectBase< Type >::getWidth(), gFloaterView, LLFloater::isMinimized(), LLFLOATER_HEADER_SIZE, llmax(), LLPANEL_BORDER_WIDTH, LLRectBase< Type >::mLeft, LLFloater::mPreviousRect, LLView::mRect, mTabContainer, LLRectBase< Type >::mTop, LLView::reshape(), S32, LLRectBase< Type >::setLeftTopAndSize(), LLFloater::setResizeLimits(), TABCNTR_HEADER_HEIGHT, and LLView::translate().
Referenced by removeFloater().
BOOL LLMultiFloater::mAutoResize [protected] |
Definition at line 423 of file llfloater.h.
Referenced by LLFloaterChatterBox::LLFloaterChatterBox(), LLFloaterIM::LLFloaterIM(), and LLFloaterScriptDebug::LLFloaterScriptDebug().
floater_data_map_t LLMultiFloater::mFloaterDataMap [protected] |
LLTabContainerCommon* LLMultiFloater::mTabContainer [protected] |
Definition at line 417 of file llfloater.h.
Referenced by LLFloaterChatterBox::addFloater(), closeAllFloaters(), LLFloaterChatterBox::draw(), draw(), getActiveFloater(), LLFloaterChatterBox::getCurrentVoiceFloater(), getFloaterCount(), isFloaterFlashing(), LLFloaterChatterBox::LLFloaterChatterBox(), LLMultiFloater(), onTabSelected(), LLMultiPreview::open(), open(), LLFloaterScriptDebug::postBuild(), postBuild(), LLFloaterChatterBox::removeFloater(), removeFloater(), selectFloater(), selectNextFloater(), selectPrevFloater(), setCanResize(), setFloaterFlashing(), setTabContainer(), setVisible(), showFloater(), tabClose(), updateResizeLimits(), and LLMultiPreview::userSetShape().