Definition at line 448 of file ScreenBrowserX.h. References OglGui::OglWindow::ConnectTo(), Impala::Application::IDash::ScreenBase::CreateLogos(), OglGui::OglWindow::H(), mAnimWnd, MNAnimFuncs(), OglGui::OglWindow::mOglWnd, Impala::Application::DemoCamera2d::oglWnd, OglGui::Button::SetButtonListener(), OglGui::OglWindow::SetNoMouseInput(), OglGui::OglWindow::SetVisible(), OglGui::Window::SetWindowListener(), OglGui::TOBOTTOM, OglGui::TORIGHT, and OglGui::OglWindow::W(). Referenced by InitScreen(). 00449 { 00451 // Just for fun: MultiMedian button in lower right corner 00452 // When pressed shows the multimedian screensaver animation 00453 // drawn transparently over the entire interface 00454 // When running clicking the mouse anywhere hides the animation 00455 // Clicking the multimedian button toggles the animation visibility 00456 OGLWND* oglWnd = oglSys.CreateOGLViewPort(mOglWnd,0,50,W(),H()-50); 00457 MNAnimFuncs(oglWnd); 00458 OglGui::Window* animWnd = new OglGui::Window(oglWnd); 00459 mAnimWnd = animWnd; 00460 animWnd->SetVisible(false); 00461 animWnd->ConnectTo(this); 00462 animWnd->SetWindowListener(new OglGui::AnimWindowListener()); 00463 00464 Button *animButton = new Button(this,W()-342,2,340,50,"",4,true); 00465 //animButton->ConnectTo(this,L2R|R2R|T2B|B2B); 00466 animButton->ConnectTo(this,OglGui::TORIGHT|OglGui::TOBOTTOM); 00467 animButton->SetButtonListener(new OglGui::AnimButtonListener(), 00468 (void*)animWnd); 00469 00470 Window* logoWnd = CreateLogos(animButton,0, 0); 00471 logoWnd->SetNoMouseInput(); 00472 logoWnd->ConnectTo(animButton); 00473 // End of just for fun animation 00475 }
Here is the call graph for this function:
|