Reimplemented from OglGui::Window. Definition at line 146 of file ViewSphere.h. References InitAnimation(), OglGui::Window::InitFunc(), OglGui::OglWindow::mOglWnd, Impala::Application::DemoCamera2d::oglWnd, sphereInfoBox, txtFontBase, and OglGui::viewSpherekeyCmd. 00147 { 00148 OGLWND* oglWnd = oglSys.GetTopOGLWND( mOglWnd ); 00149 void* font = 0; 00150 00151 //#ifndef OGL_USING_GLUT 00152 #if defined(Q_OS_WIN) || (!defined(OGL_USING_GLUT) && !defined(OGL_USING_QT)) 00153 font = (void*) CreateFont( 00154 -12, 0, 0, 0, FW_NORMAL, 0, 0, 0, 00155 ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS, 00156 ANTIALIASED_QUALITY, VARIABLE_PITCH | FF_DONTCARE, (LPCTSTR) "Verdana" ); 00157 #endif 00158 // Transform MsWindows fonts to OpenGL fontBases 00159 txtFontBase = oglSys.Create3DFont( mOglWnd, font, 1, 0.6f, NULL ); 00160 00161 #if defined(Q_OS_WIN) || (!defined(OGL_USING_GLUT) && !defined(OGL_USING_QT)) 00162 // MsWindows font no longer needed 00163 DeleteObject( (HFONT) font ); 00164 #endif 00165 Window::InitFunc(); 00166 00167 InitAnimation(); 00168 sphereInfoBox = oglSys.InfoBoxStrArr( oglWnd, &viewSpherekeyCmd[0], 2, 20, 0x0080ff, oglRED, oglWHITE ); 00169 }
Here is the call graph for this function:
|