Reimplemented from OglGui::View. Definition at line 147 of file VidolviView.h. References OglGui::View::GetOGLVIEW3D(), OglGui::View::OnDrawView(), and SetRelColor(). 00148 { 00149 OglGui::View::OnDrawView(); 00150 00151 float w,h,d; 00152 view3DSys.GetDimensions(GetOGLVIEW3D(), 0, 0, 0, &w, &h, &d); 00153 00154 glPushMatrix(); 00155 glTranslatef(0.0, 0.0, +0.02f); 00156 glScalef(w + 0.01,h,d); 00157 INT oldBlendInfo[3]; 00158 OGC oldOGC; 00159 OGCSave( &oldOGC ); 00160 oglSys.StartBlend( &oldBlendInfo[0] ); 00161 00162 // glColor4f(0.0f, 1.0f, 1.0f, 0.5); 00163 SetRelColor(); 00164 glBegin(GL_QUADS); 00165 glVertex3f( -0.5f, -0.5f, -0.02f ); 00166 glVertex3f( +0.5f, -0.5f, -0.02f ); 00167 glVertex3f( +0.5f, +0.5f, +0.02f ); 00168 glVertex3f( -0.5f, +0.5f, +0.02f ); 00169 00170 glEnd(); 00171 oglSys.EndBlend( &oldBlendInfo[0] ); 00172 OGCRestore( &oldOGC ); 00173 glPopMatrix(); 00174 }
Here is the call graph for this function:
|