Reimplemented from OglGui::ButtonListener. Definition at line 881 of file RgbDataSrcLavcTestGUI.h. References Impala::Visualization::DropDownList::GetCurSel(), OglGui::StaticText::GetText(), Impala::Core::Stream::RgbDataSrc::GotoFrame(), Impala::Visualization::AppControlSrc::HandleNewFrame(), mCtrl, mFlushCodec, mSeekFlags, mSeekFrmField, mSeekPosField, mSrc, mSyncFrame, Impala::Core::Stream::RgbDataSrc::NextFrame(), and OglGui::TextField::SetText(). 00882 { 00883 int userData = (long long) vData; 00884 switch(userData){ 00885 case 0://Jump to beginning and access sequential 00886 { 00887 int frm; 00888 std::istringstream iss(mSeekFrmField->GetText()); 00889 if(iss.str()=="") 00890 break; 00891 iss >> frm; 00892 if(iss.fail()){ 00893 mSeekPosField->SetText(""); 00894 break; 00895 } 00896 mSrc->GotoFrame(frm) ; 00897 //mSrc->Jump(pos,2,true); 00898 //mSrc->NextFrame(pos); 00899 break; 00900 } 00901 00902 case 1: //SEEK 00903 { 00904 int64_t pos; 00905 std::istringstream iss(mSeekPosField->GetText()); 00906 if(iss.str()=="") 00907 break; 00908 iss >> pos; 00909 if(iss.fail()) 00910 mSeekPosField->SetText(""); 00911 else 00912 mSrc->Jump(pos,mSeekFlags->GetCurSel(),mFlushCodec->GetCurSel(),mSyncFrame->GetCurSel()); 00913 00914 //mSrc->NextFrame(); 00915 break; 00916 } 00917 00918 case 2: //RESET To FIRST FRAME 00919 mSrc->Jump(0,2,true); 00920 //mSrc->NextFrame(); 00921 break; 00922 00923 case 3://NEXT FRAME 00924 mSrc->NextFrame(); 00925 break; 00926 00927 } 00928 mCtrl->HandleNewFrame(); 00929 }
Here is the call graph for this function:
|