#include <llfloater.h>
Definition at line 301 of file llfloater.h.
typedef std::set<LLView*> LLFloaterView::skip_list_t |
Definition at line 322 of file llfloater.h.
Definition at line 1660 of file llfloater.cpp.
References FALSE, resetStartingFloaterPosition(), and LLUICtrl::setTabStop().
Reimplemented from LLView.
Definition at line 1670 of file llfloater.cpp.
References ADJUST_VERTICAL_YES, and reshapeFloater().
void LLFloaterView::reshapeFloater | ( | S32 | width, | |
S32 | height, | |||
BOOL | called_from_parent, | |||
BOOL | adjust_vertical | |||
) |
Definition at line 1676 of file llfloater.cpp.
References FOLLOWS_BOTTOM, FOLLOWS_LEFT, FOLLOWS_RIGHT, FOLLOWS_TOP, LLView::getChildList(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLFloater::isDependent(), llabs(), LLRectBase< Type >::mBottom, LLFloater::mDependents, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, r, LLView::reshape(), S32, and LLView::setFollows().
Referenced by LLViewerWindow::handlePerFrameHover(), and reshape().
void LLFloaterView::draw | ( | void | ) | [virtual] |
Reimplemented from LLView.
Definition at line 2202 of file llfloater.cpp.
References LLView::draw(), LLView::drawChild(), LLView::getChildList(), getFocusedFloater(), mFocusCycleMode, refresh(), and TABBED_FLOATER_OFFSET.
LLRect LLFloaterView::getSnapRect | ( | ) | const [virtual] |
Reimplemented from LLView.
Definition at line 2228 of file llfloater.cpp.
References LLView::getRect(), LLRectBase< Type >::mBottom, and mSnapOffsetBottom.
Referenced by adjustToFitScreen().
void LLFloaterView::refresh | ( | ) |
Definition at line 2133 of file llfloater.cpp.
References adjustToFitScreen(), LLView::getChildList(), LLView::getVisible(), and LLFloater::isMinimized().
Referenced by draw().
Definition at line 1760 of file llfloater.cpp.
References FALSE, LLRectBase< Type >::getHeight(), LLWindow::getSize(), LLRectBase< Type >::getWidth(), LLView::getWindow(), mColumn, MENU_BAR_HEIGHT, mNextLeft, mNextTop, LLCoord::mX, LLCoord::mY, resetStartingFloaterPosition(), S32, and TRUE.
Referenced by LLFloaterNotRunQueue::create(), LLFloaterRunQueue::create(), LLFloaterResetQueue::create(), LLFloaterCompileQueue::create(), doToSelected(), LLEmbeddedNotecardOpener::fire(), LLNewWindow::handleEvent(), LLPanelAvatar::onClickKick(), LLPanelGridTools::onClickKickAll(), LLPanelContents::onClickNewScript(), LLFloaterRegionInfo::onOpen(), open_landmark(), open_notecard(), open_texture(), LLViewerTextEditor::openEmbeddedTexture(), LLTaskAnimationBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLTaskTextureBridge::openItem(), LLLSLTextBridge::openItem(), LLAnimationBridge::openItem(), LLFolderView::openSelectedItems(), LLTaskSoundBridge::openSoundPreview(), LLSoundBridge::openSoundPreview(), LLAnimationBridge::performAction(), LLFolderView::propertiesSelectedItems(), LLFloaterScriptSearch::show(), LLFloaterPostcard::showFromSnapshot(), LLTextureCtrl::showPicker(), LLTaskInvFVBridge::showProperties(), and LLShowProps::showProperties().
void LLFloaterView::resetStartingFloaterPosition | ( | ) |
Definition at line 1805 of file llfloater.cpp.
References LLRectBase< Type >::getHeight(), LLWindow::getSize(), LLRectBase< Type >::getWidth(), LLView::getWindow(), mColumn, MENU_BAR_HEIGHT, mNextLeft, mNextTop, LLCoord::mX, LLCoord::mY, and S32.
Referenced by getNewFloaterPosition(), inventory_offer_callback(), and LLFloaterView().
LLRect LLFloaterView::findNeighboringPosition | ( | LLFloater * | reference_floater, | |
LLFloater * | neighbor | |||
) |
Definition at line 1823 of file llfloater.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLView::getVisible(), LLRectBase< Type >::getWidth(), i, llmax(), LLRectBase< Type >::mBottom, LLFloater::mDependents, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLRectBase< Type >::rectInRect(), S32, LLRectBase< Type >::stretch(), LLRectBase< Type >::translate(), and LLRectBase< Type >::unionWith().
Referenced by LLPanelEstateInfo::addAllowedGroup(), LLFloater::addDependentFloater(), LLFloaterGesture::onClickEdit(), LLPanelPermissions::onClickGroup(), and LLPanelLandGeneral::onClickSetGroup().
Definition at line 2147 of file llfloater.cpp.
References LLFloater::clearSnapTarget(), LLView::followsRight(), LLView::followsTop(), LLRectBase< Type >::getHeight(), LLView::getLocalSnapRect(), LLView::getParent(), LLView::getRect(), LLFloater::getResizeLimits(), getSnapRect(), LLRectBase< Type >::getWidth(), LLFloater::isResizable(), llmax(), llmin(), LLFloater::reshape(), S32, LLView::translate(), LLView::translateIntoRect(), and TRUE.
Referenced by LLFloater::addDependentFloater(), LLTearOffMenu::create(), LLEmbeddedNotecardOpener::fire(), CreateGestureCallback::fire(), LLNewWindow::handleEvent(), LLViewerWindow::initWorldUI(), LLFloaterURLDisplay::LLFloaterURLDisplay(), LLPanelContents::onClickNewScript(), LLFloater::onClickTearOff(), open_landmark(), open_notecard(), open_texture(), LLTaskAnimationBridge::openItem(), LLTaskGestureBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLLSLTextBridge::openItem(), LLAnimationBridge::openItem(), LLGestureBridge::openItem(), LLSoundBridge::openSoundPreview(), LLAnimationBridge::performAction(), refresh(), LLFloaterSnapshot::show(), LLFloaterPermissionsMgr::show(), LLFloaterAvatarTextures::show(), LLAlertDialog::show(), LLInventoryView::showAgentInventory(), LLShowProps::showProperties(), LLPreviewTexture::updateDimensions(), and LLMultiFloater::updateResizeLimits().
Definition at line 2032 of file llfloater.cpp.
References FALSE, LLView::getChildList(), LLRectBase< Type >::getHeight(), LLView::getLocalSnapRect(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLFloater::isMinimized(), LLFLOATER_HEADER_SIZE, LLRectBase< Type >::mBottom, MINIMIZED_WIDTH, LLRectBase< Type >::mLeft, r, S32, and TRUE.
Referenced by LLFloater::setMinimized().
void LLFloaterView::restoreAll | ( | ) |
Definition at line 1745 of file llfloater.cpp.
References FALSE, LLView::getChildList(), and LLFloater::setMinimized().
Referenced by LLAppViewer::disconnectViewer().
void LLFloaterView::pushVisibleAll | ( | BOOL | visible, | |
const skip_list_t & | skip_list = skip_list_t() | |||
) |
Definition at line 2330 of file llfloater.cpp.
References LLView::getChildList(), and LLView::pushVisible().
Referenced by LLAgent::endAnimationUpdateUI().
void LLFloaterView::popVisibleAll | ( | const skip_list_t & | skip_list = skip_list_t() |
) |
Definition at line 2343 of file llfloater.cpp.
References LLView::getChildList(), and LLView::popVisible().
Referenced by LLAgent::endAnimationUpdateUI().
void LLFloaterView::setCycleMode | ( | BOOL | mode | ) | [inline] |
Definition at line 326 of file llfloater.h.
References mFocusCycleMode.
Referenced by LLViewerWindow::handleKey(), and LLViewerWindow::handlePerFrameHover().
BOOL LLFloaterView::getCycleMode | ( | ) | const [inline] |
Definition at line 327 of file llfloater.h.
References mFocusCycleMode.
Referenced by LLViewerWindow::handlePerFrameHover().
Definition at line 1888 of file llfloater.cpp.
References LLFocusMgr::childHasKeyboardFocus(), FALSE, LLView::getChildList(), LLFloater::getHandle(), LLFloater::getHost(), gFocusMgr, LLFloater::isDependent(), LLFloater::mDependents, LLView::sendChildToFront(), LLFloater::setFocus(), LLFloater::setMinimized(), and TRUE.
Referenced by LLFloater::addDependentFloater(), LLFloater::bringToFront(), LLLandEdit::handleEvent(), LLFloaterColorPicker::handleMouseDown(), LLMenuItemBranchDownGL::openMenu(), LLMenuItemBranchGL::openMenu(), LLAlertDialog::show(), and syncFloaterTabOrder().
void LLFloaterView::highlightFocusedFloater | ( | ) |
Definition at line 1971 of file llfloater.cpp.
References LLFocusMgr::childHasKeyboardFocus(), LLFloater::cleanupHandles(), LLView::getChildList(), gFocusMgr, LLFloater::isDependent(), LLFloater::mDependents, LLFloater::setForeground(), and TRUE.
Referenced by LLViewerWindow::handlePerFrameHover().
void LLFloaterView::unhighlightFocusedFloater | ( | ) |
Definition at line 2013 of file llfloater.cpp.
References FALSE, LLView::getChildList(), and LLFloater::setForeground().
void LLFloaterView::focusFrontFloater | ( | ) |
Definition at line 2023 of file llfloater.cpp.
References getFrontmost(), LLFloater::setFocus(), and TRUE.
Referenced by LLFloater::closeFocusedFloater().
void LLFloaterView::destroyAllChildren | ( | ) |
Definition at line 2082 of file llfloater.cpp.
References LLView::deleteAllChildren().
void LLFloaterView::closeAllChildren | ( | bool | app_quitting | ) |
Definition at line 2087 of file llfloater.cpp.
References LLFloater::canClose(), LLFloater::close(), LLView::getChildList(), and LLMortician::isDead().
Referenced by LLFileCloseAllWindows::handleEvent(), and LLAppViewer::requestQuit().
BOOL LLFloaterView::allChildrenClosed | ( | ) |
Definition at line 2115 of file llfloater.cpp.
References LLFloater::canClose(), LLView::getChildList(), LLView::getVisible(), and LLMortician::isDead().
Referenced by LLFileEnableCloseAllWindows::handleEvent(), and LLAppViewer::idleShutdown().
LLFloater * LLFloaterView::getFrontmost | ( | ) |
Definition at line 2249 of file llfloater.cpp.
References LLView::getChildList(), LLView::getVisible(), LLMortician::isDead(), and NULL.
Referenced by focusFrontFloater(), handle_save_to_xml(), LLFileSaveTexture::handleEvent(), LLFileEnableSaveAs::handleEvent(), LLFloater::isFrontmost(), and LLVoiceHotkeySelectDialog::LLVoiceHotkeySelectDialog().
LLFloater * LLFloaterView::getBackmost | ( | ) |
Definition at line 2262 of file llfloater.cpp.
References LLView::getChildList(), LLView::getVisible(), and NULL.
Definition at line 2297 of file llfloater.cpp.
References LLView::getParent(), and NULL.
Referenced by LLPanelEstateInfo::addAllowedGroup(), LLPanelGroupInvite::impl::callbackClickAdd(), LLPanelGroupTab::handleClickHelp(), LLPanelLandAccess::onClickAddAccess(), LLPanelLandAccess::onClickAddBanned(), LLPanelFriends::onClickAddFriend(), LLPanelPermissions::onClickGroup(), LLFloaterWindLight::onClickHelp(), LLFloaterWater::onClickHelp(), LLFloaterEnvSettings::onClickHelp(), LLFloaterDayCycle::onClickHelp(), LLPanelInput::onClickJoystickSetup(), LLPanelRegionGeneralInfo::onClickKick(), LLPanelEstateInfo::onClickKickUser(), LLFloaterReporter::onClickSelectAbuser(), LLPanelObjectTools::onClickSet(), LLPanelLandGeneral::onClickSetGroup(), LLPrefsVoice::onClickVoiceDeviceSettingsBtn(), LLPanelDisplay::onOpenHelp(), LLPanelLandMedia::onSetBtn(), LLTextureCtrl::showPicker(), and LLColorSwatchCtrl::showPicker().
LLFloater * LLFloaterView::getFocusedFloater | ( | ) |
Definition at line 2236 of file llfloater.cpp.
References LLView::getChildList(), LLUICtrl::hasFocus(), LLUICtrl::isCtrl(), and NULL.
Referenced by draw(), and LLFileEnableCloseWindow::handleEvent().
void LLFloaterView::syncFloaterTabOrder | ( | ) |
Definition at line 2276 of file llfloater.cpp.
References bringToFront(), LLFocusMgr::childHasKeyboardFocus(), FALSE, LLView::getChildList(), gFocusMgr, and LLView::moveChildToFrontOfTabGroup().
Referenced by LLViewerWindow::handlePerFrameHover().
Definition at line 2315 of file llfloater.cpp.
References LLView::getChildList(), and S32.
Referenced by LLInventoryView::getActiveInventory().
void LLFloaterView::setSnapOffsetBottom | ( | S32 | offset | ) | [inline] |
Definition at line 348 of file llfloater.h.
References mSnapOffsetBottom.
Referenced by LLViewerWindow::handlePerFrameHover().
S32 LLFloaterView::mColumn [private] |
Definition at line 351 of file llfloater.h.
Referenced by getNewFloaterPosition(), and resetStartingFloaterPosition().
S32 LLFloaterView::mNextLeft [private] |
Definition at line 352 of file llfloater.h.
Referenced by getNewFloaterPosition(), and resetStartingFloaterPosition().
S32 LLFloaterView::mNextTop [private] |
Definition at line 353 of file llfloater.h.
Referenced by getNewFloaterPosition(), and resetStartingFloaterPosition().
BOOL LLFloaterView::mFocusCycleMode [private] |
Definition at line 354 of file llfloater.h.
Referenced by draw(), getCycleMode(), and setCycleMode().
S32 LLFloaterView::mSnapOffsetBottom [private] |