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

virtual void Impala::Visualization::AppControlGUI::KeyEvent ( OglGui::Window src,
int  c,
int  state 
) [inline, virtual]

Reimplemented from OglGui::KeyListener.

Reimplemented in Impala::Application::IDash::IDash, and Impala::Application::WindowTrecSearch.

Definition at line 50 of file AppControlGUI.h.

References Impala::Visualization::AppControl::GetActive(), Impala::Visualization::AppControl::GetControlId(), ILOG_DEBUG, ILOG_INFO, mAllowInstantExit, and Impala::Visualization::AppControl::SetDone().

00051     {
00052         ILOG_DEBUG("(" << GetControlId() << ")::KeyEvent: " << c);
00053         if (!GetActive())
00054             return;
00055         if (c == 'Q' && mAllowInstantExit)
00056         {
00057             ILOG_INFO("Instant exit button pressed.");
00058             SetDone();
00059         }
00060     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:32 2011 for ImpalaSrc by  doxygen 1.5.1