Definition at line 2472 of file RotorBrowser.h. References OglGui::OglWindow::GetBorderBackground(), OglGui::OglWindow::GetOGLWND(), mBackNormal, mBrowseMode, mHadFocus, MODE_FORKBROWSER, MODE_ROTORBROWSER, and OglGui::OglWindow::SetBorderBackground(). Referenced by DisplayFunc(), SetBrowseMode(), and TakeFocus(). 02473 { 02474 bool hasFocus = (GetOGLWND() == oglFocusWnd); 02475 if ((hasFocus && !mHadFocus) || (force && mHadFocus)) 02476 { 02477 mHadFocus = true; 02478 if (!force) 02479 mBackNormal = GetBorderBackground(); 02480 if (mBrowseMode == MODE_ROTORBROWSER) 02481 SetBorderBackground(0x80802020); 02482 else if (mBrowseMode == MODE_FORKBROWSER) 02483 SetBorderBackground(0x802020A0); 02484 else 02485 SetBorderBackground(0x80206020); 02486 } 02487 if (!hasFocus && mHadFocus) 02488 { 02489 mHadFocus = false; 02490 SetBorderBackground(mBackNormal); 02491 } 02492 }
Here is the call graph for this function:
|