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

virtual void Impala::Application::MediaTable::BarPlot::KeyboardFunc ( int  c,
int  state 
) [inline, protected, virtual]

Reimplemented from Impala::Application::MediaTable::TableDataViewController.

Definition at line 236 of file BarPlot.h.

References Impala::Application::MediaTable::TableDataViewController::GetTableDataView(), Impala::Application::MediaTable::TableDataViewController::KeyboardFunc(), Impala::Application::MediaTable::TableDataView::SetNumberOfRows(), and OglGui::OglWindow::UpdateScene().

00237     {
00238         switch (c)
00239         {
00240             case '-':
00241                 if(GetTableDataView()->GetNumberOfRows() > 1)
00242                 {
00243                         GetTableDataView()->SetNumberOfRows(GetTableDataView()->GetNumberOfRows()-1);
00244                         UpdateScene();
00245                 }
00246                 break;
00247             case '=':
00248                 GetTableDataView()->SetNumberOfRows(GetTableDataView()->GetNumberOfRows()+1);
00249                 UpdateScene();
00250                 break;
00251                         default:
00252                                 TableDataViewController::KeyboardFunc(c, state);
00253         }
00254     }

Here is the call graph for this function:


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