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

void OglGui::StatusBar::Init ( int  h,
int  txtW 
) [inline, private]

Definition at line 47 of file StatusBar.h.

References OglGui::B2B, OglGui::OglWindow::ConnectTo(), OglGui::L2L, mStaticTxt, OglGui::R2R, OglGui::StaticText::SetAlign(), OglGui::Window::SetAllowScaling(), OglGui::OglWindow::SetBorderBackground(), OglGui::T2B, OglGui::TPARENT, and OglGui::OglWindow::WndWidth().

00048     {
00049         if (txtW)
00050         {
00051             txtW = (txtW==-1) ? WndWidth() : txtW;
00052             mStaticTxt = new StaticText(this, 2, 2, txtW, 20, "");
00053             mStaticTxt->SetAlign(oglLeftAlign, oglBottomAlign);
00054             mStaticTxt->ConnectTo(this, L2L | R2R | B2B | T2B | TPARENT);
00055         }
00056         SetAllowScaling(false);
00057         SetBorderBackground(oglTrLIGHTGREY);
00058     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:57 2011 for ImpalaSrc by  doxygen 1.5.1