Definition at line 264 of file DirImViewer3D.h. References sTxtFontBase. Referenced by SetUpPrintingID(). 00265 { 00266 StringPtrVector* fileNames = (StringPtrVector*) v->UserData2; 00267 int idx = (int) (long long) v->UserData1; 00268 char buf[200]; 00269 00270 glPushMatrix(); 00271 glColor3f( 0.0f, 1.0f, 0.0f ); 00272 00273 if (fileNames) 00274 { 00275 sprintf(buf, "%s", (*fileNames)[idx]->c_str()); 00276 oglSys.Printf3D(sTxtFontBase, -v->w/2.f-0.1, -v->h/2.f - 0.15, 0.1f, 00277 0.2f, 0.2f, 0.05f, buf); 00278 } 00279 else 00280 { 00281 sprintf(buf, "%d", idx); 00282 oglSys.Printf3D(sTxtFontBase, -0.1, -v->h/2.f - 0.15, 0.1f, 00283 0.3f, 0.3f, 0.1f, buf); 00284 } 00285 glPopMatrix(); 00286 }
|