Reimplemented from OglGui::Window. Definition at line 177 of file StringColumns.h. References OglGui::Window::DisplayFunc(), DrawItem(), FirstVisible(), OglGui::OglWindow::H(), LastVisible(), mColumns, OglGui::DocDimensions::mDocH, OglGui::DocDimensions::mDocY, mItemHeight, and OglGui::OglWindow::mOglWnd. 00178 { 00179 Window::DisplayFunc(); 00180 00181 int firstVis = FirstVisible(); 00182 int lastVis = LastVisible(); 00183 int h0 = (mDocH + mDocY) - mItemHeight; 00184 int x = 0; 00185 00186 for (int i=0; i<mColumns.size(); i++) 00187 { 00188 StrVector& strVector = mColumns[i].strVector; 00189 int width = mColumns[i].width; 00190 ULONG bg = mColumns[i].bgColor; 00191 int bInfo[3]; 00192 00193 oglSys.StartScissor(mOglWnd,x,0,width,H()); 00194 oglSys.StartBlend(bInfo); 00195 SetSolidFillColor(bg); 00196 FillRectangle(x,0,width,H()); 00197 00198 for (int j=firstVis; j<lastVis && j<strVector.size(); j++) 00199 DrawItem(x, h0 - j*mItemHeight, mColumns[i], j); 00200 00201 oglSys.EndBlend(bInfo); 00202 oglSys.EndScissor(); 00203 x += width; 00204 } 00205 }
Here is the call graph for this function:
|