Definition at line 148 of file BarPlot.h. References mBarBorderColor, and OglGui::OglWindow::mOglWnd. Referenced by Impala::Application::TagsLife::BarPlot::ShowHistogram(), and ShowHistogram(). 00149 { 00150 if (slotSz < 24) 00151 return; 00152 00153 int txtX, txtY; 00154 char buf[12]; 00155 sprintf(buf,"%d", value); 00156 oglSys.AlignTextXY(mOglWnd,buf,oglCenterAlign,oglCenterAlign, 00157 slotSz, 20, &txtX, &txtY); 00158 if(txtX >= 0) 00159 oglSys.PosColPrintf(mOglWnd,x+txtX,txtY+2,mBarBorderColor,buf); 00160 }
|