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

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

Reimplemented from OglGui::Window.

Definition at line 129 of file Transition.h.

References OglGui::OglWindow::GetBackground(), OglGui::OglWindow::H(), OglGui::Window::InitDisplayFunc(), mDissolveMode, mParent, mPerc, OglGui::OglWindow::SetBackground(), OglGui::OglWindow::SetDimensions(), and OglGui::OglWindow::W().

00130     {
00131         if (mDissolveMode)
00132         {
00133             int col = GetBackground();
00134             int r,g,b,a;
00135             COLOR2RGBA(col,r,g,b,a);
00136             a = 255 - (mPerc*255)/100;
00137             col = RGBA2COLOR(r,g,b,a);
00138             SetBackground(col);
00139             SetDimensions(0,0,mParent->W(),mParent->H());
00140         }
00141         Window::InitDisplayFunc();
00142     }

Here is the call graph for this function:


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