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

void Impala::Application::WindowTrecSearch::BuildTimeLeftIndicator (  )  [inline, private]

Definition at line 665 of file mainTrecSearch.cpp.

References OglGui::OglWindow::H(), mSearchTopic, mTimeLeft, mTimeLeftText, OglGui::OglWindow::SetAlwaysDraw(), OglGui::OglWindow::SetBorderType(), OglGui::ProgressBar::SetColors(), OglGui::ProgressBar::SetProgress(), OglGui::OglWindow::SetRoundness(), OglGui::ProgressBar::ShowPercentage(), and OglGui::OglWindow::W().

00666     {
00667         int tLeftW = 200;
00668         mTimeLeft = new ProgressBar(this, W()-tLeftW-4, H()-28, tLeftW, 26);
00669         mTimeLeft->SetBorderType(BEV_LINE);
00670         mTimeLeft->SetRoundness(0,0,10,10);
00671         mTimeLeft->SetColors(0x40ffffff, oglTrRED);
00672         mTimeLeft->ShowPercentage(false);
00673         mTimeLeft->SetProgress(0.25 * 100);
00674         mTimeLeft->SetAlwaysDraw(mSearchTopic ? true : false);
00675 
00676         mTimeLeftText = new StaticText(mTimeLeft, 0, 0, tLeftW, 26, "10:00");
00677     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:38:36 2010 for ImpalaSrc by  doxygen 1.5.1