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

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

Reimplemented from OglGui::Window.

Definition at line 289 of file CheckBoxDrum.h.

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

00290         {
00291                 OGLWND *oglWnd = oglSys.GetTopOGLWND( mOglWnd );
00292 
00293         void* font = (void*)1;
00294 #ifndef OGL_USING_GLUT
00295                 font = (void*) CreateFont( -12, 0, 0, 0, FW_NORMAL, 0, 0, 0,
00296                         ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS,
00297                         ANTIALIASED_QUALITY, VARIABLE_PITCH | FF_DONTCARE, "Verdana" );
00298 #endif
00299                 // Transform MsWindows fonts to OpenGL fontBases
00300                 txtFontBase = oglSys.Create3DFont( mOglWnd, font, 1, 0.6f, NULL );
00301 
00302 #ifndef OGL_USING_GLUT
00303                 // MsWindows font no longer needed
00304                 DeleteObject( (HFONT) font );
00305 #endif
00306                 Window::InitFunc();
00307 
00308         DrumInfoBox = oglSys.InfoBoxStrArr( oglWnd, &cbdKeyCmd[0], 2, 20, 0x0080ff, oglRED, oglWHITE );
00309                 oglSys.AllowPicking( mOglWnd, 0, 0 );
00310         }

Here is the call graph for this function:


Generated on Fri Mar 19 11:59:18 2010 for ImpalaSrc by  doxygen 1.5.1