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

void Impala::Application::MediaTable::BarPlot::ShowXLabel ( int  value,
int  x,
int  slotSz 
) [inline, protected]

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     }


Generated on Fri Mar 19 10:43:08 2010 for ImpalaSrc by  doxygen 1.5.1