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

void OglGui::OglDemo::FillScrollContent ( Window wnd,
char *  str,
int  n,
int  m 
) [inline]

Definition at line 482 of file OglDemo.h.

References OglGui::Button::SetBorderFillShaded(), OglGui::OglWindow::SetDimensions(), OglGui::Window::SetDisableOGLViewKeys(), and OglGui::Window::SetDisableOGLViewMouse().

00483     {
00484         char        buf[100];
00485         Button*     btn;
00486         int         i, j;
00487 
00488         wnd->SetDisableOGLViewKeys(true);
00489         wnd->SetDisableOGLViewMouse(true);
00490 
00491         wnd->SetDimensions(0, 0, 4 + m * 180, 4 + n * 80);
00492         for (i=0; i<n; i++)
00493             for (j=0; j<m; j++)
00494             {
00495                 sprintf(buf, "%s[%d,%d]", str, i, j);
00496                 btn = new Button(wnd, 2 + j * 180, 2 + i * 80, 70, 60,
00497                                  buf, 1 + (j+i)%6, !(i%2));
00498                                 if (i < (n/2))
00499                                         btn->SetBorderFillShaded(1 );
00500             }        
00501     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:03:48 2010 for ImpalaSrc by  doxygen 1.5.1