Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

virtual void OglGui::Carousel3D::InitFunc (  )  [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 312 of file Carousel3D.h.

References OglGui::Window::InitFunc(), OglGui::OglWindow::mOglWnd, mTxtFontBase, and Impala::Application::DemoCamera2d::oglWnd.

00313         {
00314                 OGLWND* oglWnd = oglSys.GetTopOGLWND( mOglWnd );
00315         void*   font;
00316 
00317 #ifdef OGL_USING_GLUT
00318                 mTxtFontBase = oglSys.Create3DFont( mOglWnd, font, 1, 0.6f, NULL );
00319 #else
00320                 font = (void*) CreateFont(
00321                         -12, 0, 0, 0, FW_NORMAL, 0, 0, 0,
00322                         ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS,
00323                         ANTIALIASED_QUALITY, VARIABLE_PITCH | FF_DONTCARE, "Verdana" );
00324                 // Transform MsWindows fonts to OpenGL fontBases
00325                 mTxtFontBase = oglSys.Create3DFont( mOglWnd, font, 1, 0.6f, NULL );
00326                 // MsWindows font no longer needed
00327                 DeleteObject( (HFONT) font );
00328 #endif
00329                 Window::InitFunc();
00330         }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:12 2011 for ImpalaSrc by  doxygen 1.5.1