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

void Impala::Application::IDash::ScreenBrowser::DoControlsPane ( Window w  )  [inline, private]

Definition at line 310 of file ScreenBrowser.h.

References AddBtn(), BTN_BOOKMARK, BTN_PLAYVIDEO, BTN_RFIRST, BTN_RLAST, BTN_RNEXT, BTN_RPREV, BTN_SHOWALLMOVIES, BTN_SHOWMINIMAP, BTN_SHOWSIMILARITY, BTN_TNEXT, BTN_TPREV, OglGui::OglWindow::ConnectTo(), Impala::Application::IDash::ScreenBase::CreateLogos(), OglGui::Window::RepositionViewports(), OglGui::Window::ScaleChildren(), Impala::Application::IDash::ScreenBase::SetAsBox(), OglGui::TORIGHT, and OglGui::OglWindow::W().

Referenced by InitScreen().

00311     {
00312         SetAsBox(w);
00313     
00314         new OglGui::Strut(w, 4000, 2);
00315         new OglGui::Strut(w, 16, 2);
00316     
00317         new OglGui::StaticText(w,40,32,"Result:");
00318         AddBtn(w, "<<",20, BTN_RFIRST);
00319         AddBtn(w, "<",20, BTN_RPREV);
00320         AddBtn(w, ">",20, BTN_RNEXT);
00321         AddBtn(w, ">>",20, BTN_RLAST);
00322     
00323         new OglGui::Strut(w, 16,2);
00324         new OglGui::StaticText(w,30,32,"Time:");
00325 //        AddBtn(w, "<<",20, BTN_TFIRST);
00326         AddBtn(w, "<",20, BTN_TPREV);
00327         AddBtn(w, ">",20, BTN_TNEXT);
00328 //        AddBtn(w, ">>",20, BTN_TLAST);
00329     
00330         new OglGui::Strut(w, 160,2);
00331         AddBtn(w, "All movies", 80, BTN_SHOWALLMOVIES);
00332         AddBtn(w, "Bookmark", 80, BTN_BOOKMARK);
00333         AddBtn(w, "Play video", 80, BTN_PLAYVIDEO);
00334 
00335         new OglGui::Strut(w, 20, 2);
00336         AddBtn(w, "toggle similarity", 100, BTN_SHOWSIMILARITY);
00337         AddBtn(w, "toggle minimap", 100, BTN_SHOWMINIMAP);
00338 
00339 //        AddBtn(w, "Region query", );
00340 //        AddBtn(w, "Go to 3D scene", 120, true);
00341 
00342         OglGui::Window *logo = CreateLogos(w, w->W() - 342, 0);
00343         logo->ConnectTo(w, OglGui::TORIGHT);
00344 
00345         w->RepositionViewports();
00346         w->ScaleChildren();
00347     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:54 2011 for ImpalaSrc by  doxygen 1.5.1