void LLObjectBackup::showFloater(bool exporting) { // Set the title setTitle(getString(exporting ? "export" : "import")); mCurObject = 1; mCurPrim = mObjects = mPrims = mRezCount = 0; // Make the floater pop up setVisibleAndFrontmost(); }
void LLFloaterPathfindingObjects::showFloaterWithSelectionObjects() { mObjectsToBeSelected.clear(); LLObjectSelectionHandle selectedObjectsHandle = LLSelectMgr::getInstance()->getSelection(); if (selectedObjectsHandle.notNull()) { LLObjectSelection *selectedObjects = selectedObjectsHandle.get(); if (!selectedObjects->isEmpty()) { for (LLObjectSelection::valid_iterator objectIter = selectedObjects->valid_begin(); objectIter != selectedObjects->valid_end(); ++objectIter) { LLSelectNode *object = *objectIter; LLViewerObject *viewerObject = object->getObject(); mObjectsToBeSelected.push_back(viewerObject->getID()); } } } mHasObjectsToBeSelected = true; if (!getVisible()) { open(); setVisibleAndFrontmost(); } else { rebuildObjectsScrollList(); if (isMinimized()) { setMinimized(FALSE); } setVisibleAndFrontmost(); } setFocus(TRUE); }
void primbackup::show() { // set the title setTitle( "stuff" ); m_curobject=1; m_curprim=0; m_objects=0; m_prims=0; m_textures=0; m_curtexture=0; rezcount=0; // make floater appear setVisibleAndFrontmost(); }
void LLFloaterHtml::show( std::string start_url, std::string title, bool open_link_external, bool open_app_slurls ) { // set the title setTitle( title ); // navigate to the URL if ( mWebBrowser ) { mWebBrowser->setOpenAppSLURLs( open_app_slurls ); mWebBrowser->setOpenInExternalBrowser( open_link_external ); mWebBrowser->navigateTo( start_url ); } // make floater appear setVisibleAndFrontmost(); }
void LLFloaterHtml::show( std::string start_url, std::string title, bool open_app_slurls ) { // set the title setTitle( title ); #if LL_LIBXUL_ENABLED // navigate to the URL if ( mWebBrowser ) { mWebBrowser->setOpenAppSLURLs( open_app_slurls ); mWebBrowser->navigateTo( start_url ); } #endif // LL_LIBXUL_ENABLED // make floater appear setVisibleAndFrontmost(); }
void LLObjectBackup::show(bool exporting) { // set the title if (exporting) { setTitle("Object export"); } else { setTitle("Object import"); } mCurObject = 1; mCurPrim = 0; mObjects = 0; mPrims = 0; mRezCount = 0; // make floater appear setVisibleAndFrontmost(); }