Definition at line 1536 of file SegmentationDocumentGuiAnno.h. References BUT_BACK, BUT_FORW, BUT_NAV_BEGIN, BUT_NAV_END, BUT_NAV_MODE, Impala::Visualization::AppControlDoc::mKeyBindings, mNavModeBtn, mStepUpDown, OglGui::OglWindow::SetBorderType(), OglGui::Button::SetButtonListener(), OglGui::UpDownNumber::SetRange(), OglGui::Button::SetRepeatMode(), and OglGui::UpDownNumber::SetUpDownNumberListener(). Referenced by InitGUI(). 01537 { 01538 Button* but; 01539 char buf[40]; 01540 01541 OglGui::Window* navWnd = new OglGui::Window(this,270,24); 01542 // Navigation mode 01543 mNavModeBtn = new Button(navWnd,0,0,18,24,"R",4,true); 01544 mNavModeBtn->SetButtonListener(this,BUT_NAV_MODE); 01545 // To Start [HOME] 01546 but = new Button(navWnd,20,0,14, 24,"[",4,true); 01547 but->SetButtonListener(this,BUT_NAV_BEGIN); 01548 // Backward 01549 sprintf(buf,"Backward (%s)", mKeyBindings["annoBackward"].c_str()); 01550 but = new Button(navWnd,34,0,94,24,buf,4,true); 01551 but->SetButtonListener(this, BUT_BACK); 01552 but->SetRepeatMode(true); 01553 // StepSize 01554 mStepUpDown = new OglGui::UpDownNumber(navWnd,128,0,34,24,1,12,false,0); 01555 mStepUpDown->SetUpDownNumberListener(this); 01556 mStepUpDown->SetBorderType(BEV_ETCHED); 01557 mStepUpDown->SetRange(1,999); 01558 // Forward 01559 sprintf(buf,"Forward (%s)", mKeyBindings["annoForward"].c_str()); 01560 but = new Button(navWnd,162,0,94,24,buf,4,true); 01561 but->SetButtonListener(this, BUT_FORW); 01562 but->SetRepeatMode(true); 01563 // To End [END] 01564 but = new Button(navWnd,256,0,14,24,"]",4,true); 01565 but->SetButtonListener(this,BUT_NAV_END); 01566 }
Here is the call graph for this function:
|