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

virtual void OglGui::Button::InitDisplayFunc (  )  [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 70 of file Button.h.

References OglGui::Window::InitDisplayFunc(), mFillShadedType, mIsPressed, mIsSelected, OglGui::OglWindow::mOglWnd, and mSelectedColor.

00071     {
00072         oglSys.SetBorderFillShaded( mOglWnd, mFillShadedType * (mIsPressed ? -1 : 1) );
00073         glNormal3f(0,0,1);
00074         if( mIsSelected )
00075         {
00076             ULONG oldBg = oglSys.GetBorderBackground( mOglWnd );
00077             oglSys.SetBorderBackground( mOglWnd, mSelectedColor );
00078             HandleShadeBorder( mOglWnd );
00079             oglSys.SetBorderBackground( mOglWnd, oldBg );
00080         }
00081         StaticText::InitDisplayFunc();
00082     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:57:45 2010 for ImpalaSrc by  doxygen 1.5.1