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

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

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

Definition at line 273 of file GridWindow.h.

References GetGridColumns(), ILOG_USER, Impala::Application::MediaTable::TableDataViewController::KeyboardFunc(), mShowZoomView, Impala::Application::MediaTable::TableDataViewController::ScrollRelative(), SetGridSize(), ShowZoomView(), and ToggleZoomViewSize().

Referenced by Impala::Application::MediaTable::MediaTable::KeyboardFunc().

00274     {
00275         ILOG_USER("GridWindow keyboard func " << c << " state: " << state);
00276         switch (c)
00277         {
00278             case oglUP:
00279                 ScrollRelative(-GetGridColumns());
00280                 break;
00281             case oglDOWN:
00282                 ScrollRelative(+GetGridColumns());
00283                 break;
00284                                 
00285             case '`':
00286                 ShowZoomView(!mShowZoomView);
00287                 break;
00288             case '~':
00289                 ToggleZoomViewSize();
00290                 break;
00291 
00292             case 'x':
00293                    SetGridSize(96, 96); break;
00294             case 'c':
00295                    SetGridSize(128, 128); break;
00296             case 'v':
00297                    SetGridSize(256, 256); break;
00298             case 'b':
00299                    SetGridSize(384, 384); break;
00300                         default:
00301                                 TableDataViewController::KeyboardFunc(c, state);
00302                                 break;
00303         }
00304     }

Here is the call graph for this function:


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