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

void Impala::Visualization::GUI::HelpViewer::Init (  )  [inline, private]

Reimplemented from OglGui::OglWindow.

Definition at line 28 of file HelpViewer.h.

References OglGui::OglWindow::ConnectTo(), OglGui::TextEdit::Editable(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetString(), OglGui::OglWindow::H(), mHelpFile, mViewer, OglGui::TextEdit::ReadFile(), OglGui::OglWindow::SetBackground(), OglGui::OglWindow::SetBorderFillShaded(), OglGui::OglWindow::SetBorderType(), OglGui::OglWindow::SetRoundness(), and OglGui::OglWindow::W().

Referenced by HelpViewer().

00029     {
00030         CmdOptions &options = CmdOptions::GetInstance();
00031         mHelpFile = options.GetString("helpFile");
00032 
00033         if (mHelpFile == "")
00034             mHelpFile = String("README.txt");
00035 
00036         mViewer = new OglGui::TextEdit(this, 2, 2, W() - 4, H() - 4, "", 3);
00037         mViewer->ConnectTo(this);
00038         mViewer->Editable(false);
00039         mViewer->ReadFile(mHelpFile);
00040         mViewer->SetRoundness(0,0,10,0);
00041         mViewer->SetBackground(0);
00042         mViewer->SetBorderType(4);
00043         mViewer->SetBorderFillShaded(2);
00044     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:36 2011 for ImpalaSrc by  doxygen 1.5.1