Definition at line 173 of file Graph.h. References OglGui::Window::GetForeground(), OglGui::Window::GetState(), mAlignH, mAlignV, OglGui::OglWindow::mOglWnd, mShadowColor, mText, and mTextShadowed. Referenced by DisplayFunc(). 00174 { 00175 if (mText.empty()) 00176 return; 00177 int x, y; 00178 ULONG fCol = GetState() ? GetForeground() : oglGREY; 00179 00180 oglSys.AlignTextXY(mOglWnd, (char *) mText.c_str(), mAlignH, mAlignV, 00181 mOglWnd->width, mOglWnd->height, &x, &y); 00182 y += 3 + offsetY; 00183 x += offsetX; 00184 glNormal3f(0,0,1); 00185 if (mTextShadowed) 00186 oglSys.ShadowPrintf(mOglWnd, x, y, mShadowColor, fCol, 00187 "%s", mText.c_str()); 00188 else 00189 oglSys.PosColPrintf(mOglWnd, x, y, fCol, "%s", mText.c_str()); 00190 }
Here is the call graph for this function:
|