Definition at line 228 of file Tabs.h. References OglGui::OglWindow::GetDimensions(), mActiveTabId, mCanvasList, mTabAnimating, mTabsAnimated, OglGui::OglWindow::SetAlwaysDraw(), and OglGui::OglWindow::SetDimensions(). Referenced by HandleTabChangeAnimation(). 00229 { 00230 if (!mTabsAnimated) 00231 return; 00232 Window* wnd = mCanvasList[mActiveTabId]; 00233 int x,y,w,h; 00234 wnd->GetDimensions(x,y,w,h); 00235 if (mTabsAnimated & 5) 00236 x = (mTabsAnimated & 1) ? -w : w; 00237 if (mTabsAnimated & 10) 00238 y = (mTabsAnimated & 2) ? h : -h; 00239 wnd->SetDimensions(x,y,w,h); 00240 SetAlwaysDraw(mTabAnimating = true); 00241 00242 }
Here is the call graph for this function:
|