Definition at line 37 of file Animator.h. References mCnt, mDXs, mDYs, mOglWindows, OglGui::OglWindow::mOglWnd, mXs, and mYs. Referenced by Animate(). 00038 { 00039 if (!oglWnd) 00040 return; 00041 00042 LIST* obj; 00043 OGLWND* child; 00044 for (obj=oglWnd->wndList; obj; obj=obj->next) 00045 { 00046 child = (OGLWND*) obj->info; 00047 if (child==mOglWnd) 00048 continue; 00049 int userData = (long long) child->UserData1; 00050 mOglWindows.push_back(child); 00051 mXs.push_back(child->x); 00052 mYs.push_back(child->y); 00053 int offX = 600 - rand() % 1200; 00054 int offY = 600 - rand() % 1200; 00055 mDXs.push_back(offX/(mCnt*1.f)); 00056 mDYs.push_back(offY/(mCnt*1.f)); 00057 if (child->wndList!=0) 00058 Prepare(child); 00059 } 00060 }
|