| 308 | } |
| 309 | |
| 310 | GuiControl* PostEffectVis::_getContentControl() |
| 311 | { |
| 312 | if ( mContent == NULL ) |
| 313 | { |
| 314 | GuiCanvas *canvas = NULL; |
| 315 | if ( !Sim::findObject( "Canvas", canvas ) ) |
| 316 | { |
| 317 | AssertFatal( false, "PostEffectVis::_getContentControl, Canvas not found." ); |
| 318 | return NULL; |
| 319 | } |
| 320 | |
| 321 | mContent = new GuiControl(); |
| 322 | mContent->setPosition( 0, 0 ); |
| 323 | mContent->setExtent( 1024, 768 ); |
| 324 | mContent->setDataField( StringTable->insert( "noCursor" ), NULL, "1" ); |
| 325 | mContent->setDataField( StringTable->insert( "profile" ), NULL, "GuiModelessDialogProfile" ); |
| 326 | mContent->registerObject( "PfxVisContent" ); |
| 327 | |
| 328 | canvas->pushDialogControl( mContent, 100 ); |
| 329 | } |
| 330 | |
| 331 | return mContent; |
| 332 | } |
| 333 | |
| 334 | void PostEffectVis::_setDefaultCaption( VisWindow &vis, U32 texIndex ) |
| 335 | { |
nothing calls this directly
no test coverage detected