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

bool Impala::Visualization::RotorBrowser::RotorBrowser::KeyboardCrossFunc ( int  c,
int  state 
) [inline]

Definition at line 726 of file RotorBrowser.h.

References CheckKBN(), CrossBrowserNavigateKey(), DoReturnToFirstQuery(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GoLast(), ILOG_USER, mActiveContext, mKeepCenterCentered, PublishContextMoved(), ResetRanking(), SwitchToContext(), UpdateViewsToContext(), and VisualQueryKey().

Referenced by KeyboardFunc().

00727     {
00728         if (CrossBrowserNavigateKey(c,state,mKeepCenterCentered))
00729             return true;
00730 
00731         if (VisualQueryKey(c,state))
00732             return true;
00733 
00734         // other CrossBrowser keys:
00735         bool    keyHandled  = true;
00736 
00737         if (CheckKBN("CbGoFirst", c, state))
00738         {
00739             ILOG_USER( "KB: CrossBrowser moving to FIRST" );
00740             ResetRanking();
00741         }
00742         if (CheckKBN("CbGoLast", c, state))
00743         {
00744             ILOG_USER( "KB: CrossBrowser moving to LAST" );
00745             SwitchToContext("shots_initialquery");
00746             mActiveContext->GoLast();
00747             UpdateViewsToContext();
00748             PublishContextMoved(1);
00749         }
00750         if (CheckKBN("CbGoInitialQuery", c, state))
00751         {
00752             ILOG_USER("KB: Return to original search query");
00753             DoReturnToFirstQuery();
00754         }
00755         else
00756             keyHandled = false;
00757 
00758         return keyHandled;
00759     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:53:50 2010 for ImpalaSrc by  doxygen 1.5.1