diff options
| author | Richard Nelson <none@none> | 2010-08-13 13:31:17 -0700 | 
|---|---|---|
| committer | Richard Nelson <none@none> | 2010-08-13 13:31:17 -0700 | 
| commit | 014a4f3dc9dbe2eef7e463267d264d981e173835 (patch) | |
| tree | 362fca63a4dc32e651281696189c9f8f432f0176 /indra/newview | |
| parent | 4ef75f35c195a4e2657a0e01d6b92cd40e6779f5 (diff) | |
fixed progress view z ordering hacks
DEV-52665 FIX Inventory and Chat hints shown during login before viewer fully loads on load up screen
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llprogressview.cpp | 5 | ||||
| -rw-r--r-- | indra/newview/llstartup.cpp | 7 | ||||
| -rw-r--r-- | indra/newview/llviewerwindow.cpp | 8 | ||||
| -rw-r--r-- | indra/newview/llviewerwindow.h | 1 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/main_view.xml | 18 | 
5 files changed, 9 insertions, 30 deletions
| diff --git a/indra/newview/llprogressview.cpp b/indra/newview/llprogressview.cpp index 9b5e38d0aa..c4bf65e06d 100644 --- a/indra/newview/llprogressview.cpp +++ b/indra/newview/llprogressview.cpp @@ -134,15 +134,10 @@ void LLProgressView::setVisible(BOOL visible)  	if (getVisible() && !visible)  	{  		mFadeTimer.start(); -		// hiding progress view, so show menu bars -		LLUI::getRootView()->getChildView("menu_bar_holder")->setVisible(TRUE);  	}  	// showing progress view  	else if (!getVisible() && visible)  	{ -		// showing progress view, so hide menu bars -		LLUI::getRootView()->getChildView("menu_bar_holder")->setVisible(FALSE); -		  		setFocus(TRUE);  		mFadeTimer.stop();  		mProgressTimer.start(); diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 2475870b17..f6f70f5a43 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -800,10 +800,6 @@ bool idle_startup()  	if (STATE_LOGIN_CLEANUP == LLStartUp::getStartupState())  	{ -		// Move the progress view in front of the UI immediately when login is performed -		// this allows not to see main menu after Alt+Tab was pressed while login. EXT-744. -		gViewerWindow->moveProgressViewToFront(); -  		//reset the values that could have come in from a slurl  		// DEV-42215: Make sure they're not empty -- gUserCredential  		// might already have been set from gSavedSettings, and it's too bad @@ -1257,9 +1253,6 @@ bool idle_startup()  		if (!gNoRender)  		{ -			// Move the progress view in front of the UI -			gViewerWindow->moveProgressViewToFront(); -  			// direct logging to the debug console's line buffer  			LLError::logToFixedBuffer(gDebugView->mDebugConsolep); diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index cfb8b077e5..d8c7eabefb 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -4250,14 +4250,6 @@ BOOL LLViewerWindow::getShowProgress() const  	return (mProgressView && mProgressView->getVisible());  } -void LLViewerWindow::moveProgressViewToFront() -{ -	if( mProgressView && mRootView ) -	{ -		mRootView->sendChildToFront(mProgressView); -	} -} -  void LLViewerWindow::setProgressString(const std::string& string)  {  	if (mProgressView) diff --git a/indra/newview/llviewerwindow.h b/indra/newview/llviewerwindow.h index cd1ee8a5fd..02f63661ee 100644 --- a/indra/newview/llviewerwindow.h +++ b/indra/newview/llviewerwindow.h @@ -277,7 +277,6 @@ public:  	void			setShowProgress(const BOOL show);  	BOOL			getShowProgress() const; -	void			moveProgressViewToFront();  	void			setProgressString(const std::string& string);  	void			setProgressPercent(const F32 percent);  	void			setProgressMessage(const std::string& msg); diff --git a/indra/newview/skins/default/xui/en/main_view.xml b/indra/newview/skins/default/xui/en/main_view.xml index 0bf5717de8..01ee8264e6 100644 --- a/indra/newview/skins/default/xui/en/main_view.xml +++ b/indra/newview/skins/default/xui/en/main_view.xml @@ -187,15 +187,6 @@    <panel top="0"           follows="all"           height="768" -         mouse_opaque="true" -         name="progress_view" -         filename="panel_progress.xml" -         class="progress_view" -         width="1024" -         visible="false"/> -  <panel top="0" -         follows="all" -         height="768"           mouse_opaque="false"           name="popup_holder"           class="popup_holder" @@ -215,6 +206,15 @@          name="hint_holder"          mouse_opaque="false"          follows="all"/> +  <panel top="0" +         follows="all" +         height="768" +         mouse_opaque="true" +         name="progress_view" +         filename="panel_progress.xml" +         class="progress_view" +         width="1024" +         visible="false"/>    <menu_holder top="0"                 follows="all"                 height="768" | 
