01309 {
01310 OglGui::TitledWindow*
01311 tWnd = new TitledWindow(this,2,0,W()-4,396,"TimeLineVideo");
01312 mSimTLV = new SimilarityTimeLineVideo(tWnd->ContentPane(),0,0,
01313 W()-10,364, mShotSimSet,15);
01314 mSimTLV->TimeLine()->SetWindowListener(this);
01315 mSimTLV->TimeLine()->ShowClassify(false);
01316 mSimTLV->TimeLine()->SetSimColor(0,0xffffff00);
01317 mSimTLV->TimeLine()->CurrentViewOnTop(2);
01318 mSimTLV->TimeLine()->ViewStripMinViewWidth(12);
01319 mSimTLV->ScaleChildren();
01320 tWnd->ContentPane()->ScaleChildren();
01321
01322 StaticText* TBar = mSimTLV->TitledTimeLine()->TitleText();
01323 new Strut(TBar,160,1);
01324
01325 mSyncBtn = new Button(TBar, 50, 21, "Sync", 4, true);
01326 mSyncBtn->SetButtonListener(this, BUT_SYNC);
01327
01328 mAllowSlidingChBox =
01329 new CheckBox( TBar, 70, 21, "Sliding", true, 4);
01330 if (!mNoViewStripControl)
01331 {
01332
01333 StaticText* vStripTxt =
01334 new StaticText(TBar,160,21,"ViewStrip",false,true);
01335 vStripTxt->SetBorderType(BEV_ETCHED);
01336 InBoxButton(vStripTxt,62,32,"Pre",VIEWSTRIP_PRE);
01337 InBoxButton(vStripTxt,94,32,"Min",VIEWSTRIP_MIN);
01338 InBoxButton(vStripTxt,126,32,"Max",VIEWSTRIP_MAX);
01339 }
01340 new Strut(TBar,10,1);
01341 RectCheckBox(TBar,150,21,"Show Seg Shots",
01342 CHBOX_SHOW_SEG_SHOTS);
01343 RectCheckBox(TBar,160,21,"Show Thresh Shots",
01344 CHBOX_SHOW_THRESH_SHOTS);
01345 }