diff options
| author | Richard Nelson <none@none> | 2010-08-20 10:14:28 -0700 | 
|---|---|---|
| committer | Richard Nelson <none@none> | 2010-08-20 10:14:28 -0700 | 
| commit | 02d8197019dcecec7aee80a104c4644ddb4807ca (patch) | |
| tree | c9d14b91d932c93fbad7a2708cf92d954d86dc16 /indra/integration_tests/llui_libtest | |
| parent | 0399d49e52d16c4335a933ac8d8f2ae251aeec6d (diff) | |
changed buildPanel/buildFloater to member functions buildFromFile
streamlined LLUICtrlFactory's interface
Diffstat (limited to 'indra/integration_tests/llui_libtest')
| -rw-r--r-- | indra/integration_tests/llui_libtest/llui_libtest.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/indra/integration_tests/llui_libtest/llui_libtest.cpp b/indra/integration_tests/llui_libtest/llui_libtest.cpp index abd8f7dbde..8383066e46 100644 --- a/indra/integration_tests/llui_libtest/llui_libtest.cpp +++ b/indra/integration_tests/llui_libtest/llui_libtest.cpp @@ -191,10 +191,9 @@ void export_test_floaters()  		// Build a floater and output new attributes  		LLXMLNodePtr output_node = new LLXMLNode();  		LLFloater* floater = new LLFloater(LLSD()); -		LLUICtrlFactory::getInstance()->buildFloater(floater, -													 filename, -												//	 FALSE,	// don't open floater -													 output_node); +		floater->buildFromFile(	filename, +								//	 FALSE,	// don't open floater +								output_node);  		std::string out_filename = xui_dir + filename;  		std::string::size_type extension_pos = out_filename.rfind(".xml");  		out_filename.resize(extension_pos); | 
