Reimplemented from OglGui::KeyListener.
Definition at line 154 of file AppControlDossier.h.
References AddCursorToBookmarked(), AllHandleNewCursor(), Impala::Core::Database::DataDocument::CursorNextBookmark(), Impala::Core::Database::DataDocument::CursorNextDir(), Impala::Core::Database::DataDocument::CursorNextFile(), Impala::Core::Database::DataDocument::CursorNextShot(), Impala::Core::Database::DataDocument::CursorPrevBookmark(), Impala::Core::Database::DataDocument::CursorPrevDir(), Impala::Core::Database::DataDocument::CursorPrevFile(), Impala::Core::Database::DataDocument::CursorPrevShot(), Impala::Core::Database::DataDocument::CursorToDir(), mDoc, mDocListeners, mDone, RemoveCursorFromBookmarked(), and SetDoContinuous().
00155 {
00156 if (c == 'Q')
00157 mDone = true;
00158 if (c == 'c')
00159 SetDoContinuous(true);
00160 if (c == 'C')
00161 SetDoContinuous(false);
00162
00163 if (c == oglHOME)
00164 AllHandleNewCursor(mDoc->CursorToDir(0), false);
00165 if (c == oglPAGEUP)
00166 AllHandleNewCursor(mDoc->CursorPrevDir(), false);
00167 if (c == oglPAGEDOWN)
00168 AllHandleNewCursor(mDoc->CursorNextDir(), false);
00169 if (c == oglLEFT)
00170 AllHandleNewCursor(mDoc->CursorPrevFile(), false);
00171 if (c == oglRIGHT)
00172 AllHandleNewCursor(mDoc->CursorNextFile(), false);
00173 if (c == oglUP)
00174 AllHandleNewCursor(mDoc->CursorPrevShot(), false);
00175 if (c == oglDOWN)
00176 AllHandleNewCursor(mDoc->CursorNextShot(), false);
00177 if (c == 'n')
00178 AllHandleNewCursor(mDoc->CursorNextBookmark(), true);
00179 if (c == 'N')
00180 AllHandleNewCursor(mDoc->CursorPrevBookmark(), true);
00181
00182
00183 if (c == 'b')
00184 AddCursorToBookmarked();
00185 if (c == 'B')
00186 RemoveCursorFromBookmarked();
00187 for (int i=0 ; i<mDocListeners.size() ; i++)
00188 mDocListeners[i]->HandleNewKey(c, state);
00189 }
Here is the call graph for this function: