#include <llfloater.h>
Inherits LLPanel.
Inherited by LLDebugVarMessageBox, LLFastTimerView, LLFloaterAbout, LLFloaterActiveSpeakers, LLFloaterAuction, LLFloaterAvatarPicker, LLFloaterAvatarTextures, LLFloaterBuildOptions, LLFloaterBump, LLFloaterBuy, LLFloaterBuyContents, LLFloaterBuyCurrencyUI, LLFloaterBuyLandUI, LLFloaterCamera, LLFloaterChat, LLFloaterClassifiedInfo [private]
, LLFloaterClothing, LLFloaterColorPicker, LLFloaterCustomize, LLFloaterDayCycle, LLFloaterDirectory, LLFloaterEditUI, LLFloaterEnvSettings, LLFloaterEventInfo, LLFloaterGesture, LLFloaterGodTools, LLFloaterGroupInfo, LLFloaterGroupInvite, LLFloaterGroupPicker, LLFloaterHardwareSettings, LLFloaterHtml, LLFloaterHtmlHelp, LLFloaterHUD, LLFloaterIMPanel, LLFloaterInspect, LLFloaterJoystick, LLFloaterLagMeter, LLFloaterLand, LLFloaterLandHoldings, LLFloaterLandmark, LLFloaterMap, LLFloaterMediaBrowser, LLFloaterMove, LLFloaterMute, LLFloaterMuteObjectUI, LLFloaterMyFriends, LLFloaterNameDesc, LLFloaterNewIM, LLFloaterOpenObject, LLFloaterParcelInfo, LLFloaterPay, LLFloaterPermissionsMgr, LLFloaterPostcard, LLFloaterPostProcess, LLFloaterPreference, LLFloaterPriceForListing, LLFloaterProperties, LLFloaterRegionInfo, LLFloaterReleaseMsg, LLFloaterReporter, LLFloaterScriptDebugOutput, LLFloaterScriptQueue, LLFloaterScriptSearch, LLFloaterSellLandUI, LLFloaterSettingsDebug, LLFloaterSimple, LLFloaterSnapshot, LLFloaterStats, LLFloaterTelehub, LLFloaterTestImpl, LLFloaterTexturePicker, LLFloaterTools, LLFloaterTopObjects, LLFloaterURLDisplay, LLFloaterURLEntry, LLFloaterVoiceDeviceSettings, LLFloaterWater, LLFloaterWindLight, LLFloaterWorldMap, LLInventoryView, LLInventoryViewFinder, LLModalDialog, LLMultiFloater, LLPreview, and LLTearOffMenu.
Definition at line 74 of file llfloater.h.
typedef std::set<LLHandle<LLFloater> > LLFloater::handle_set_t [private] |
Definition at line 259 of file llfloater.h.
typedef std::set<LLHandle<LLFloater> >::iterator LLFloater::handle_set_iter_t [private] |
Definition at line 260 of file llfloater.h.
typedef void(* LLFloater::click_callback)(void *) [private] |
typedef std::map<LLHandle<LLFloater>, LLFloater*> LLFloater::handle_map_t [private] |
typedef std::map<LLHandle<LLFloater>, LLFloater*>::iterator LLFloater::handle_map_iter_t [private] |
Definition at line 284 of file llfloater.h.
Definition at line 78 of file llfloater.h.
LLFloater::LLFloater | ( | ) |
Definition at line 130 of file llfloater.cpp.
References LLRootHandle< T >::bind(), BUTTON_COUNT, FALSE, i, mAutoFocus, mButtons, mButtonsEnabled, mDragHandle, mHandle, NULL, S32, and TRUE.
Referenced by fromXML().
LLFloater::LLFloater | ( | const LLString & | name | ) |
Definition at line 148 of file llfloater.cpp.
References BUTTON_COUNT, DEFAULT_MIN_HEIGHT, DEFAULT_MIN_WIDTH, FALSE, i, initFloater(), mButtons, mButtonsEnabled, NULL, S32, and TRUE.
LLFloater::LLFloater | ( | const LLString & | name, | |
const LLRect & | rect, | |||
const LLString & | title, | |||
BOOL | resizable = FALSE , |
|||
S32 | min_width = DEFAULT_MIN_WIDTH , |
|||
S32 | min_height = DEFAULT_MIN_HEIGHT , |
|||
BOOL | drag_on_left = FALSE , |
|||
BOOL | minimizable = TRUE , |
|||
BOOL | close_btn = TRUE , |
|||
BOOL | bordered = BORDER_NO | |||
) |
Definition at line 161 of file llfloater.cpp.
References BUTTON_COUNT, FALSE, i, initFloater(), mButtons, mButtonsEnabled, NULL, and S32.
LLFloater::LLFloater | ( | const LLString & | name, | |
const LLString & | rect_control, | |||
const LLString & | title, | |||
BOOL | resizable = FALSE , |
|||
S32 | min_width = DEFAULT_MIN_WIDTH , |
|||
S32 | min_height = DEFAULT_MIN_HEIGHT , |
|||
BOOL | drag_on_left = FALSE , |
|||
BOOL | minimizable = TRUE , |
|||
BOOL | close_btn = TRUE , |
|||
BOOL | bordered = BORDER_NO | |||
) |
Definition at line 179 of file llfloater.cpp.
References BUTTON_COUNT, FALSE, i, initFloater(), mButtons, mButtonsEnabled, NULL, and S32.
LLFloater::~LLFloater | ( | ) | [virtual] |
Definition at line 410 of file llfloater.cpp.
References FALSE, i, mDragHandle, LLView::mFloaterControls, mHandle, mResizeBar, mResizeHandle, releaseFocus(), S32, setMinimized(), and sFloaterMap.
LLXMLNodePtr LLFloater::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLPanel.
Definition at line 2862 of file llfloater.cpp.
References getMinHeight(), getMinWidth(), getTitle(), LLPanel::getXML(), isCloseable(), isDragOnLeft(), isMinimizeable(), isResizable(), mCanTearOff, and TRUE.
LLView * LLFloater::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) | [static] |
Reimplemented from LLPanel.
Definition at line 2886 of file llfloater.cpp.
References LLUICtrlFactory::buildFloater(), initFloaterXML(), and LLFloater().
void LLFloater::initFloaterXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory, | |||
BOOL | open = TRUE | |||
) |
Definition at line 2910 of file llfloater.cpp.
References applyRectControl(), LLView::createRect(), getFloaterHost(), getMinHeight(), getMinWidth(), LLView::getName(), getShortTitle(), getTitle(), LLPanel::initChildrenXML(), initFloater(), LLUICtrl::initFromXML(), isCloseable(), isDragOnLeft(), isMinimizeable(), isResizable(), llendl, llerrs, moveResizeHandlesToFront(), open(), LLPanel::postBuild(), S32, setCanTearOff(), setFloaterHost(), LLView::setName(), LLView::setRect(), LLPanel::setRectControl(), and setShortTitle().
Referenced by LLUICtrlFactory::buildFloater(), and fromXML().
void LLFloater::userSetShape | ( | const LLRect & | new_rect | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLMultiPreview, and LLPreview.
Definition at line 724 of file llfloater.cpp.
References getHandle(), LLRectBase< Type >::getHeight(), LLView::getRect(), getSnapTarget(), LLRectBase< Type >::getWidth(), isMinimized(), LLRectBase< Type >::mBottom, mDependents, mHasBeenDraggedWhileMinimized, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, S32, LLRectBase< Type >::translate(), TRUE, userSetShape(), and LLView::userSetShape().
Referenced by LLMultiPreview::userSetShape(), LLPreview::userSetShape(), and userSetShape().
Reimplemented from LLView.
Definition at line 687 of file llfloater.cpp.
References LLView::canSnapTo(), FALSE, getHandle(), LLView::getParent(), getSnapTarget(), llendl, llwarns, mDependents, and NULL.
void LLFloater::snappedTo | ( | const LLView * | snap_view | ) | [virtual] |
Reimplemented from LLView.
Definition at line 709 of file llfloater.cpp.
References clearSnapTarget(), getHandle(), LLView::getParent(), and setSnapTarget().
void LLFloater::setFocus | ( | BOOL | b | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLVoiceHotkeySelectDialog.
Definition at line 903 of file llfloater.cpp.
References LLFocusMgr::childHasKeyboardFocus(), getHost(), LLUICtrl::getIsChrome(), LLFocusMgr::getLastFocusForGroup(), LLView::getParent(), gFocusMgr, isFrontmost(), LLView::isInEnabledChain(), LLView::isInVisibleChain(), LLUICtrl::setFocus(), LLPanel::setFocus(), setFrontmost(), and TRUE.
Referenced by LLFloaterView::bringToFront(), close(), LLMenuItemTearOffGL::doIt(), LLModalDialog::draw(), LLEmbeddedNotecardOpener::fire(), LLFloaterView::focusFrontFloater(), LLFloaterWindLight::instance(), LLFloaterWater::instance(), LLFloaterPostProcess::instance(), LLFloaterGodTools::instance(), LLFloaterEnvSettings::instance(), LLFloaterDayCycle::instance(), LLModalDialog::onAppFocusGained(), LLScriptEdCore::onBtnDynamicHelp(), open_landmark(), open_notecard(), open_texture(), LLTaskAnimationBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskTextureBridge::openItem(), LLLSLTextBridge::openItem(), LLAnimationBridge::openItem(), LLGestureBridge::openItem(), LLSoundBridge::openSoundPreview(), LLUICtrlFactory::rebuild(), LLVoiceHotkeySelectDialog::setFocus(), setIsChrome(), LLModalDialog::setVisible(), LLPreviewGesture::show(), LLPreview::show(), LLFloaterOpenObject::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), LLFloaterAuction::show(), LLAlertDialog::show(), LLFloaterReporter::showFromObject(), LLTextureCtrl::showPicker(), LLColorSwatchCtrl::showPicker(), LLFloaterColorPicker::showUI(), LLModalDialog::startModal(), and LLFloaterInspect::~LLFloaterInspect().
void LLFloater::setIsChrome | ( | BOOL | is_chrome | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 939 of file llfloater.cpp.
References FALSE, mDragHandle, setFocus(), LLView::setFocusRoot(), LLUICtrl::setIsChrome(), and LLDragHandle::setTitleVisible().
Referenced by LLFloaterCamera::LLFloaterCamera(), LLFloaterHUD::LLFloaterHUD(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterMap::LLFloaterMap(), and LLFloaterMove::LLFloaterMove().
void LLFloater::initFloater | ( | const LLString & | title, | |
BOOL | resizable, | |||
S32 | min_width, | |||
S32 | min_height, | |||
BOOL | drag_on_left, | |||
BOOL | minimizable, | |||
BOOL | close_btn | |||
) | [virtual] |
Definition at line 199 of file llfloater.cpp.
References LLPanel::addBorder(), LLView::addChild(), LLRootHandle< T >::bind(), LLResizeBar::BOTTOM, buildButtons(), BUTTON_CLOSE, BUTTON_COUNT, BUTTON_MINIMIZE, LLView::deleteAllChildren(), DRAG_HANDLE_WIDTH, FALSE, LLUICtrl::getIsChrome(), LLView::getParent(), LLView::getRect(), LLPanel::hasBorder(), i, LLResizeBar::LEFT, LLResizeHandle::LEFT_BOTTOM, LLResizeHandle::LEFT_TOP, LLFLOATER_CLOSE_BOX_SIZE, LLPANEL_BORDER_WIDTH, mButtons, mButtonScale, mButtonsEnabled, mCanTearOff, mDragHandle, mDragOnLeft, mEditing, mExpandedRect, mFirstLook, mForeground, mHandle, mHasBeenDraggedWhileMinimized, mMinHeight, mMinimized, mMinWidth, mPreviousMinimizedBottom, mPreviousMinimizedLeft, mResizable, mResizeBar, mResizeHandle, NULL, LLPanel::removeBorder(), LLView::removeChild(), RESIZE_HANDLE_HEIGHT, RESIZE_HANDLE_WIDTH, LLResizeBar::RIGHT, LLResizeHandle::RIGHT_BOTTOM, LLResizeHandle::RIGHT_TOP, S32, S32_MAX, LLRectBase< Type >::set(), LLPanel::setBackgroundVisible(), LLView::setFocusRoot(), LLView::setMouseOpaque(), LLRectBase< Type >::setOriginAndSize(), setVisible(), sFloaterMap, LLResizeBar::TOP, and TRUE.
Referenced by LLFloaterScriptDebugOutput::initFloater(), initFloaterXML(), and LLFloater().
void LLFloater::open | ( | ) | [virtual] |
Reimplemented in LLMultiFloater, LLModalDialog, LLMultiPreview, LLPreview, LLFloaterScriptSearch, LLPreviewLSL, and LLLiveLSLEditor.
Definition at line 483 of file llfloater.cpp.
References LLMultiFloater::addFloater(), FALSE, getFloaterHost(), getHost(), LLView::getSoundFlags(), LLView::getVisible(), isMinimized(), make_ui_sound(), mAutoFocus, NULL, onOpen(), setMinimized(), setVisibleAndFrontmost(), LLMultiFloater::showFloater(), and LLView::SILENT.
Referenced by LLIMMgr::addSession(), LLFloaterBuyCurrency::buyCurrency(), LLFloaterBuyLand::buyLand(), LLFloaterNotRunQueue::create(), LLFloaterRunQueue::create(), LLFloaterResetQueue::create(), LLFloaterCompileQueue::create(), LLTearOffMenu::create(), LLObjectEdit::handleEvent(), LLNewWindow::handleEvent(), LLViewerWindow::handlePerFrameHover(), initFloaterXML(), LLFloaterWindLight::instance(), LLFloaterWater::instance(), LLFloaterPostProcess::instance(), LLFloaterGodTools::instance(), LLFloaterEnvSettings::instance(), LLFloaterDayCycle::instance(), LLFloaterPay::LLFloaterPay(), LLFloaterTestImpl::LLFloaterTestImpl(), LLPrefsVoice::onClickVoiceDeviceSettingsBtn(), LLLiveLSLEditor::open(), LLPreviewLSL::open(), LLFloaterScriptSearch::open(), LLPreview::open(), LLModalDialog::open(), LLMultiFloater::open(), LLFloaterSellLand::sellLand(), LLMorphView::setVisible(), LLFloaterWorldMap::show(), LLFloaterWindLight::show(), LLFloaterWater::show(), LLFloaterURLEntry::show(), LLFloaterSnapshot::show(), LLFloaterSettingsDebug::show(), LLFloaterScriptDebugOutput::show(), LLFloaterReleaseMsg::show(), LLFloaterProperties::show(), LLFloaterPreference::show(), LLFloaterPostProcess::show(), LLFloaterPermissionsMgr::show(), LLFloaterParcelInfo::show(), LLFloaterOpenObject::show(), LLFloaterMuteObjectUI::show(), LLFloaterLandHoldings::show(), LLFloaterInspect::show(), LLFloaterHUD::show(), LLFloaterHardwareSettings::show(), LLFloaterGodTools::show(), LLFloaterGesture::show(), LLFloaterEventInfo::show(), LLFloaterEnvSettings::show(), LLFloaterDayCycle::show(), LLFloaterClassifiedInfo::show(), LLFloaterChatterBox::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), LLFloaterBump::show(), LLFloaterBuildOptions::show(), LLFloaterAvatarTextures::show(), LLFloaterAvatarPicker::show(), LLFloaterAuction::show(), LLFloaterAbout::show(), LLDebugVarMessageBox::show(), VisibilityPolicy< LLFloater >::show(), LLInventoryView::showAgentInventory(), LLFloaterGroupInvite::showForGroup(), LLFloaterReporter::showFromMenu(), LLFloaterReporter::showFromObject(), LLFloaterPostcard::showFromSnapshot(), LLFloaterGroupInfo::showFromUUID(), LLFloaterGodTools::showPanel(), LLFloaterDirectory::showPanel(), LLTextureCtrl::showPicker(), LLTaskInvFVBridge::showProperties(), LLFloaterColorPicker::showUI(), LLFloaterMap::toggle(), toggle_map(), LLFloaterDirectory::toggleEvents(), LLFloaterDirectory::toggleFind(), and LLInventoryView::toggleFindOptions().
void LLFloater::close | ( | bool | app_quitting = false |
) | [virtual] |
Reimplemented in LLFloaterNewIM.
Definition at line 516 of file llfloater.cpp.
References canClose(), cleanupHandles(), LLFocusMgr::clearLastFocusForGroup(), close(), FALSE, LLHandle< T >::get(), getHost(), LLView::getSoundFlags(), LLView::getVisible(), gFocusMgr, LLUICtrl::hasFocus(), LLMortician::isDead(), isDependent(), make_ui_sound(), mDependeeHandle, mDependents, onClose(), releaseFocus(), setFocus(), setMinimized(), LLView::SILENT, and TRUE.
Referenced by LLFloaterHardwareSettings::cancel(), LLFloaterSellLandUI::SelectionObserver::changed(), LLFloaterBuyLandUI::SelectionObserver::changed(), LLPanelGroup::close(), LLFloaterNewIM::close(), close(), LLFloaterView::closeAllChildren(), LLMultiFloater::closeAllFloaters(), LLFloaterProperties::closeByID(), LLTextureCtrl::closeFloater(), LLFloaterGroupInvite::impl::closeFloater(), closeFocusedFloater(), LLLiveLSLEditor::closeIfNeeded(), LLPreviewLSL::closeIfNeeded(), LLIMMgr::disconnectAllSessions(), LLMenuItemTearOffGL::doIt(), LLFloaterBuyLandUI::draw(), LLFloaterBuyCurrencyUI::draw(), LLMultiFloater::draw(), LLFloaterWorldMap::fly(), LLWorldMapView::handleDoubleClick(), LLWorldWaterSettings::handleEvent(), LLWorldEnvSettings::handleEvent(), LLVoiceHotkeySelectDialog::handleKeyHere(), LLFloaterChatterBox::handleKeyHere(), LLFloaterAvatarPicker::handleKeyHere(), LLModalDialog::handleKeyHere(), LLMultiFloater::handleKeyHere(), LLFloaterURLEntry::headerFetchComplete(), LLPreview::hide(), LLFloaterWorldMap::hide(), LLFloaterSnapshot::hide(), LLFloaterDirectory::hide(), VisibilityPolicy< LLFloater >::hide(), LLFloaterHardwareSettings::instance(), LLFloaterGroupPicker::ok(), LLFloaterPreference::onBtnCancel(), LLFloaterNameDesc::onBtnCancel(), LLFloaterPreference::onBtnOK(), LLFloaterNameDesc::onBtnOK(), LLFloaterHardwareSettings::onBtnOK(), LLFloaterAnimPreview::onBtnOK(), LLFloaterBuyContents::onClickBuy(), LLFloaterBuy::onClickBuy(), LLPanelAvatar::onClickCancel(), LLFloaterBuyContents::onClickCancel(), LLFloaterBuy::onClickCancel(), LLFloaterSnapshot::Impl::onClickDiscard(), LLFloaterSnapshot::Impl::onClickKeep(), LLPanelAvatar::onClickOK(), LLPanelPlace::onClickTeleport(), LLInventoryViewFinder::onCloseBtn(), LLFloaterIMPanel::onConfirmForceCloseError(), LLFloaterPay::onGive(), LLFloaterWorldMap::onGoHome(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLMultiFloater::open(), LLFloaterPay::payViaObject(), reset_view_final(), LLPanelClassified::saveCallback(), LLColorSwatchCtrl::setEnabled(), LLFloaterScriptSearch::show(), LLAlertDialog::show(), LLFloaterColorPicker::showUI(), LLMultiFloater::tabClose(), LLFloaterWorldMap::toggle(), LLFloaterMap::toggle(), toggle_map(), LLFloaterDirectory::toggleEvents(), LLFloaterDirectory::toggleFind(), LLInventoryView::toggleFindOptions(), LLInventoryView::toggleVisibility(), LLFloaterGesture::toggleVisibility(), LLFloaterClothing::toggleVisibility(), LLColorSwatchCtrl::~LLColorSwatchCtrl(), and LLScriptEdCore::~LLScriptEdCore().
Reimplemented from LLView.
Reimplemented in LLModalDialog, LLFloaterWorldMap, LLPreviewNotecard, LLPreviewLSL, and LLLiveLSLEditor.
Definition at line 580 of file llfloater.cpp.
References LLView::reshape().
Referenced by LLFloaterView::adjustToFitScreen(), applyRectControl(), LLTearOffMenu::draw(), LLMultiFloater::growToFit(), LLFloaterHtml::LLFloaterHtml(), LLFloaterHUD::LLFloaterHUD(), LLFloaterReleaseMsg::LLFloaterReleaseMsg(), LLTearOffMenu::LLTearOffMenu(), LLFloaterSnapshot::Impl::onClickLess(), LLFloaterSnapshot::Impl::onClickMore(), LLMultiFloater::removeFloater(), LLLiveLSLEditor::reshape(), LLPreviewLSL::reshape(), LLPreviewNotecard::reshape(), LLFloaterWorldMap::reshape(), LLFloaterStats::reshape(), LLModalDialog::reshape(), setMinimized(), LLDebugVarMessageBox::show(), LLFloaterTools::showMore(), LLPreviewTexture::updateDimensions(), LLFloaterSnapshot::Impl::updateLayout(), and LLMultiFloater::updateResizeLimits().
void LLFloater::releaseFocus | ( | ) |
Definition at line 585 of file llfloater.cpp.
References LLFocusMgr::childHasKeyboardFocus(), LLFocusMgr::childHasMouseCapture(), LLFocusMgr::childIsTopCtrl(), gFocusMgr, NULL, LLFocusMgr::setKeyboardFocus(), LLFocusMgr::setMouseCapture(), and LLFocusMgr::setTopCtrl().
Referenced by close(), setForeground(), setMinimized(), and ~LLFloater().
void LLFloater::center | ( | ) |
Definition at line 630 of file llfloater.cpp.
References LLView::centerWithin(), getHost(), and LLView::getRect().
Referenced by LLFloaterGodTools::instance(), invite_to_group(), LLFloaterAbout::LLFloaterAbout(), LLFloaterJoystick::LLFloaterJoystick(), LLFloaterPay::LLFloaterPay(), LLFloaterTestImpl::LLFloaterTestImpl(), LLFloaterURLDisplay::LLFloaterURLDisplay(), LLFloaterVoiceDeviceSettings::LLFloaterVoiceDeviceSettings(), LLFloaterTopObjects::show(), LLFloaterReleaseMsg::show(), LLFloaterPreference::show(), LLFloaterParcelInfo::show(), LLFloaterOpenObject::show(), LLFloaterMuteObjectUI::show(), LLFloaterLandHoldings::show(), LLFloaterHardwareSettings::show(), LLFloaterEventInfo::show(), LLFloaterClassifiedInfo::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), LLFloaterAvatarPicker::show(), LLFloaterAvatarInfo::show(), LLFloaterAuction::show(), LLFloaterGroupInvite::showForGroup(), LLFloaterReporter::showFromMenu(), LLFloaterReporter::showFromObject(), LLFloaterGroupInfo::showFromUUID(), LLFloaterSellLandUI::soleInstance(), LLFloaterBuyLandUI::soleInstance(), LLFloaterBuyCurrencyUI::soleInstance(), and LLFloaterBuyLandUI::updateParcelInfo().
void LLFloater::applyRectControl | ( | ) |
Definition at line 640 of file llfloater.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLControlGroup::getRect(), LLPanel::getRectControl(), LLRectBase< Type >::getWidth(), llmax(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, mMinHeight, mMinWidth, mResizable, reshape(), LLUI::sConfigGroup, and LLView::translate().
Referenced by initFloaterXML(), and LLMultiFloater::removeFloater().
LLMultiFloater* LLFloater::getHost | ( | ) | [inline] |
Definition at line 143 of file llfloater.h.
References LLHandle< T >::get(), and mHostHandle.
Referenced by LLFloaterChatterBox::addFloater(), LLMultiFloater::addFloater(), LLFloaterIMPanel::addHistoryLine(), LLFloaterView::bringToFront(), bringToFront(), LLFloaterNewIM::canClose(), center(), LLFloaterNewIM::close(), close(), draw(), LLFloaterChat::hide(), LLMultiFloater::isFloaterFlashing(), LLFloaterScriptQueue::LLFloaterScriptQueue(), LLFloaterScriptSearch::LLFloaterScriptSearch(), LLLiveLSLEditor::LLLiveLSLEditor(), LLPreviewAnim::LLPreviewAnim(), LLPreviewLSL::LLPreviewLSL(), LLPreviewNotecard::LLPreviewNotecard(), LLPreviewSound::LLPreviewSound(), LLPreviewTexture::LLPreviewTexture(), LLFloaterGesture::onClickEdit(), LLPreview::open(), open(), LLMultiFloater::removeFloater(), LLMultiFloater::setFloaterFlashing(), setFocus(), setFrontmost(), LLFloaterIMPanel::setVisible(), LLPreview::show(), LLFloaterProperties::show(), VisibilityPolicy< LLFloater >::show(), LLFloaterChat::updateConsoleVisibility(), and LLPreviewTexture::updateDimensions().
void LLFloater::setTitle | ( | const LLString & | title | ) |
Definition at line 653 of file llfloater.cpp.
References gNoRender, mDragHandle, and LLDragHandle::setTitle().
Referenced by LLFloaterScriptDebugOutput::addLine(), LLFloaterGroupInfo::callbackLoadGroupName(), LLInventoryView::changed(), LLLiveLSLEditor::draw(), LLInventoryView::draw(), LLFloaterTopObjects::handleReply(), LLFloaterIMPanel::init(), LLAlertDialog::LLAlertDialog(), LLFloaterAbout::LLFloaterAbout(), LLFloaterHtmlHelp::LLFloaterHtmlHelp(), LLFloaterScriptQueue::LLFloaterScriptQueue(), LLLiveLSLEditor::LLLiveLSLEditor(), LLPreviewAnim::LLPreviewAnim(), LLPreviewLSL::LLPreviewLSL(), LLPreviewNotecard::LLPreviewNotecard(), LLPreviewSound::LLPreviewSound(), LLPreviewTexture::LLPreviewTexture(), LLFloaterTexturePicker::postBuild(), LLFloaterNameDesc::postBuild(), LLFloaterGesture::postBuild(), LLFloaterAnimPreview::postBuild(), LLFloaterIMPanel::processSessionUpdate(), LLFloaterAvatarTextures::refresh(), LLPreview::refreshFromItem(), LLPreview::rename(), LLFloaterReleaseMsg::show(), LLFloaterHtml::show(), LLFloaterBuy::show(), LLInventoryView::showAgentInventory(), and LLInventoryViewFinder::updateElementsFromFilter().
const LLString & LLFloater::getTitle | ( | ) | const |
Definition at line 663 of file llfloater.cpp.
References LLDragHandle::getTitle(), mDragHandle, and LLStringBase< char >::null.
Referenced by LLFloaterIMPanel::addHistoryLine(), draw(), getXML(), handle_save_to_xml(), LLAlertDialog::hasTitleBar(), LLFloaterIMPanel::init(), initFloaterXML(), LLFloaterReleaseMsg::LLFloaterReleaseMsg(), LLFloaterIMPanel::onClickMuteVoice(), LLFloaterGesture::postBuild(), LLFloaterAvatarTextures::postBuild(), LLFloaterIMPanel::showSessionEventError(), LLFloaterIMPanel::showSessionForceClose(), and LLFloaterIMPanel::showSessionStartError().
void LLFloater::setShortTitle | ( | const LLString & | short_title | ) |
Definition at line 668 of file llfloater.cpp.
References mShortTitle.
Referenced by initFloaterXML().
LLString LLFloater::getShortTitle | ( | ) |
Definition at line 673 of file llfloater.cpp.
References LLDragHandle::getTitle(), mDragHandle, mShortTitle, and LLStringBase< char >::null.
Referenced by LLMultiFloater::addFloater(), LLVoiceRemoteCtrl::draw(), LLMultiFloater::draw(), initFloaterXML(), and LLToolBar::updateCommunicateList().
void LLFloater::setTitleVisible | ( | bool | visible | ) |
Definition at line 957 of file llfloater.cpp.
References mDragHandle, and LLDragHandle::setTitleVisible().
Referenced by LLFloaterHUD::LLFloaterHUD().
void LLFloater::setMinimized | ( | BOOL | b | ) | [virtual] |
Reimplemented in LLFloaterBuyLandUI, LLFloaterChat, LLFloaterChatterBox, and LLPreviewGesture.
Definition at line 778 of file llfloater.cpp.
References BUTTON_MINIMIZE, BUTTON_RESTORE, FALSE, LLRectBase< Type >::getHeight(), LLFloaterView::getMinimizePosition(), LLView::getRect(), LLRectBase< Type >::getWidth(), i, isMinimizeable(), isMinimized(), isResizable(), LLFLOATER_HEADER_SIZE, make_ui_sound(), LLRectBase< Type >::mBottom, mButtonsEnabled, mDependents, mDragHandle, mExpandedRect, mHasBeenDraggedWhileMinimized, MINIMIZED_WIDTH, LLRectBase< Type >::mLeft, mMinimized, mPreviousMinimizedBottom, mPreviousMinimizedLeft, mResizeBar, mResizeHandle, NULL, releaseFocus(), reshape(), S32, LLPanel::setBorderVisible(), LLView::setEnabled(), setMinimized(), LLView::setOrigin(), setVisible(), LLView::setVisible(), TRUE, and updateButtons().
Referenced by LLFloaterView::bringToFront(), close(), handleDoubleClick(), LLFloaterTools::onClose(), open(), LLFloaterView::restoreAll(), setCanMinimize(), LLPreviewGesture::setMinimized(), LLFloaterChatterBox::setMinimized(), LLFloaterChat::setMinimized(), LLFloaterBuyLandUI::setMinimized(), setMinimized(), ~LLFloater(), and LLFloaterDirectory::~LLFloaterDirectory().
void LLFloater::moveResizeHandlesToFront | ( | ) |
Definition at line 1029 of file llfloater.cpp.
References i, mResizeBar, mResizeHandle, S32, and LLView::sendChildToFront().
Referenced by LLFloaterScriptDebug::addOutputWindow(), initFloaterXML(), and LLFloaterDirectory::LLFloaterDirectory().
Definition at line 1053 of file llfloater.cpp.
References LLFloaterView::adjustToFitScreen(), LLFloaterView::bringToFront(), FALSE, LLFloaterView::findNeighboringPosition(), getHandle(), isFrontmost(), mDependeeHandle, mDependents, LLView::setRect(), and setSnapTarget().
Referenced by LLPanelEstateInfo::addAllowedGroup(), addDependentFloater(), LLPanelGroupInvite::impl::callbackClickAdd(), LLMenuItemTearOffGL::doIt(), LLFloaterSellLandUI::doSelectAgent(), LLPanelGroupTab::handleClickHelp(), LLFloaterScriptSearch::LLFloaterScriptSearch(), LLPanelLandAccess::onClickAddAccess(), LLPanelLandAccess::onClickAddBanned(), LLPanelFriends::onClickAddFriend(), LLPanelPermissions::onClickGroup(), LLFloaterWindLight::onClickHelp(), LLFloaterWater::onClickHelp(), LLFloaterEnvSettings::onClickHelp(), LLFloaterDayCycle::onClickHelp(), LLPanelInput::onClickJoystickSetup(), LLFloaterSnapshot::Impl::onClickKeep(), LLPanelRegionGeneralInfo::onClickKick(), LLPanelEstateInfo::onClickKickUser(), LLFloaterMute::onClickMuteByName(), LLFloaterMute::onClickPick(), LLFloaterReporter::onClickSelectAbuser(), LLPanelObjectTools::onClickSet(), LLPanelLandGeneral::onClickSetGroup(), LLPrefsVoice::onClickVoiceDeviceSettingsBtn(), LLPanelDisplay::onOpenHelp(), LLPanelLandMedia::onSetBtn(), LLTextureCtrl::showPicker(), LLColorSwatchCtrl::showPicker(), and LLInventoryView::toggleFindOptions().
void LLFloater::addDependentFloater | ( | LLHandle< LLFloater > | dependent_handle, | |
BOOL | reposition = TRUE | |||
) |
Definition at line 1071 of file llfloater.cpp.
References addDependentFloater(), and LLHandle< T >::get().
LLFloater* LLFloater::getDependee | ( | ) | [inline] |
Definition at line 154 of file llfloater.h.
References LLHandle< T >::get(), and mDependeeHandle.
Referenced by LLFloaterPostcard::sendPostcard().
void LLFloater::removeDependentFloater | ( | LLFloater * | dependent | ) |
Definition at line 1080 of file llfloater.cpp.
References getHandle(), mDependeeHandle, and mDependents.
Referenced by LLFloaterPostcard::sendPostcard().
BOOL LLFloater::isMinimized | ( | ) | [inline] |
Definition at line 156 of file llfloater.h.
References mMinimized.
Referenced by LLMultiFloater::addFloater(), LLFloaterTexturePicker::draw(), LLPreviewTexture::draw(), LLFloaterTelehub::draw(), LLFloaterSnapshot::draw(), LLFloaterPostcard::draw(), LLFloaterCustomize::draw(), LLScrollingPanelParam::draw(), LLPanelEditWearable::draw(), LLFloaterChatterBox::draw(), LLFloaterAuction::draw(), draw(), LLFloaterView::getMinimizePosition(), LLMultiFloater::growToFit(), LLViewerWindow::handlePerFrameHover(), LLFloaterWorldMap::handleScrollWheel(), open(), LLFloaterView::refresh(), LLLiveLSLEditor::reshape(), LLPreviewLSL::reshape(), LLPreviewNotecard::reshape(), setCanMinimize(), LLPreviewGesture::setMinimized(), LLFloaterBuyLandUI::setMinimized(), setMinimized(), LLFloaterChat::updateConsoleVisibility(), LLFloaterTools::updatePopup(), LLMultiFloater::updateResizeLimits(), userSetShape(), and VisibilityPolicy< LLFloater >::visible().
BOOL LLFloater::isFrontmost | ( | ) |
Definition at line 1048 of file llfloater.cpp.
References LLFloaterView::getFrontmost(), and LLView::getVisible().
Referenced by addDependentFloater(), LLPanelEditWearable::draw(), LLFloaterColorPicker::handleHover(), LLFloaterWorldMap::handleScrollWheel(), LLToolBar::onClickCommunicate(), and setFocus().
BOOL LLFloater::isDependent | ( | ) | [inline] |
Definition at line 158 of file llfloater.h.
References LLHandle< T >::isDead(), and mDependeeHandle.
Referenced by LLFloaterView::bringToFront(), close(), LLFloaterView::highlightFocusedFloater(), and LLFloaterView::reshapeFloater().
void LLFloater::setCanMinimize | ( | BOOL | can_minimize | ) |
Definition at line 1422 of file llfloater.cpp.
References BUTTON_MINIMIZE, BUTTON_RESTORE, FALSE, isMinimized(), mButtonsEnabled, setMinimized(), TRUE, and updateButtons().
Referenced by LLMultiFloater::addFloater(), LLFloaterLandmark::LLFloaterLandmark(), LLFloaterTexturePicker::LLFloaterTexturePicker(), and LLMultiFloater::removeFloater().
void LLFloater::setCanClose | ( | BOOL | can_close | ) |
Definition at line 1453 of file llfloater.cpp.
References BUTTON_CLOSE, mButtonsEnabled, and updateButtons().
Referenced by LLFloaterChatterBox::addFloater(), LLFloaterScriptDebugOutput::addLine(), and LLFloaterChatterBox::removeFloater().
void LLFloater::setCanTearOff | ( | BOOL | can_tear_off | ) |
Definition at line 1460 of file llfloater.cpp.
References BUTTON_TEAR_OFF, LLHandle< T >::isDead(), mButtonsEnabled, mCanTearOff, mHostHandle, and updateButtons().
Referenced by LLFloaterScriptDebugOutput::addLine(), draw(), and initFloaterXML().
void LLFloater::setCanResize | ( | BOOL | can_resize | ) | [virtual] |
Reimplemented in LLMultiFloater.
Definition at line 1469 of file llfloater.cpp.
References LLView::addChild(), LLResizeBar::BOTTOM, LLView::getRect(), i, LLResizeBar::LEFT, LLResizeHandle::LEFT_BOTTOM, LLResizeHandle::LEFT_TOP, mMinHeight, mMinWidth, mResizable, mResizeBar, mResizeHandle, NULL, LLView::removeChild(), RESIZE_HANDLE_HEIGHT, RESIZE_HANDLE_WIDTH, LLResizeBar::RIGHT, LLResizeHandle::RIGHT_BOTTOM, LLResizeHandle::RIGHT_TOP, S32, S32_MAX, LLResizeBar::TOP, and TRUE.
Referenced by LLMultiFloater::addFloater(), LLMultiFloater::removeFloater(), and LLMultiFloater::setCanResize().
void LLFloater::setCanDrag | ( | BOOL | can_drag | ) |
Definition at line 1548 of file llfloater.cpp.
References FALSE, LLView::getEnabled(), mDragHandle, LLView::setEnabled(), and TRUE.
Referenced by LLMultiFloater::addFloater(), and LLMultiFloater::removeFloater().
void LLFloater::setHost | ( | LLMultiFloater * | host | ) |
Definition at line 999 of file llfloater.cpp.
References BUTTON_TEAR_OFF, getHandle(), LLHandle< T >::isDead(), LLHandle< T >::markDead(), mButtonScale, mButtonsEnabled, mCanTearOff, mHostHandle, mLastHostHandle, TRUE, and updateButtons().
Referenced by LLMultiFloater::addFloater(), and LLMultiFloater::removeFloater().
BOOL LLFloater::isResizable | ( | ) | const [inline] |
Definition at line 165 of file llfloater.h.
References mResizable.
Referenced by LLMultiFloater::addFloater(), LLFloaterView::adjustToFitScreen(), getXML(), initFloaterXML(), LLMultiFloater::LLMultiFloater(), LLMultiFloater::setCanResize(), and setMinimized().
Definition at line 604 of file llfloater.cpp.
References i, LLResizeBar::LEFT, mMinHeight, mMinWidth, mResizeBar, mResizeHandle, LLResizeBar::RIGHT, S32, S32_MAX, LLResizeHandle::setResizeLimits(), and LLResizeBar::setResizeLimits().
Referenced by LLMultiFloater::updateResizeLimits().
Definition at line 167 of file llfloater.h.
References mMinHeight, and mMinWidth.
Referenced by LLFloaterView::adjustToFitScreen(), and LLMultiFloater::postBuild().
bool LLFloater::isMinimizeable | ( | ) | const [inline] |
Definition at line 169 of file llfloater.h.
References BUTTON_MINIMIZE, and mButtonsEnabled.
Referenced by LLMultiFloater::addFloater(), getXML(), LLAlertDialog::hasTitleBar(), initFloaterXML(), and setMinimized().
bool LLFloater::isCloseable | ( | ) | const [inline] |
Definition at line 171 of file llfloater.h.
References BUTTON_CLOSE, and mButtonsEnabled.
Referenced by getXML(), LLFloaterChatterBox::handleKeyHere(), LLMultiFloater::handleKeyHere(), LLAlertDialog::hasTitleBar(), and initFloaterXML().
bool LLFloater::isDragOnLeft | ( | ) | const [inline] |
Definition at line 172 of file llfloater.h.
References mDragOnLeft.
Referenced by getXML(), and initFloaterXML().
S32 LLFloater::getMinWidth | ( | ) | const [inline] |
Definition at line 173 of file llfloater.h.
References mMinWidth.
Referenced by getXML(), initFloaterXML(), LLPreviewTexture::updateDimensions(), and LLMultiFloater::updateResizeLimits().
S32 LLFloater::getMinHeight | ( | ) | const [inline] |
Definition at line 174 of file llfloater.h.
References mMinHeight.
Referenced by getXML(), initFloaterXML(), LLPreviewTexture::updateDimensions(), and LLMultiFloater::updateResizeLimits().
Reimplemented from LLView.
Reimplemented in LLModalDialog, LLFastTimerView, LLFloaterAnimPreview, LLFloaterColorPicker, LLFloaterImagePreview, and LLPreview.
Definition at line 1087 of file llfloater.cpp.
References bringToFront(), BUTTON_CLOSE, BUTTON_RESTORE, LLView::getRect(), LLView::handleMouseDown(), LLDragHandle::handleMouseDown(), LLRectBase< Type >::mBottom, mButtons, mButtonsEnabled, mDragHandle, LLRectBase< Type >::mLeft, mMinimized, LLView::pointInView(), S32, and TRUE.
Referenced by LLPreview::handleMouseDown(), LLFloaterImagePreview::handleMouseDown(), LLFloaterColorPicker::handleMouseDown(), LLFloaterAnimPreview::handleMouseDown(), and LLModalDialog::handleMouseDown().
Reimplemented from LLView.
Reimplemented in LLModalDialog, and LLFastTimerView.
Definition at line 1130 of file llfloater.cpp.
References bringToFront(), LLView::handleRightMouseDown(), and mMinimized.
Reimplemented from LLView.
Reimplemented in LLModalDialog.
Definition at line 1139 of file llfloater.cpp.
References FALSE, LLView::handleDoubleClick(), mMinimized, and setMinimized().
Referenced by LLModalDialog::handleDoubleClick().
void LLFloater::draw | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLAlertDialog, LLMultiFloater, LLTearOffMenu, LLModalDialog, LLDebugVarMessageBox, LLFastTimerView, LLFloaterActiveSpeakers, LLFloaterAnimPreview, LLFloaterAuction, LLFloaterAvatarInfo, LLFloaterAvatarTextures, LLFloaterBuyCurrencyUI, LLFloaterBuyLandUI, LLFloaterChat, LLFloaterChatterBox, LLFloaterColorPicker, LLMakeOutfitDialog, LLFloaterCustomize, LLFloaterEditUI, LLFloaterGodTools, LLFloaterHtml, LLFloaterHtmlHelp, LLFloaterMediaBrowser, LLFloaterImagePreview, LLFloaterInspect, LLFloaterJoystick, LLFloaterLagMeter, LLFloaterLandHoldings, LLFloaterMap, LLFloaterOpenObject, LLFloaterPostcard, LLFloaterProperties, LLFloaterReporter, LLFloaterSettingsDebug, LLFloaterSnapshot, LLFloaterTelehub, LLFloaterTools, LLFloaterTOS, LLFloaterVoiceDeviceSettings, LLFloaterWorldMap, LLFloaterIMPanel, LLInventoryViewFinder, LLInventoryView, LLPreview, LLPreviewLandmark, LLPreviewNotecard, LLLiveLSLEditor, LLPreviewTexture, and LLFloaterTexturePicker.
Definition at line 1313 of file llfloater.cpp.
References BUTTON_COUNT, LLFocusMgr::childHasKeyboardFocus(), LLView::draw(), LLView::drawChild(), FALSE, LLHandle< T >::get(), LLPanel::getBackgroundColor(), LLControlGroup::getColor(), LLPanel::getDefaultButton(), LLView::getEnabled(), LLRectBase< Type >::getHeight(), getHost(), LLSingleton< LLResMgr >::getInstance(), LLUICtrl::getIsChrome(), LLFocusMgr::getKeyboardFocus(), LLFontGL::getLineHeight(), LLView::getParent(), LLView::getRect(), LLResMgr::getRes(), getTitle(), LLPanel::getTransparentColor(), LLView::getVisible(), LLRectBase< Type >::getWidth(), gFocusMgr, gl_drop_shadow(), gl_rect_2d(), gl_rect_2d_offset_local(), LLUICtrl::hasFocus(), i, LLPanel::isBackgroundOpaque(), LLPanel::isBackgroundVisible(), isMinimized(), LLFONT_SANSSERIF, LLPANEL_BORDER_WIDTH, llround(), mButtons, mCanTearOff, mDragHandle, mLastHostHandle, LLColor4::mV, NULL, r, S32, LLUI::sColorsGroup, LLUI::sConfigGroup, LLButton::setBorderEnabled(), setCanTearOff(), LLUI::setLineWidth(), LLView::setVisible(), TRUE, LLPanel::updateDefaultBtn(), and VALPHA.
Referenced by LLFloaterTexturePicker::draw(), LLLiveLSLEditor::draw(), LLPreview::draw(), LLInventoryView::draw(), LLInventoryViewFinder::draw(), LLFloaterIMPanel::draw(), LLFloaterWorldMap::draw(), LLFloaterVoiceDeviceSettings::draw(), LLFloaterTools::draw(), LLFloaterTelehub::draw(), LLFloaterSnapshot::draw(), LLFloaterSettingsDebug::draw(), LLFloaterReporter::draw(), LLFloaterProperties::draw(), LLFloaterPostcard::draw(), LLFloaterOpenObject::draw(), LLFloaterMap::draw(), LLFloaterLandHoldings::draw(), LLFloaterLagMeter::draw(), LLFloaterJoystick::draw(), LLFloaterInspect::draw(), LLFloaterImagePreview::draw(), LLFloaterHtmlHelp::draw(), LLFloaterMediaBrowser::draw(), LLFloaterHtml::draw(), LLFloaterGodTools::draw(), LLFloaterEditUI::draw(), LLFloaterCustomize::draw(), LLFloaterColorPicker::draw(), LLFloaterChat::draw(), LLFloaterBuyLandUI::draw(), LLFloaterBuyCurrencyUI::draw(), LLFloaterAvatarTextures::draw(), LLFloaterAvatarInfo::draw(), LLFloaterAuction::draw(), LLFloaterAnimPreview::draw(), LLFloaterActiveSpeakers::draw(), LLDebugVarMessageBox::draw(), LLModalDialog::draw(), LLTearOffMenu::draw(), and LLMultiFloater::draw().
virtual void LLFloater::onOpen | ( | ) | [inline, virtual] |
Reimplemented in LLFloaterActiveSpeakers, LLFloaterCamera, LLFloaterChatterBox, LLFloaterLand, LLFloaterRegionInfo, LLFloaterTools, LLFloaterVoiceDeviceSettings, and LLFloaterMove.
Definition at line 182 of file llfloater.h.
Referenced by LLFloaterMove::onOpen(), LLFloaterVoiceDeviceSettings::onOpen(), LLFloaterRegionInfo::onOpen(), LLFloaterCamera::onOpen(), and open().
virtual void LLFloater::onClose | ( | bool | app_quitting | ) | [inline, virtual] |
Reimplemented in LLAlertDialog, LLMultiFloater, LLTearOffMenu, LLModalDialog, LLDebugVarMessageBox, LLFloaterActiveSpeakers, LLFloaterAuction, LLFloaterBuyCurrencyUI, LLFloaterBuyLandUI, LLFloaterCamera, LLFloaterChat, LLFloaterChatterBox, LLFloaterMyFriends, LLFloaterClothing, LLFloaterColorPicker, LLFloaterCustomize, LLFloaterDayCycle, LLFloaterDirectory, LLFloaterEnvSettings, LLFloaterGodTools, LLFloaterHardwareSettings, LLFloaterHtml, LLFloaterHtmlHelp, LLFloaterMediaBrowser, LLFloaterLand, LLFloaterLandmark, LLFloaterMap, LLFloaterMute, LLFloaterPermissionsMgr, LLFloaterPostProcess, LLFloaterPreference, LLFloaterScriptDebug, LLFloaterSellLandUI, LLFloaterSnapshot, LLFloaterStats, LLFloaterTools, LLFloaterVoiceDeviceSettings, LLFloaterWater, LLFloaterWindLight, LLFloaterWorldMap, LLFloaterIMPanel, LLInventoryViewFinder, LLInventoryView, LLFloaterMove, LLPreviewAnim, LLPreviewGesture, and LLFloaterTexturePicker.
Definition at line 187 of file llfloater.h.
References destroy().
Referenced by close(), LLPreviewGesture::onClose(), LLFloaterMove::onClose(), LLFloaterSellLandUI::onClose(), LLFloaterPreference::onClose(), LLFloaterColorPicker::onClose(), LLFloaterClothing::onClose(), LLFloaterCamera::onClose(), LLFloaterBuyLandUI::onClose(), LLFloaterBuyCurrencyUI::onClose(), LLModalDialog::onClose(), and LLMultiFloater::onClose().
virtual BOOL LLFloater::canClose | ( | ) | [inline, virtual] |
Reimplemented in LLFloaterAvatarInfo, LLFloaterBuyCurrencyUI, LLFloaterBuyLandUI, LLFloaterGroupInfo, LLFloaterMap, LLFloaterNewIM, LLFloaterTools, LLPreviewGesture, LLPreviewNotecard, LLPreviewLSL, and LLLiveLSLEditor.
Definition at line 191 of file llfloater.h.
References TRUE.
Referenced by LLFloaterView::allChildrenClosed(), close(), LLFloaterView::closeAllChildren(), LLFloaterChatterBox::handleKeyHere(), LLMultiFloater::handleKeyHere(), and LLFloaterPreference::onBtnOK().
void LLFloater::setVisible | ( | BOOL | visible | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLAlertDialog, LLMultiFloater, LLModalDialog, LLFloaterChat, LLFloaterDirectory, LLFloaterMap, LLFloaterWorldMap, LLFloaterIMPanel, and LLInventoryView.
Definition at line 449 of file llfloater.cpp.
References LLFocusMgr::childHasMouseCapture(), LLFocusMgr::childIsTopCtrl(), FALSE, gFocusMgr, mDependents, mFirstLook, NULL, LLFocusMgr::setMouseCapture(), LLFocusMgr::setTopCtrl(), setVisible(), and LLView::setVisible().
Referenced by LLMultiFloater::addFloater(), LLFloaterColorPicker::cancelSelection(), LLFloaterColorPicker::createUI(), LLFloaterURLDisplay::displayParcelInfo(), LLShowFloater::handleEvent(), LLViewerWindow::handlePerFrameHover(), idle_startup(), initFloater(), LLViewerWindow::initWorldUI(), LLDebugView::LLDebugView(), LLFastTimerView::LLFastTimerView(), LLFloaterReporter::LLFloaterReporter(), LLFloaterURLDisplay::LLFloaterURLDisplay(), LLInventoryView::onClose(), LLFloaterWindLight::onClose(), LLFloaterWater::onClose(), LLFloaterVoiceDeviceSettings::onClose(), LLFloaterTools::onClose(), LLFloaterStats::onClose(), LLFloaterPostProcess::onClose(), LLFloaterPermissionsMgr::onClose(), LLFloaterMute::onClose(), LLFloaterMap::onClose(), LLFloaterHtmlHelp::onClose(), LLFloaterHtml::onClose(), LLFloaterHardwareSettings::onClose(), LLFloaterGodTools::onClose(), LLFloaterEnvSettings::onClose(), LLFloaterDayCycle::onClose(), LLFloaterMyFriends::onClose(), LLFloaterAuction::onClose(), LLFloaterActiveSpeakers::onClose(), LLDebugVarMessageBox::onClose(), LLFloaterTools::postBuild(), LLUICtrlFactory::rebuild(), LLFloaterPostcard::sendPostcard(), setMinimized(), LLInventoryView::setVisible(), LLFloaterWorldMap::setVisible(), LLFloaterMap::setVisible(), LLFloaterDirectory::setVisible(), LLFloaterChat::setVisible(), LLModalDialog::setVisible(), LLMultiFloater::setVisible(), setVisible(), setVisibleAndFrontmost(), and LLFloaterColorPicker::showUI().
void LLFloater::setFrontmost | ( | BOOL | take_focus = TRUE |
) |
Definition at line 1174 of file llfloater.cpp.
References bringToFront(), getHost(), LLView::getParent(), and LLMultiFloater::showFloater().
Referenced by LLFloaterClassifiedInfo::displayClassifiedInfo(), LLFloaterEventInfo::displayEventInfo(), LLFloaterURLDisplay::displayParcelInfo(), LLVoiceHotkeySelectDialog::handleKeyHere(), setFocus(), setVisibleAndFrontmost(), LLFloaterParcelInfo::show(), LLFloaterHUD::show(), LLFloaterEventInfo::show(), and LLFloaterClassifiedInfo::show().
virtual BOOL LLFloater::canSaveAs | ( | ) | const [inline, virtual] |
Reimplemented in LLPreviewTexture.
Definition at line 197 of file llfloater.h.
References FALSE.
Referenced by LLFileEnableSaveAs::handleEvent().
virtual void LLFloater::saveAs | ( | ) | [inline, virtual] |
Reimplemented in LLPreviewTexture.
Definition at line 199 of file llfloater.h.
Referenced by LLFileSaveTexture::handleEvent().
Definition at line 201 of file llfloater.h.
References mSnappedTo.
Referenced by addDependentFloater(), and snappedTo().
void LLFloater::clearSnapTarget | ( | ) | [inline] |
Definition at line 202 of file llfloater.h.
References LLHandle< T >::markDead(), and mSnappedTo.
Referenced by LLFloaterView::adjustToFitScreen(), and snappedTo().
Definition at line 203 of file llfloater.h.
References mSnappedTo.
Referenced by canSnapTo(), and userSetShape().
Reimplemented from LLView.
Definition at line 205 of file llfloater.h.
References mHandle.
Referenced by addDependentFloater(), LLMultiFloater::addFloater(), LLFloaterView::bringToFront(), LLUICtrlFactory::buildFloater(), canSnapTo(), LLIMMgr::createFloater(), LLMenuBarGL::fromXML(), LLScriptEdCore::onBtnDynamicHelp(), LLPanelLandGeneral::onClickBuyPass(), removeDependentFloater(), LLUICtrlFactory::removeFloater(), LLMultiFloater::removeFloater(), LLIMMgr::removeSession(), LLMultiPreview::setAutoOpenInstance(), setHost(), LLPreview::setSourceID(), LLFloaterURLEntry::show(), LLTextureCtrl::showPicker(), LLColorSwatchCtrl::showPicker(), snappedTo(), LLInventoryView::toggleFindOptions(), userSetShape(), and LLPreview::~LLPreview().
void LLFloater::closeFocusedFloater | ( | ) | [static] |
Definition at line 1269 of file llfloater.cpp.
References close(), LLFloaterView::focusFrontFloater(), LLFocusMgr::getKeyboardFocus(), gFocusMgr, LLUICtrl::hasFocus(), NULL, and sFloaterMap.
Referenced by LLFileCloseWindow::handleEvent().
void LLFloater::onClickClose | ( | void * | userdata | ) | [static] |
Reimplemented in LLFloaterHtml, LLFloaterHtmlHelp, LLFloaterMediaBrowser, LLFloaterNewIM, LLFloaterReleaseMsg, and LLFloaterIMPanel.
Definition at line 1303 of file llfloater.cpp.
Referenced by LLFloaterCustomize::postBuild().
void LLFloater::onClickMinimize | ( | void * | userdata | ) | [static] |
Definition at line 1214 of file llfloater.cpp.
void LLFloater::onClickTearOff | ( | void * | userdata | ) | [static] |
Definition at line 1222 of file llfloater.cpp.
References LLView::addChild(), LLFloaterView::adjustToFitScreen(), FALSE, LLView::getRect(), LLFLOATER_HEADER_SIZE, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLMultiFloater::open(), LLMultiFloater::removeFloater(), LLRectBase< Type >::setLeftTopAndSize(), LLMultiFloater::showFloater(), and TRUE.
void LLFloater::onClickEdit | ( | void * | userdata | ) | [static] |
static void LLFloater::setFloaterHost | ( | LLMultiFloater * | hostp | ) | [inline, static] |
Definition at line 214 of file llfloater.h.
References sHostp.
Referenced by LLFloaterScriptDebug::addOutputWindow(), doToSelected(), initFloaterXML(), LLModalDialog::open(), LLTaskLSLBridge::openItem(), LLFolderView::openSelectedItems(), and LLFolderView::propertiesSelectedItems().
void LLFloater::setEditModeEnabled | ( | BOOL | enable | ) | [static] |
Definition at line 1192 of file llfloater.cpp.
References BUTTON_EDIT, LLMortician::isDead(), S32, sEditModeEnabled, and sFloaterMap.
Referenced by edit_ui().
static BOOL LLFloater::getEditModeEnabled | ( | ) | [inline, static] |
Definition at line 216 of file llfloater.h.
References sEditModeEnabled.
Referenced by edit_ui().
static LLMultiFloater* LLFloater::getFloaterHost | ( | ) | [inline, static] |
Definition at line 217 of file llfloater.h.
References sHostp.
Referenced by LLTabContainer::fromXML(), initFloaterXML(), LLPreviewLSL::LLPreviewLSL(), LLPreview::open(), LLModalDialog::open(), open(), LLTaskLSLBridge::openItem(), LLPreview::show(), and LLFloaterProperties::show().
Definition at line 1146 of file llfloater.cpp.
References LLFloaterView::bringToFront(), getHost(), LLView::getParent(), LLView::getVisible(), LLView::pointInView(), and LLMultiFloater::showFloater().
Referenced by LLPreview::handleMouseDown(), LLFloaterImagePreview::handleMouseDown(), LLFloaterAnimPreview::handleMouseDown(), handleMouseDown(), handleRightMouseDown(), and setFrontmost().
void LLFloater::setVisibleAndFrontmost | ( | BOOL | take_focus = TRUE |
) | [protected, virtual] |
Definition at line 1168 of file llfloater.cpp.
References setFrontmost(), setVisible(), and TRUE.
Referenced by open(), LLFloaterTopObjects::show(), LLFloaterTelehub::show(), LLFloaterReleaseMsg::show(), LLFloaterHtmlHelp::show(), LLFloaterHtml::show(), and LLFloaterClothing::show().
void LLFloater::setExpandedRect | ( | const LLRect & | rect | ) | [inline, protected] |
Definition at line 224 of file llfloater.h.
References mExpandedRect.
Referenced by LLMultiFloater::growToFit(), and LLMultiFloater::updateResizeLimits().
const LLRect& LLFloater::getExpandedRect | ( | ) | const [inline, protected] |
Definition at line 225 of file llfloater.h.
References mExpandedRect.
Referenced by LLMultiFloater::growToFit(), and LLMultiFloater::updateResizeLimits().
void LLFloater::setAutoFocus | ( | BOOL | focus | ) | [inline, protected] |
Definition at line 227 of file llfloater.h.
References mAutoFocus.
Referenced by LLFloaterAvatarInfo::LLFloaterAvatarInfo(), LLFloaterTools::LLFloaterTools(), and LLPreview::LLPreview().
LLDragHandle* LLFloater::getDragHandle | ( | ) | const [inline, protected] |
Definition at line 228 of file llfloater.h.
References mDragHandle.
Referenced by LLFloaterTexturePicker::draw(), LLFloaterWorldMap::draw(), LLFloaterMap::draw(), LLFloaterColorPicker::draw(), LLFloaterMap::LLFloaterMap(), and LLFloaterTools::postBuild().
void LLFloater::destroy | ( | ) | [inline, protected] |
Definition at line 230 of file llfloater.h.
References LLMortician::die().
Referenced by LLInventoryView::cleanup(), LLFloaterTexturePicker::onClose(), LLPreviewAnim::onClose(), LLInventoryView::onClose(), LLInventoryViewFinder::onClose(), LLFloaterIMPanel::onClose(), LLFloaterSnapshot::onClose(), LLFloaterSellLandUI::onClose(), LLFloaterLandmark::onClose(), LLFloaterLand::onClose(), LLFloaterMediaBrowser::onClose(), LLFloaterBuyLandUI::onClose(), LLFloaterBuyCurrencyUI::onClose(), LLTearOffMenu::onClose(), and onClose().
void LLFloater::setForeground | ( | BOOL | b | ) | [private] |
Definition at line 964 of file llfloater.cpp.
References mDragHandle, mForeground, releaseFocus(), LLPanel::setBackgroundOpaque(), and LLDragHandle::setForeground().
Referenced by LLFloaterView::highlightFocusedFloater(), and LLFloaterView::unhighlightFocusedFloater().
void LLFloater::cleanupHandles | ( | ) | [private] |
Definition at line 981 of file llfloater.cpp.
References mDependents.
Referenced by close(), and LLFloaterView::highlightFocusedFloater().
void LLFloater::createMinimizeButton | ( | ) | [private] |
void LLFloater::updateButtons | ( | ) | [private] |
Reimplemented in LLFloaterMute.
Definition at line 1562 of file llfloater.cpp.
References BUTTON_CLOSE, BUTTON_COUNT, BUTTON_RESTORE, CLOSE_BOX_FROM_TOP, FALSE, LLView::getRect(), i, LLFLOATER_CLOSE_BOX_SIZE, LLPANEL_BORDER_WIDTH, llround(), mButtons, mButtonScale, mButtonsEnabled, mDragHandle, mDragOnLeft, S32, LLView::setEnabled(), LLRectBase< Type >::setLeftTopAndSize(), LLDragHandle::setMaxTitleWidth(), LLView::setRect(), LLUICtrl::setTabStop(), LLView::setVisible(), and TRUE.
Referenced by buildButtons(), setCanClose(), setCanMinimize(), setCanTearOff(), setHost(), and setMinimized().
void LLFloater::buildButtons | ( | ) | [private] |
Definition at line 1609 of file llfloater.cpp.
References LLView::addChild(), BUTTON_COUNT, CLOSE_BOX_FROM_TOP, FALSE, LLView::getRect(), i, LLFLOATER_CLOSE_BOX_SIZE, LLPANEL_BORDER_WIDTH, llround(), mButtons, mButtonScale, mDragOnLeft, S32, sButtonActiveImageNames, sButtonCallbacks, sButtonNames, sButtonPressedImageNames, sButtonToolTips, LLUI::sColorsGroup, LLView::setFollowsRight(), LLView::setFollowsTop(), LLButton::setHoverImages(), LLButton::setImageColor(), LLRectBase< Type >::setLeftTopAndSize(), LLView::setSaveToXML(), LLButton::setScaleImage(), LLUICtrl::setTabStop(), LLView::setToolTip(), LLFontGL::sSansSerif, TRUE, and updateButtons().
Referenced by initFloater().
friend class LLFloaterView [friend] |
Definition at line 76 of file llfloater.h.
LLRect LLFloater::mExpandedRect [private] |
Definition at line 240 of file llfloater.h.
Referenced by getExpandedRect(), initFloater(), setExpandedRect(), and setMinimized().
LLDragHandle* LLFloater::mDragHandle [private] |
Definition at line 241 of file llfloater.h.
Referenced by draw(), getDragHandle(), getShortTitle(), getTitle(), handleMouseDown(), initFloater(), LLFloater(), setCanDrag(), setForeground(), setIsChrome(), setMinimized(), setTitle(), setTitleVisible(), updateButtons(), and ~LLFloater().
LLResizeBar* LLFloater::mResizeBar[4] [private] |
Definition at line 242 of file llfloater.h.
Referenced by initFloater(), moveResizeHandlesToFront(), setCanResize(), setMinimized(), setResizeLimits(), and ~LLFloater().
LLResizeHandle* LLFloater::mResizeHandle[4] [private] |
Definition at line 243 of file llfloater.h.
Referenced by initFloater(), moveResizeHandlesToFront(), setCanResize(), setMinimized(), setResizeLimits(), and ~LLFloater().
LLButton* LLFloater::mMinimizeButton [private] |
Definition at line 244 of file llfloater.h.
BOOL LLFloater::mCanTearOff [private] |
Definition at line 245 of file llfloater.h.
Referenced by draw(), getXML(), initFloater(), setCanTearOff(), and setHost().
BOOL LLFloater::mMinimized [private] |
Definition at line 246 of file llfloater.h.
Referenced by handleDoubleClick(), handleMouseDown(), handleRightMouseDown(), initFloater(), isMinimized(), and setMinimized().
BOOL LLFloater::mForeground [private] |
LLHandle<LLFloater> LLFloater::mDependeeHandle [private] |
Definition at line 248 of file llfloater.h.
Referenced by addDependentFloater(), close(), getDependee(), isDependent(), and removeDependentFloater().
LLString LLFloater::mShortTitle [private] |
BOOL LLFloater::mFirstLook [private] |
BOOL LLFloater::mResizable [private] |
Definition at line 253 of file llfloater.h.
Referenced by applyRectControl(), initFloater(), isResizable(), and setCanResize().
S32 LLFloater::mMinWidth [private] |
Reimplemented in LLFloaterLagMeter.
Definition at line 254 of file llfloater.h.
Referenced by applyRectControl(), getMinWidth(), getResizeLimits(), initFloater(), setCanResize(), and setResizeLimits().
S32 LLFloater::mMinHeight [private] |
Definition at line 255 of file llfloater.h.
Referenced by applyRectControl(), getMinHeight(), getResizeLimits(), initFloater(), setCanResize(), and setResizeLimits().
BOOL LLFloater::mEditing [private] |
handle_set_t LLFloater::mDependents [private] |
Definition at line 261 of file llfloater.h.
Referenced by addDependentFloater(), LLFloaterView::bringToFront(), canSnapTo(), cleanupHandles(), close(), LLFloaterView::findNeighboringPosition(), LLFloaterView::highlightFocusedFloater(), removeDependentFloater(), LLFloaterView::reshapeFloater(), setMinimized(), setVisible(), and userSetShape().
bool LLFloater::mDragOnLeft [private] |
Definition at line 262 of file llfloater.h.
Referenced by buildButtons(), initFloater(), isDragOnLeft(), and updateButtons().
BOOL LLFloater::mButtonsEnabled[BUTTON_COUNT] [private] |
Definition at line 264 of file llfloater.h.
Referenced by handleMouseDown(), initFloater(), isCloseable(), isMinimizeable(), LLFloater(), setCanClose(), setCanMinimize(), setCanTearOff(), setHost(), setMinimized(), and updateButtons().
LLButton* LLFloater::mButtons[BUTTON_COUNT] [private] |
Reimplemented in LLFloaterTools.
Definition at line 265 of file llfloater.h.
Referenced by buildButtons(), draw(), handleMouseDown(), initFloater(), LLFloater(), and updateButtons().
F32 LLFloater::mButtonScale [private] |
Definition at line 266 of file llfloater.h.
Referenced by buildButtons(), initFloater(), setHost(), and updateButtons().
BOOL LLFloater::mAutoFocus [private] |
LLHandle<LLFloater> LLFloater::mSnappedTo [private] |
Definition at line 268 of file llfloater.h.
Referenced by clearSnapTarget(), getSnapTarget(), and setSnapTarget().
LLHandle<LLFloater> LLFloater::mHostHandle [private] |
Definition at line 270 of file llfloater.h.
Referenced by getHost(), setCanTearOff(), and setHost().
LLHandle<LLFloater> LLFloater::mLastHostHandle [private] |
LLMultiFloater * LLFloater::sHostp = NULL [static, private] |
BOOL LLFloater::sEditModeEnabled [static, private] |
Definition at line 274 of file llfloater.h.
Referenced by getEditModeEnabled(), and setEditModeEnabled().
LLString LLFloater::sButtonActiveImageNames [static, private] |
Initial value:
{ "UIImgBtnCloseActiveUUID", "UIImgBtnRestoreActiveUUID", "UIImgBtnMinimizeActiveUUID", "UIImgBtnTearOffActiveUUID", "UIImgBtnCloseActiveUUID", }
Definition at line 275 of file llfloater.h.
Referenced by buildButtons().
LLString LLFloater::sButtonInactiveImageNames [static, private] |
Initial value:
{ "UIImgBtnCloseInactiveUUID", "UIImgBtnRestoreInactiveUUID", "UIImgBtnMinimizeInactiveUUID", "UIImgBtnTearOffInactiveUUID", "UIImgBtnCloseInactiveUUID", }
Definition at line 276 of file llfloater.h.
LLString LLFloater::sButtonPressedImageNames [static, private] |
Initial value:
{ "UIImgBtnClosePressedUUID", "UIImgBtnRestorePressedUUID", "UIImgBtnMinimizePressedUUID", "UIImgBtnTearOffPressedUUID", "UIImgBtnClosePressedUUID", }
Definition at line 277 of file llfloater.h.
Referenced by buildButtons().
LLString LLFloater::sButtonNames [static, private] |
Initial value:
{ "llfloater_close_btn", "llfloater_restore_btn", "llfloater_minimize_btn", "llfloater_tear_off_btn", "llfloater_edit_btn", }
Definition at line 278 of file llfloater.h.
Referenced by buildButtons().
LLString LLFloater::sButtonToolTips [static, private] |
Initial value:
{ "Close (Ctrl-W)", "Restore", "Minimize", "Tear Off", "Edit", }
Definition at line 279 of file llfloater.h.
Referenced by buildButtons().
LLFloater::click_callback LLFloater::sButtonCallbacks [static, private] |
Initial value:
{ LLFloater::onClickClose, LLFloater::onClickMinimize, LLFloater::onClickMinimize, LLFloater::onClickTearOff, LLFloater::onClickEdit, }
Definition at line 281 of file llfloater.h.
Referenced by buildButtons().
LLFloater::handle_map_t LLFloater::sFloaterMap [static, private] |
Definition at line 285 of file llfloater.h.
Referenced by closeFocusedFloater(), initFloater(), setEditModeEnabled(), and ~LLFloater().
std::vector<LLHandle<LLView> > LLFloater::mMinimizedHiddenChildren [private] |
Definition at line 287 of file llfloater.h.
BOOL LLFloater::mHasBeenDraggedWhileMinimized [private] |
Definition at line 289 of file llfloater.h.
Referenced by initFloater(), setMinimized(), and userSetShape().
S32 LLFloater::mPreviousMinimizedBottom [private] |
S32 LLFloater::mPreviousMinimizedLeft [private] |
LLRootHandle<LLFloater> LLFloater::mHandle [private] |
Reimplemented from LLView.
Definition at line 294 of file llfloater.h.
Referenced by getHandle(), initFloater(), LLFloater(), and ~LLFloater().