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

virtual void CxCheckBoxDrum::InitFunc (  )  [inline, virtual]

Definition at line 282 of file CxCheckBoxDrum.h.

References cbdKeyCmd, DrumInfoBox, Impala::Application::DemoCamera2d::oglWnd, and txtFontBase.

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


Generated on Fri Mar 19 10:32:05 2010 for ImpalaSrc by  doxygen 1.5.1