Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Application::IDash::ScreenReconstruction::InitScreen (  )  [inline, private]

Definition at line 136 of file ScreenReconstruction.h.

References BTN_PLAY, BTN_STOP, OglGui::OglWindow::H(), ILOG_DEBUG, mCrimeScene, mLoaded, mPlayer, Impala::Visualization::VideoPlayer::NormalSpeed(), OglGui::Window::RepositionViewports(), OglGui::Window::ScaleChildren(), Impala::Application::IDash::ScreenBase::SetAsBox(), OglGui::Button::SetButtonListener(), OglGui::WindowView2DWithRect::SetListener(), OglGui::OglWindow::W(), OglGui::OglWindow::WndHeight(), and OglGui::OglWindow::WndWidth().

Referenced by ScreenReconstruction().

00137     {
00138         ILOG_DEBUG("constructing screen Dossier");
00139 
00140 
00141         mCrimeScene = 95;
00142         mLoaded = false;
00143 
00144         //scherm bevat (crime scene) video player en panorama plaatje
00145         
00146         //control window
00147         Window *ctrlWnd = new Window(this, W() - 170, H() - 450, 160, 440);
00148         SetAsBox(ctrlWnd);
00149 
00150         Button* play = new Button(ctrlWnd, 8, ctrlWnd->H() - 8 - 120, 116,28,"Play");
00151         play->SetButtonListener(this, BTN_PLAY);
00152         Button* stop = new Button(ctrlWnd, 8, ctrlWnd->H() - 8 - 120 - 120, 116,28,"Stop");
00153         stop->SetButtonListener(this, BTN_STOP);
00154         
00155         ctrlWnd->RepositionViewports();
00156         //videoplayer window
00157 //        Window *playWnd = new Window(this, 30, H() - 450, 420, 380);
00158         Window *playWnd = new Window(this, 30, H() - 450, W() - 200, 440);
00159         SetAsBox(playWnd);
00160         mPlayer = new VideoPlayer(playWnd, playWnd->W(), playWnd->H(), "", "");
00161         mPlayer->NormalSpeed(true);
00162         
00163         
00164         //panorama pic
00165         Window *panWnd = new Window(this, 30, 15, WndWidth() - 60, WndHeight() - 500);
00166         SetAsBox(panWnd);
00167         
00168         //Array2dVec3UInt8* panorama = 0;
00169         //ReadFile(panorama, "icons/panorama.png");
00170         OGLIMAGE *pano = TryReadPNG("icons/panorama.png");
00171         if (pano)
00172         {
00173             WindowView2DWithRect *panorama = new WindowView2DWithRect(panWnd, 0, 0, panWnd->W(), panWnd->H(), pano);
00174             panorama->SetListener(this);
00175         }
00176 
00177         RepositionViewports();
00178         ScaleChildren();
00179     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:41:42 2010 for ImpalaSrc by  doxygen 1.5.1