Definition at line 61 of file StaticText.h. References OglGui::Window::GetForeground(), OglGui::Window::GetState(), mAlignH, mAlignV, OglGui::OglWindow::mOglWnd, mShadowColor, mText, and mTextShadowed. Referenced by DisplayFunc(), OglGui::CheckBox::DisplayFunc(), and OglGui::Button::DisplayFunc(). 00062 { 00063 int x, y; 00064 ULONG fCol = GetState() ? GetForeground() : oglGREY; 00065 00066 oglSys.AlignTextXY(mOglWnd, (char *) mText.c_str(), mAlignH, mAlignV, 00067 mOglWnd->width, mOglWnd->height, &x, &y); 00068 y += 3 + offsetY; 00069 x += offsetX; 00070 glNormal3f(0,0,1); 00071 if (mTextShadowed) 00072 oglSys.ShadowPrintf(mOglWnd, x, y, mShadowColor, fCol, 00073 "%s", mText.c_str()); 00074 else 00075 oglSys.PosColPrintf(mOglWnd, x, y, fCol, "%s", mText.c_str()); 00076 }
Here is the call graph for this function:
|