template<class DataDocT>
Reimplemented from OglGui::StringListener. Definition at line 282 of file DataDocumentGui.h. Referenced by Impala::Application::WindowShowImSet::BuildGUI(), and Impala::Application::WindowAnnoVidSet::BuildGUI(). 00284 { 00285 typedef Core::Database::DocLevel DocLevel; 00286 if (listenerData == (void*)STRING_DIR) 00287 { 00288 DocLevel level = mDataDoc->CursorToDir(strIndex); 00289 AllHandleNewCursor(level, false); 00290 } 00291 if (listenerData == (void*)STRING_FILE) 00292 { 00293 int fileIdx = mDataDoc->GetFileOfDir(strIndex, -1); 00294 mDataDoc->CursorToFile(fileIdx); 00295 AllHandleNewCursor(Core::Database::LEVEL_FILE, false); 00296 } 00297 if (listenerData == (void*)STRING_BOOK) 00298 { 00299 mDataDoc->CursorToBookmark(strIndex); 00300 AllHandleNewCursor(Core::Database::LEVEL_FILE, true); 00301 } 00302 }
|