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:
|