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

virtual void OglGui::GroupBox::DisplayFunc (  )  [inline, virtual]

Reimplemented from OglGui::Window.

Reimplemented in Impala::Application::SDash::IdentificationPane, OglGui::LenseControl, and OglGui::ZoomControl.

Definition at line 43 of file GroupBox.h.

References OglGui::Window::DisplayFunc(), OglGui::Window::GetForeground(), mDoTextShadow, mLabel, OglGui::OglWindow::mOglWnd, and mShadowColor.

Referenced by OglGui::ZoomControl::DisplayFunc(), OglGui::LenseControl::DisplayFunc(), and Impala::Application::SDash::IdentificationPane::DisplayFunc().

00044     {
00045         int     wndH = mOglWnd->height;
00046         int     tW, tH;
00047 
00048         Window::DisplayFunc();
00049 
00050         OGC oldOGC;
00051         OGCSave(&oldOGC);
00052 
00053         oglSys.GetTextExtent(mOglWnd, (char *) mLabel.c_str(), &tW, &tH);
00054         if (mDoTextShadow)
00055             oglSys.ShadowPrintf(mOglWnd, 12, wndH-tH, mShadowColor,
00056                                 GetForeground(), "%s", (char *) mLabel.c_str());
00057         else
00058             oglSys.PosColPrintf(mOglWnd, 12, wndH-tH, GetForeground(),
00059                                 "%s", (char *) mLabel.c_str());
00060 
00061         OGCRestore(&oldOGC);
00062     }

Here is the call graph for this function:


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