01332     {
01333         OglGui::TitledWindow*
01334             tWnd = new TitledWindow(this,2,0,W()-4,396,"TimeLineVideo");
01335         mSimTLV = new SimilarityTimeLineVideo(tWnd->ContentPane(),0,0,
01336                                               W()-10,364, mShotSimSet,15);
01337         mSimTLV->TimeLine()->SetWindowListener(this);
01338         mSimTLV->TimeLine()->ShowClassify(false);
01339         mSimTLV->TimeLine()->SetSimColor(0,0xffffff00);
01340         mSimTLV->TimeLine()->CurrentViewOnTop(2);
01341         mSimTLV->TimeLine()->ViewStripMinViewWidth(12);
01342         mSimTLV->ScaleChildren();
01343         tWnd->ContentPane()->ScaleChildren();
01344 
01345         StaticText* TBar = mSimTLV->TitledTimeLine()->TitleText();
01346         new Strut(TBar,160,1);
01347         
01348         mSyncBtn = new Button(TBar, 50, 21, "Sync", 4, true);
01349         mSyncBtn->SetButtonListener(this, BUT_SYNC);
01350         
01351         mAllowSlidingChBox =
01352             new CheckBox( TBar, 70, 21, "Sliding", true, 4);
01353         if (!mNoViewStripControl)
01354         {
01355             
01356             StaticText* vStripTxt =
01357                 new StaticText(TBar,160,21,"ViewStrip",false,true);
01358             vStripTxt->SetBorderType(BEV_ETCHED);
01359             InBoxButton(vStripTxt,62,32,"Pre",VIEWSTRIP_PRE);
01360             InBoxButton(vStripTxt,94,32,"Min",VIEWSTRIP_MIN);
01361             InBoxButton(vStripTxt,126,32,"Max",VIEWSTRIP_MAX);
01362         }
01363         new Strut(TBar,10,1);
01364         RectCheckBox(TBar,150,21,"Show Seg Shots",
01365                      CHBOX_SHOW_SEG_SHOTS); 
01366         RectCheckBox(TBar,160,21,"Show Thresh Shots",
01367                      CHBOX_SHOW_THRESH_SHOTS);
01368     }