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

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

Reimplemented from Impala::Visualization::AppControlSrc.

Definition at line 175 of file mainBackground.cpp.

References Impala::Visualization::AppControlSrc::KeyEvent(), mMinimumThres, and Reset().

00176     {
00177         AppControlSrc::KeyEvent(src, c, state);
00178         if (c == 'r')
00179             Reset();
00180         if (c == 't')
00181         {
00182             mMinimumThres += 1;
00183             std::cout << "Minimum threshold at " << mMinimumThres << std::endl;
00184         } 
00185         if (c == 'T')
00186         {
00187             mMinimumThres -= 1;
00188             std::cout << "Minimum threshold at " << mMinimumThres << std::endl;
00189         } 
00190    }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:10 2011 for ImpalaSrc by  doxygen 1.5.1